Messages in this thread Patch in this message | | | Date | Mon, 20 Aug 2001 17:40:04 +0200 (CEST) | From | Mike Galbraith <> | Subject | Re: 2.4.8/2.4.9 VM problems |
| |
On Sun, 19 Aug 2001, Daniel Phillips wrote:
> On August 17, 2001 03:10 pm, Frank Dekervel wrote: > > Hello, > > > > since i upgraded to kernel 2.4.8/2.4.9, i noticed everything became noticably > > slower, and the number of swapins/swapouts increased significantly. When i > > run 'vmstat 1' i see there is a lot of swap activity constantly when i am > > reading my mail in kmail. After a fresh bootup in the evening, i can get > > everything I normally need swapped out by running updatedb or ht://dig. When > > i do that, my music stops playing for several seconds, and it takes about 3 > > seconds before my applications repaint when i switch back to X after an > > updatedb run. > > the last time that happent (and the last time i had problems with VM at all) > > was in 2.4.0-testXX so i think something is wrong ... > > is it possible new used_once does not work for me (and drop_behind used to > > work fine) ? > > > > My system configuration : athlon 750, 384 meg ram, 128 meg swap, XFree4.1 and > > kde2.2. > > Could you please try this patch against 2.4.9 (patch -p0):
Hi Daniel,
I've been having some troubles which also seem to be use_once related. (bonnie rewrite test induces large inactive shortage, and some nasty IO seizures during write intelligently test. [grab window/wave it and watch it not move for couple seconds])
I'll give your patch a shot. In the meantime, below is what I did to it here. I might have busted use_once all to pieces ;-) but it cured my problem, so I'll show it anyway.
-Mike
--- mm/filemap.c.org Mon Aug 20 17:25:20 2001 +++ mm/filemap.c Mon Aug 20 17:25:50 2001 @@ -980,7 +980,7 @@ static inline void check_used_once (struct page *page) { if (!PageActive(page)) { - if (page->age) + if (page->age > PAGE_AGE_START) activate_page(page); else { page->age = PAGE_AGE_START; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |