Re: Linux 2.4.5-ac17

Tom Vier (tmv5@home.com)
Fri, 22 Jun 2001 18:40:40 -0400


On Fri, Jun 22, 2001 at 09:06:42AM +0200, Mike Galbraith wrote:
> 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

if it's pre-allocation, why does it show up as "used"? "reserved" would be a
better fit.

> 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

how long can swap allocation possibly take? certainly no where near as long
as a write to disk takes. my box has a half gig of ram, pre-allocation is a
waste of cpu. i never hit swap.

> memory demand rises, and you should see these pages migrating to disk
> and staying there.. buys you more working space.

-- 
Tom Vier <tmv5@home.com>
DSA Key id 0x27371A2C
-
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/