home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / misc / 4135 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.6 KB

  1. Xref: sparky comp.unix.misc:4135 comp.unix.questions:13338 comp.sys.sgi:16371 comp.graphics:11835
  2. Newsgroups: comp.unix.misc,comp.unix.questions,comp.sys.sgi,comp.graphics
  3. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!griffin!kurango!anthony
  4. From: anthony@kurango.cit.gu.edu.au (Anthony Thyssen)
  5. Subject: Re: Interactive vs Background users
  6. Message-ID: <1992Nov13.042252.11811@kurango.cit.gu.edu.au>
  7. Organization: Griffith University, Brisbane, Australia.
  8. References: <1dsh2fINNeok@manuel.anu.edu.au>
  9. Date: Fri, 13 Nov 92 04:22:52 GMT
  10. Lines: 30
  11.  
  12. aps583@huxley.anu.edu.au (Anthony P Scott) writes:
  13. |  The problem is that they are only used
  14. | for a small part of the day and certainly not at night. WE wish to
  15. | soak up the excess CPU cycles by running GAUSSIAN and other cpu
  16. | intensive programs in the background.
  17. |
  18. | Unfortunately when an interactive user comes along the terminal response
  19. | is terrible, they get  upset and we are forced to kill the background
  20. | proccess.
  21. |
  22. If you nice the background process (heavly) you will find that the 
  23. backgroud program only runs when no other process is available.
  24.  
  25. IE: instead for running
  26.  
  27.       gaussian &
  28.  
  29. run
  30.  
  31.      nice -15 gaussian &
  32.  
  33.  
  34. This puts the programs prioity very low. so if the machine is not busy
  35. it will get run otherwise it will wait until the cpu is free.
  36.  
  37.  
  38.   Anthony Thyssen - (SysProg @ Griffith University)     anthony@cit.gu.edu.au
  39. ------------------------------------------------------------------------------
  40.           ``Never argue with a computer.''   --   Avon, Blake's 7
  41. ------------------------------------------------------------------------------
  42.