[gentoo-user] Re: swap usage creeping up

2010-11-05 Thread walt

On 11/04/2010 11:45 PM, Iain Buchanan wrote:

OK so vm.swappiness seemed to help a bit but today I notice that swap
usage is up again.  It's firefox:

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
14072 iain  20   0 1369m 897m  15m S3 29.5 113:14.91 firefox

I think that's 1.3Gb + 900Mb... sounds like a memory leak to me.

Anyone else run firefox for 113+ hours?  I'm using 3.6.9-r1.


firefox is up to 3.6.12 now, with several important bug fixes, so I'd
suggest updating it.




[gentoo-user] Re: swap usage creeping up

2010-10-28 Thread James
Iain Buchanan iaindb at netspace.net.au writes:

 over the last week or so I've noticed unusually large swap usage.  I
 usually hibernate this laptop and have uptimes up to 12 days so apps can
 run for a long time.  

Hello Iain,

From a hardware guy; If you really need hibernate, use it.
No laptop was designed to stay powered on continuously
despite the features in software and hardware. The system will
collect more dust internally than if powered up and down. Heat
is EVIL on electronics no matter what you do. Power consumption
minimization (at this point in time) is still quite young
and there are all kinds of non published issues with all
sorts of memory and chips. Fans do not have the mtbf rates
any where near what the published times are for processors.

I could go on and on, but you get the point

If you need hibernate, use it. If you do not, your hardware
will last longer being powered down. Don't just hibernate or 
allow other users to do it, just because they are lazy. Several 
efforts are bearing fruit for fast (parallel) boot these days.


hth,
James





Re: [gentoo-user] Re: swap usage creeping up

2010-10-28 Thread Iain Buchanan
On Thu, 2010-10-28 at 16:13 +, James wrote:

 Hello Iain,

hey :)

 From a hardware guy; If you really need hibernate, use it.
 No laptop was designed to stay powered on continuously
 despite the features in software and hardware.
[snip]
 If you need hibernate, use it. If you do not, your hardware
 will last longer being powered down.
[snip]

er, hibernate IS powering down.  S3 powers off everything (Disks, CPU,
fans) but leaves a minimal amount of power to the solid-state
no-moveable-parts RAM.  S4 writes a bunch of stuff to disks and then
powers down just like a normal shut down (S5).  You can even take out
the battery (I even stripped an old laptop, removed the cpu, disks, heat
pipes, fans, and put it all back together on S4 and then resumed).  S4
can leave some bios function and power for WOL and other devices, but
it's not essential.

In fact S5 which every modern ATX computer does STILL leaves power to
USB, WOL, modems  keyboards, if required.

So when I say 12 day uptimes, this is calculated by the kernel since I
last rebooted, not since I last hibernated.  I'm not actually running
the laptop for 12 days continuously.  Although, IMHO, there's no
difference to a laptop or desktop in this regard.

Push it to the limits I say ;)
-- 
Iain Buchanan iaindb at netspace dot net dot au

serendipity, n.:
The process by which human knowledge is advanced.