Rik van Riel writes:
> > Watch top: when this program needs the memory that kswapd keep
> > in cache they go both at 100% cpu (on SMP) but still the size of
> > the program only grows at about 100KB/s, why is kswapd releasing
> > it so slowly and taking so much CPU ?
>
> Because kswapd sti
On Wed, 18 Apr 2001, Laurent Chavet wrote:
> Try this (my example I've 2GB of ram)
>
> turn all your swap off
>
> dd about 15% of the size of your RAM:
> dd if=/dev/zero of=/local/test count=300 bs=100
>
> Run this program with SIZE about 95% of your RAM:
>
> #include
> #include
> #include
Try this (my example I've 2GB of ram)
turn all your swap off
dd about 15% of the size of your RAM:
dd if=/dev/zero of=/local/test count=300 bs=100
Run this program with SIZE about 95% of your RAM:
#include
#include
#include
#define SIZE (1900 * 1024 * 1024)
int main()
{
int i;
char
3 matches
Mail list logo