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