various kde programs spin in a poll/read loop against their
respective config files
Patrick Lamaiziere
patfbsd at davenulle.org
Sun Sep 27 07:07:25 UTC 2009
Le Sat, 26 Sep 2009 15:25:17 +0200,
Christof Schulze <christof.schulze at gmx.com> a écrit :
> Hello everyone,
Hi,
> the discussion in -current and the behavior of my hard disk caused me
> to investigate. Whenever kde programs are run on this system, the
> hard disk will not spin down (even when excessive timeouts for syncs
> are in effect) So I ran truss against kwallet and plasma-desktop to
> find out they do the same thing:
>
> stat("/home/erika/.kde4/share/apps/kwallet",{ mode=drwx------
> ,inode=56314,size=3,blksize=4096 }) = 0 (0x0)
> Shouldn't this be handled by fam/gamin in order to avoid this
> overhead? While it does not produce notable load it prevents my
> processor from saving power as well as spinning down the disks.
KDE with fam is broken, according to
http://wiki.freebsd.org/KDE4
A work-around is to change the PollInterval in kdedrc
baby-jane:~$ less .kde4/share/config/kdedrc
[$Version]
update_info=kded.upd:kde3.0
[DirWatch]
PollInterval=60000
(IMHO, for KDE issues you should ask on the kde-freebsd at kde.org mailing
list).
See also this thread :
http://mail.kde.org/pipermail/kde-freebsd/2009-September/006447.html
Regards.
More information about the freebsd-stable
mailing list