Re: Questions regarding Linux swapping.

Marnix Coppens (maco@telindus.be)
Tue, 03 Aug 1999 10:01:20 +0200


Robert de Bath <http://poboxes.com/rdebath> wrote:
>
>What I used to do was force everything out just after boot and let the
>kernel page it back in:
>
>dd bs=32768k count=1 if=/dev/zero of=/dev/null
>
>but that's been optimised away now, now you have to use:
> ^^^^^^^^^^^^^^
>
>cat /dev/zero | dd ibs=1k count=32768 obs=32768k of=/dev/null
>
#include "confession_of_ignorance.h"

What exactly do you mean by that? Is it some sort of buffer/cache
change in the latest kernels or something?

Cheers,

Marnix Coppens

---
Reality is that which                   | Artificial Intelligence
when you stop believing                 | stands no chance against
in it doesn't go away. (Philip K. Dick) | Natural Stupidity.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/