lkml.org 
[lkml]   [2001]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.5-ac17
On Thu, 21 Jun 2001, Tom Vier wrote:

> i having some strange vm behavour with -ac17 that didn't happen with -ac14
> (i haven't tried 15 or 16). it starts swapping even when i have hundreds of
> megs of free ram. [...]
>
> vmstat:
> procs memory swap io system cpu
> r b w swpd free buff cache si so bi bo in cs us sy id
> 1 0 0 2864 408488 2488 67080 0 0 216 28 1052 470 83 4 13

Hi,

It's not actually swapping unless you see IO (si/so). It's allocating
swap space, but won't send pages out to disk unless there's demand. One
benefit of this early allocation is that idle pages will be identified
prior to demand, and will be moved out of the way sooner. Watch as
memory demand rises, and you should see these pages migrating to disk
and staying there.. buys you more working space.

-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    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site