public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.4.8/2.4.9 VM problems
@ 2001-08-20 16:13 Benjamin Redelings I
  2001-08-20 17:02 ` Rik van Riel
  2001-08-20 19:32 ` Daniel Phillips
  0 siblings, 2 replies; 29+ messages in thread
From: Benjamin Redelings I @ 2001-08-20 16:13 UTC (permalink / raw)
  To: linux-kernel, linux-mm

Daniel Phillips wrote:
> Could you please try this patch against 2.4.9 (patch -p0):
> 
> --- ../2.4.9.clean/mm/memory.c	Mon Aug 13 19:16:41 2001
> +++ ./mm/memory.c	Sun Aug 19 21:35:26 2001
> @@ -1119,6 +1119,7 @@
>  			 */
>  			return pte_same(*page_table, orig_pte) ? -1 : 1;
>  		}
> +		SetPageReferenced(page);
>  	}
>  
>  	/*
> 


Well, I tried this, and.... WOW!  Much better  [:)]
Was it really true, that swapped in pages didn't get marked as 
referenced before?  It almost felt that bad, but that seems kind of 
crazy - I don't completely understand what this fix is doing...

-BenRI
P.S. I tried this on my 64Mb PPro and a 128Mb PIII, and both felt like 
they had a lot more memory - e.g. less swapping and stuff.
-- 
"I will begin again" - U2, 'New Year's Day'
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/


^ permalink raw reply	[flat|nested] 29+ messages in thread
* 2.4.8/2.4.9 VM problems
@ 2001-08-17 13:10 Frank Dekervel
  2001-08-19 21:00 ` Daniel Phillips
  0 siblings, 1 reply; 29+ messages in thread
From: Frank Dekervel @ 2001-08-17 13:10 UTC (permalink / raw)
  To: linux-kernel

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.

Greetings,
Frank

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2001-08-21  5:14 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-20 16:13 2.4.8/2.4.9 VM problems Benjamin Redelings I
2001-08-20 17:02 ` Rik van Riel
2001-08-20 20:13   ` Daniel Phillips
2001-08-20 19:32 ` Daniel Phillips
2001-08-20 21:38   ` Rik van Riel
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17 13:10 Frank Dekervel
2001-08-19 21:00 ` Daniel Phillips
2001-08-20 15:40   ` Mike Galbraith
2001-08-20 17:10     ` Daniel Phillips
2001-08-20 19:14       ` Mike Galbraith
2001-08-20 20:34         ` Daniel Phillips
2001-08-20 19:12           ` Marcelo Tosatti
2001-08-20 21:40             ` Daniel Phillips
2001-08-20 20:08               ` Marcelo Tosatti
2001-08-20 20:16                 ` Marcelo Tosatti
2001-08-20 22:54                   ` Daniel Phillips
2001-08-20 21:50                     ` Marcelo Tosatti
2001-08-20 23:29                       ` Daniel Phillips
2001-08-20 22:05                         ` Marcelo Tosatti
2001-08-20 23:54                           ` Daniel Phillips
2001-08-21  1:55                             ` Rik van Riel
2001-08-21  3:51                               ` Daniel Phillips
2001-08-21  3:58                                 ` Rik van Riel
2001-08-21  4:11                                   ` Daniel Phillips
2001-08-21  4:08                                     ` Rik van Riel
2001-08-20 21:44               ` Rik van Riel
2001-08-20 22:47                 ` Daniel Phillips
2001-08-21  4:52           ` Mike Galbraith
2001-08-21  5:14             ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox