home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vtserf!black-ice.cc.vt.edu!valdis
- From: valdis@black-ice.cc.vt.edu (Valdis Kletnieks)
- Newsgroups: comp.unix.aix
- Subject: Re: AIX 3.2.3 on RS/6000-560 - strange scheduler behavior
- Message-ID: <10384@vtserf.cc.vt.edu>
- Date: 11 Dec 92 21:06:48 GMT
- References: <10325@vtserf.cc.vt.edu> <Bz3v18.12Eu@austin.ibm.com>
- Sender: news@vtserf.cc.vt.edu
- Organization: Virginia Tech, Blacksburg, VA
- Lines: 30
-
- In article <Bz3v18.12Eu@austin.ibm.com> chukran@austin.vnet.ibm.com(Rudy Chukran) writes:
- >Your only option is to play with schedtune. If you try to raise the
- >priority of "favored processes", what will likely happen is that they
- >will get suspended sooner.
-
- After some playing with schedtune and the various knobs, it looks like
- '-m 15' is the flag that I needed - the system is now running 20 copies
- of the thrasher program, and paging at about 50/sec, but character echo
- is stable at very fast, and trivial things like 'ls' are now down into
- the 1-5 second wait time.
-
- The problem was apparently the system falling into a pathological
- endpoint on the algorithms. With 512M of memory, it was possible for
- 12 or 14 copies of the program to be fully resident. So the *other*
- 5 would cause the system to thrash, and the default "-m 2" value
- would cause essentiall the world to become suspended. As things
- came off the suspend list, they'd drive the memory overcommit back
- up, and everything went back into suspension. So the end result
- was that at any given time, all 2 of the processes that weren't suspended
- were number crunchers, and interactive shells were *all* suspended.
-
- >If that doesnt work, then turn off loadcontrol again, and start messing
- >with priorities. Try kicking up the priorites of the favored processes
- >with either nice or setpri. You will have to be root to increase
- >priorities in this manner.
-
- Fortunately, I get to avoid doing that... Would have been a pain to
- try to enforce a "all login shells have a higher priority"..
-
- /Valdis
-