1 |
Okay I am getting suspicious of tuxonice. Setting swappiness to zero |
2 |
does not mean kernel wont use any swap but it should not be prefering |
3 |
swap over ram when 2G of ram is out there either. |
4 |
|
5 |
Just out of curiosity, can you find out which app(s) being swapped ? |
6 |
|
7 |
I would give a try to gentoo-sources and see if the issue can be reproduced. |
8 |
|
9 |
On 15/11/2010, Iain Buchanan <iaindb@××××××××××××.au> wrote: |
10 |
> On Mon, 2010-11-15 at 10:41 +0200, Fatih Tümen wrote: |
11 |
>> On Mon, Nov 15, 2010 at 07:09, Iain Buchanan <iaindb@××××××××××××.au> |
12 |
>> wrote: |
13 |
> |
14 |
>> > sure, but running it for 10 or 100 or 1000 hours should produce roughly |
15 |
>> > the same characteristics for the same browsing behaviour if all other |
16 |
>> > things are equal. A few months ago this didn't cause any issues at all, |
17 |
>> > now I'm seeing high swap usage. I usually never use my 3G of physical |
18 |
>> > RAM. |
19 |
>> > |
20 |
>> |
21 |
>> Can you recall what significant change have you made to the system? |
22 |
>> For emerged packages you can try smth like genlop --list --date 1 |
23 |
>> month ago and then check against the versions upgraded from. |
24 |
> |
25 |
> sure, only EVERYthing has been updated... including firefox and the |
26 |
> kernel! |
27 |
> |
28 |
>> > Again today I see it is using about 900Mb in total, which seems quite |
29 |
>> > large. vm.swappiness is set to 0. I've upgraded firefox to 3.6.12. |
30 |
>> > |
31 |
>> > I had to reboot, but I'll check the usual statistics next time I see it. |
32 |
>> > |
33 |
>> |
34 |
>> You say swappiness is set to 0 but dont give any swap usage info. |
35 |
> |
36 |
> that's cause I had to reboot and swap was back to 0. |
37 |
> |
38 |
>> If |
39 |
>> there is any swap usage while swapiness is 0 then it would be weird |
40 |
>> and we could blame it on the kernel. |
41 |
> |
42 |
> _any_ swap usage? right now I'm using 110Mb of swap with 1.8Gb free |
43 |
> physical RAM and vm.swapiness is 0! |
44 |
> |
45 |
> $ free -m |
46 |
> total used free shared buffers cached |
47 |
> Mem: 3040 1206 1834 0 61 246 |
48 |
> -/+ buffers/cache: 898 2142 |
49 |
> Swap: 494 110 383 |
50 |
> |
51 |
> |
52 |
> $ cat /proc/sys/vm/swappiness |
53 |
> 0 |
54 |
> |
55 |
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
56 |
> |
57 |
> 3192 iain 20 0 554m 204m 27m S 9 6.7 26:31.94 firefox |
58 |
> |
59 |
> |
60 |
> |
61 |
>> I just googled mem usage firefox as I am running out of ideas. |
62 |
> |
63 |
> but thanks for the suggestions anyway :) I'll keep googling! |
64 |
> |
65 |
> -- |
66 |
> Iain Buchanan <iaindb at netspace dot net dot au> |
67 |
> |
68 |
> Allen's Axiom: |
69 |
> When all else fails, read the instructions. |
70 |
> |
71 |
> |
72 |
> |
73 |
|
74 |
-- |
75 |
Sent from my mobile device |
76 |
|
77 |
-- |
78 |
Fatih |