Okay I am getting suspicious of tuxonice. Setting swappiness to zero does not mean kernel wont use any swap but it should not be prefering swap over ram when 2G of ram is out there either.
Just out of curiosity, can you find out which app(s) being swapped ? I would give a try to gentoo-sources and see if the issue can be reproduced. On 15/11/2010, Iain Buchanan <iai...@netspace.net.au> wrote: > On Mon, 2010-11-15 at 10:41 +0200, Fatih Tümen wrote: >> On Mon, Nov 15, 2010 at 07:09, Iain Buchanan <iai...@netspace.net.au> >> wrote: > >> > sure, but running it for 10 or 100 or 1000 hours should produce roughly >> > the same characteristics for the same browsing behaviour if all other >> > things are equal. A few months ago this didn't cause any issues at all, >> > now I'm seeing high swap usage. I usually never use my 3G of physical >> > RAM. >> > >> >> Can you recall what significant change have you made to the system? >> For emerged packages you can try smth like genlop --list --date 1 >> month ago and then check against the versions upgraded from. > > sure, only EVERYthing has been updated... including firefox and the > kernel! > >> > Again today I see it is using about 900Mb in total, which seems quite >> > large. vm.swappiness is set to 0. I've upgraded firefox to 3.6.12. >> > >> > I had to reboot, but I'll check the usual statistics next time I see it. >> > >> >> You say swappiness is set to 0 but dont give any swap usage info. > > that's cause I had to reboot and swap was back to 0. > >> If >> there is any swap usage while swapiness is 0 then it would be weird >> and we could blame it on the kernel. > > _any_ swap usage? right now I'm using 110Mb of swap with 1.8Gb free > physical RAM and vm.swapiness is 0! > > $ free -m > total used free shared buffers cached > Mem: 3040 1206 1834 0 61 246 > -/+ buffers/cache: 898 2142 > Swap: 494 110 383 > > > $ cat /proc/sys/vm/swappiness > 0 > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 3192 iain 20 0 554m 204m 27m S 9 6.7 26:31.94 firefox > > > >> I just googled mem usage firefox as I am running out of ideas. > > but thanks for the suggestions anyway :) I'll keep googling! > > -- > Iain Buchanan <iaindb at netspace dot net dot au> > > Allen's Axiom: > When all else fails, read the instructions. > > > -- Sent from my mobile device -- Fatih