lkml.org 
[lkml]   [2001]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4 VM & swap question
On Tue, 19 Jun 2001, Steve Kieu wrote:

> Just an information for you to compare, now I am
> running the kernel compile from mandrake 80; version
> 2.4.3-20mdk on a
> machine Intel celeron 400Mhz 128M RAM, i810 graphic
> card (it will use some memory) ; runing together
> Star Office 5.2, Netscape 4.77, Mozilla (shiped with
> LM80), compiling alsa driver and you may guess how
> much swap it used?
>
> [sk@steve sk]$ free
> total used free shared
> buffers cached
> Mem: 126108 124416 1692 0
> 604 51820
> -/+ buffers/cache: 71992 54116
> Swap: 72288 0 72288

Just a general note about swap preallocation: I've done truckloads of
experimentation over the last year or so, and it is generally true that
kernels which have an active swapcache prior to need perform much better
than those which don't at crunch time.

It's also generally true that kernels which actually page very lightly
before crunchtime react sooner/better to crunch. I hate to see swap
totally untouched because I then know full well that I have a bunch
of totally inactive but plugged up ram pages. (If you have too much
ram, that doesn't matter :)

-Mike

-
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/

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