home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / 11946 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  3.0 KB

  1. Xref: sparky comp.graphics:11946 comp.sys.sgi:16508 comp.unix.misc:4200 comp.unix.questions:13484
  2. Newsgroups: comp.graphics,comp.sys.sgi,comp.unix.misc,comp.unix.questions
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
  4. From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
  5. Subject: Re: Interactive vs Background users
  6. Message-ID: <1992Nov16.194645.24617@cc.ic.ac.uk>
  7. Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
  8. Nntp-Posting-Host: cscgc
  9. Reply-To: cmaae47@imperial.ac.uk
  10. Organization: Imperial College of Science, Technology and Medicine
  11. References: <1dsh2fINNeok@manuel.anu.edu.au> <1992Nov13.042252.11811@kurango.cit.gu.edu.au>
  12. Date: Mon, 16 Nov 92 19:46:45 GMT
  13. Lines: 53
  14.  
  15. In article <1992Nov13.042252.11811@kurango.cit.gu.edu.au>, anthony@kurango.cit.gu.edu.au (Anthony Thyssen) writes:
  16. -
  17. - If you nice the background process (heavly) you will find that the 
  18. - backgroud program only runs when no other process is available.
  19. - IE: instead for running
  20. -       gaussian &
  21. - run
  22. -      nice -15 gaussian &
  23. - This puts the programs prioity very low. so if the machine is not busy
  24. - it will get run otherwise it will wait until the cpu is free.
  25.  
  26. Unfortunately, this does not work for workstations. If the background 
  27. application is uses a large virtual memory space and pages regularly, 
  28. the memory space of "idle" programs gets paged out. Try a matrix inversion
  29. by Gaussian elimination where the augmented matrix is more than 4 times real
  30. memory.
  31.  
  32. Whenever the user at the graphics console is in "think state", the processor
  33. will run the background job, even if its priority in the back-of-beyond.
  34. On Irix the kernel is locked into memory, you have a decent SCSI controller,
  35. (at least with the machines I know of, i.e. PI, 4D/3xx and Indigo) and a bit 
  36. of real memory is kept free for swapping, and the file system attempts to
  37. avoid fragmentation.
  38.  
  39. Thus when you start typing into vi or at the shell prompt, you will see 
  40. what you tye after about 10 characters at the latest, and that with a 
  41. furiously paging job in the background.
  42.  
  43. On some other machines I don't have any problem demonstrating a one minute 
  44. type-behind (!) with a background job that uses 3% to 5% of processing time 
  45. with more than 90% idle time in the system.
  46.  
  47. One minute type-behind means you type "date" into a window and you see the echo 
  48. a minute later, with the output being delivered in due course.
  49.  
  50. The other problem with running jobs at low priority is that they use up virtual
  51. memory, with the dreaded effect of getting the Xsgi server killed when a 
  52. substantial X applications starts.
  53.  
  54.                                      Thomas
  55.  
  56. -- 
  57. *** This is the operative statement, all previous statements are inoperative.
  58. *   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
  59. *   voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
  60. *   snail: Imperial College of Science, Technology and Medicine
  61. *   The Center for Computing Services, Kensington SW7 2BX, Great Britain
  62.