In linux.kernel, you wrote:
> the OOM killer just killed some of my processes while the system
> still had >2.5 GB of free swap. I'm running vanilla 2.6.15 on my
> desktop. The machine is a single Athlon64, 1 GB RAM, 3 GB swap,
> x86_64 kernel, (mostly) i386 userland. A few days ago I have set
> /proc/sys/vm/swappiness to 0 to see whether it would increase the
> interactive performance.
I have to say I've noticed the same thing.
On my home workstation I do a lot of stuff with very large video
files, so set swappiness to 0 some time ago so using these large files
would stop all the applications getting pushed out into swap.
However I've noticed that ocassionally the kernel has killed large
memory processes (eg firefox!) even when there was lots of swap free.
Recently, I found I just could not use gimp to edit a very large image
(about 800MB on a 1 GB machine) without the OOM killer killing it.
When I reset swappiness to 60 I could then use gimp fine.
This doesn't seem like correct behaviour to me! (Though I note the
caveat I read somewhere that swappiness probably doesn't do what I
think it does - it probably doesn't!)
--
Nick Craig-Wood <[email protected]> -- http://www.craig-wood.com/nick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]