Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!bob@ucla-locus From: bob@ucla-locus@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: p_nice, and scheduling - (nf) Message-ID: <4240@sri-arpa.UUCP> Date: Tue, 16-Aug-83 12:50:05 EDT Article-I.D.: sri-arpa.4240 Posted: Tue Aug 16 12:50:05 1983 Date-Received: Thu, 18-Aug-83 05:56:33 EDT Lines: 16 From: Bob English I suspect that nice works fine as long as you have sufficient real memory to prevent excessive swapping. On systems where memory is scarce, not only doesn't it help, it promotes thrashing. The scenario runs like this: 1) A large, niced program doesn't run for a while, and gets swapped out. 2) The scheduler notices that nobody's running (it only takes a moment), and decides to swap the program back in. 3) Once in, the program gets pre-empted and swapped back out. That's wha happened on our 11/45 under v7, anyway. --bob--