[wellylug] [Fwd: Re: ubuntu load average]

Colin Templeman wellylug at biker.geek.nz
Thu Jan 22 02:32:36 NZDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Atom Smasher wrote:

> guilty!
>   4873 ?     D    0:00 hald-addon-storage: polling /dev/scd0 (every 2 sec)
>
> i can kill that process (i was surprised that it died without a fight,
> being in "uninterruptible" sleep) and the load average quickly dropped to
> <0.05. much better.


On this subject, a posting from the Powertop newsgroup arrived in my inbox only
today:


- -------- Original Message --------
Subject: hald-addon-storage
Date: Tue, 20 Jan 2009 08:34:52 +0100
From: Magnus Fromreide <magfr at lysator.liu.se>
To: power at bughost.org

"Powertop suggests to kill hald-addon-storage to stop it from polling the
CD drive, the problem is that the method it suggests
(hal-disable-polling --device /dev/cdrom) fails to stop
hald-addon-storage from waking up regularly.

I have found that adding the following as
as /etc/hal/fdi/policy/20-storage-methods.fdi turns off
hald-addon-storage.

Should powertop be updated to suggest this instead of the current
command?

- --- /etc/hal/fdi/policy/20-storage-methods.fdi ---
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="storage.removable" bool="true">
      <remove key="info.addons" type="strlist">hald-addon-storage</remove>
    </match>
  </device>
</deviceinfo>
- --- END OF FILE ---"




- --
Colin Templeman
On Tour in the UK

"Teach it Phenomenology, Doolittle".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkl3I/QACgkQJOjxG8LIk3iGLACfXIXb+r0C/aDoGbjcWquGfyLw
AegAn0xVcH7tWLjeEMSUUZUWhMOU2vuu
=pq34
-----END PGP SIGNATURE-----



More information about the wellylug mailing list