Re: Can't make use of swap memory in 2.6.7-bk19

Peter Osterlund
2004-07-08T09:30:53Z

On Thu, 8 Jul 2004, Nick Piggin wrote:

> Andrew Morton wrote:
> > Peter Osterlund <petero2@telia.com> wrote:
>
> >>Doesn't help. My test program still fails in the same way.
> >
> > Something odd is happening - I've run that testcase in various shapes and
> > forms a huge number of times.
> >
> > What filesystems are in use? Is there anything unusual about the setup?
> > Do earlier 2.6 kernels exhibit the same problem? Is something wrong with
> > the disk system?

I use only ext3, the disc system is working fine AFAIK. 2.6.7-bk10 has the
same problem, 2.6.7-bk2 completes the test case, but it takes 50-70s, and
the system is completely frozen until the program finishes.

> Also, have you changed /proc/sys/vm/swappiness?

swappiness is set to 60.

However, I realized that I had set /proc/sys/vm/laptop_mode to 1. If I set
it to 0, 2.6.7-bk10 starts to work.

--
Peter Osterlund - petero2@telia.com