From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3AE1DCA8.A6EF6802@earthlink.net> Date: Sat, 21 Apr 2001 13:16:56 -0600 From: "Joseph A. Knapka" MIME-Version: 1.0 Subject: Re: suspend processes at load (was Re: a simple OOM ...) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: "James A. Sutherland" Cc: linux-mm@kvack.org List-ID: "James A. Sutherland" wrote: > > Note that process suspension already happens, but with too fine a > granularity (the scheduler) - that's what causes the problem. If one > process were able to run uninterrupted for, say, a second, it would > get useful work done, then you could switch to another. The current > scheduling doesn't give enough time for that under thrashing > conditions. This suggests that a very simple approach might be to just increase the scheduling granularity as the machine begins to thrash. IOW, use the existing scheduler as the "suspension scheduler". -- Joe -- "If I ever get reincarnated... let me make certain I don't come back as a paperclip." -- protagonist, H Murakami's "Hard-boiled Wonderland" // Linux MM Documentation in progress: // http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html * Evolution is an "unproven theory" in the same sense that gravity is. * -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/