public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MM patches (was Re: why swap at all?)
@ 2004-05-31 15:48 Zoltan Boszormenyi
  0 siblings, 0 replies; 7+ messages in thread
From: Zoltan Boszormenyi @ 2004-05-31 15:48 UTC (permalink / raw)
  To: linux-kernel

> http://www.kerneltrap.org/~npiggin/nickvm-267r1m1.gz
> 
> It is a cocktail of cleanups, simplification, and enhancements. The
> main ones that applie here is my split active lists patch (search
> archives for details), and explicit use-once logic.

Works good, a vmware session (WinME on a simulated 128MB machine)
does not disturb two open mozillas for two different logged in users,
both using GNOME-2.4 on FC1 system.

Kernel is 2.6.7-rc1-mm1 + your patch + linuxconsole.sf.net ruby.
The machine used about 230KB swap. 512MB DRAM.

Best regards,
Zoltán Böszörményi



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: why swap at all?
@ 2004-05-28 22:28 Bernd Eckenfels
  2004-05-29  7:31 ` Denis Vlasenko
  0 siblings, 1 reply; 7+ messages in thread
From: Bernd Eckenfels @ 2004-05-28 22:28 UTC (permalink / raw)
  To: linux-kernel

In article <200405290037.17775.vda@port.imtp.ilyichevsk.odessa.ua> you wrote:
>> The benchmark involved was ls.  It took several seconds.  If I ran it again
>> in 5 seconds or so, it was fine.  Much longer and it would take several
>> seconds again.  Sounds like pages getting evicted in LRU order.
> 
> By what magic system can know that you are going to do ls again
> in 2 minutes?

The problem is more about the blocks cp touches, less  about predicting the ls workload.

> cp should use fadvise() and say that it _really_ does not need those pages.

Yes, indeed. On the other hand the sequential read could be detected by the kernel, too.

Greetings
Bernd
-- 
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/

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

end of thread, other threads:[~2004-05-31 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-31 15:48 MM patches (was Re: why swap at all?) Zoltan Boszormenyi
  -- strict thread matches above, loose matches on Subject: below --
2004-05-28 22:28 why swap at all? Bernd Eckenfels
2004-05-29  7:31 ` Denis Vlasenko
2004-05-29  8:40   ` MM patches (was Re: why swap at all?) Nick Piggin
2004-05-29  8:46     ` Nick Piggin
     [not found]     ` <200405292014.23559.matt@lpbproductions.com>
2004-05-30  3:31       ` Nick Piggin
2004-05-31 13:13     ` Tvrtko A. Uršulin
2004-05-31 13:33       ` Con Kolivas
2004-05-31 17:34     ` Andy Lutomirski

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