[lkml]   [2001]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] vmtime and vm balancing

I installed this patch onto one of my pop3/imap servers in my farm, and it
crashed pretty hard today. I didn't get any crash data though, another
admin rebooted it. This was after approx. 24 hours uptime. My service log
shows load went absolutely through the roof, as high as 214, but memory
never got above 88%. I will give it another try on Monday, I don't want
any weekend issues to come up.


Josh Grebe
Senior Unix Systems Administrator
Primary Network, an MPower Company

On Tue, 27 Mar 2001, Ed Tomlinson wrote:

> Hi,
> The following patch introduces the idea of vmtime. vmtime is time as the
> vm percieves it. Its advanced by memory pressure, which in the end, works
> out to be the page allocation & reclaim rate. With this figure I attempt to solve
> two problems.
> First I slow down the background page scanning to the rate we are allocating
> pages. This means that an idle machine will not end up with all page ages
> equal nearly as quickly. It should also help prevent cases where kswapd
> eats too much cpu. The other effect should be to prevent or reduce some
> swap out spikes.
> Second, I add some slab cache pressure. Without the patch the icache and
> dcache will get shrunk in under extreme cases. From comments on mm
> list (and personal experience) the slab cache can grow and end up causing
> paging when it would make more sense to just shrink it. This also has
> oom implications since the size of the slab cache, and the possible space
> we can free from it, are not accounted for in the oom test. In any case
> the patch should help keep this storage under control. Are there any other
> parts of the slab cache we should think about shrinking?
> This has survived the night on my box with printk(s) in the if(s) to verify
> its actually working. It should apply to pre8 and ac25/ac26. The vmscan.c
> change made by ac26 should not hurt this patch but may make it age
> pages a bit more aggressivily.
> We need to find out if this helps. Reports on what effect this has would
> be very welcome. Rik has looked at the patch and wants to see some
> feedback...
> Comments on style or bugs very welcome.
[patch removed]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:21    [W:0.043 / U:5.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site