From: "Fatih Tümen" <fthtmn+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] swap usage creeping up
Date: Mon, 15 Nov 2010 17:26:11 +0200 [thread overview]
Message-ID: <AANLkTi=Ksquk-zC=5iWxZVhJmF9ADtzN4L0yQEO8=atU@mail.gmail.com> (raw)
In-Reply-To: <1289830476.3977.46.camel@localhost>
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 <iaindb@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 <iaindb@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
next prev parent reply other threads:[~2010-11-15 15:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 5:49 [gentoo-user] swap usage creeping up Iain Buchanan
2010-10-26 6:16 ` Adam Carter
2010-10-26 6:57 ` Iain Buchanan
2010-10-26 6:30 ` Fatih Tümen
2010-10-26 7:02 ` Iain Buchanan
2010-10-26 7:18 ` Fatih Tümen
2010-10-27 22:47 ` Iain Buchanan
2010-10-27 23:44 ` Neil Bothwick
2010-10-27 23:59 ` Dale
2010-10-28 1:12 ` Adam Carter
2010-10-28 3:56 ` Dale
2010-10-28 4:34 ` Adam Carter
2010-10-28 6:32 ` Dale
2010-11-05 6:45 ` Iain Buchanan
2010-11-05 13:48 ` [gentoo-user] " walt
2010-11-09 21:24 ` [gentoo-user] " Fatih Tümen
2010-11-15 5:09 ` Iain Buchanan
2010-11-15 8:41 ` Fatih Tümen
2010-11-15 14:14 ` Iain Buchanan
2010-11-15 15:26 ` Fatih Tümen [this message]
2010-11-15 23:43 ` Dale
2010-11-16 1:17 ` Iain Buchanan
2010-10-26 7:10 ` Dale
2010-10-28 16:13 ` [gentoo-user] " James
2010-10-28 23:26 ` Iain Buchanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=Ksquk-zC=5iWxZVhJmF9ADtzN4L0yQEO8=atU@mail.gmail.com' \
--to=fthtmn+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox