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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to