Re: memory usage - continued - iCache/Dentry cacheing bug???

John Jasen (jjasen1@umbc.edu)
Wed, 11 Apr 2001 10:31:28 -0400


On Wed, 11 Apr 2001, Marcin Kowalski wrote:

> I then do a swapoff /dev/sda3 (250mb used), this completely locks the machine
> for 50 seconds and pushes the load to 31 when I can log back in. Then
> micraculously I am using only 170mb of physical ram. I turn swap back on and
> all is well....
> Can anyone please explain this odd behaviour.. ???
> Below is a free after this whole debacle..:::

another cute way of clearing memory is to do a:

dd if=/dev/hda of=/dev/null bs=<total memory> count=1

this will push some stuff into swap; but ...

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