[lkml]   [1997]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux VM subsystem (Was: Big mallocs, mmap sorrows and double buffering.)
In article <> you wrote:
: A.N.Kuznetsov wrote:
: > Linux vm manager is the dumbest one in the world 8)8)
: > I tested my program on SunOS-4, SunOS-5, FreeBSD and Digital Unix,
: > Linux's VM looks really pathetic.

: What exactly is missing/misdesigned?

As I understand, Linux always makes random page swapouts,
that is ideal (though I am not sure) for desktop
applications. But for applications running in background
and using large volumes of virtual memory this algorithm breaks.
Linux practically does not coalesce swapins/swapouts.

When I "swap" by hands, I get performance close to one
achieved by kernel swapping algorithm used by SounOSes and Digital
(It is difficult to compare results on different hardware,
so that I compare curves performance(used virtual memory)).
It allows to conclude, that other unices use an adaptive
swapping algorithm. It would be very interesting to understand
why FreeBSD wins, but studying BSD sources is pretty boring business.

Alexey Kuznetsov.

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