Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 09:07:19 +0200
From:      Patrick Lamaiziere <patfbsd@davenulle.org>
To:        Christof Schulze <christof.schulze@gmx.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: various kde programs spin in a poll/read loop against their respective config files
Message-ID:  <20090927090719.414ecf52@baby-jane.lamaiziere.net>
In-Reply-To: <200909261525.18608.christof.schulze@gmx.com>
References:  <200909261525.18608.christof.schulze@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Sat, 26 Sep 2009 15:25:17 +0200,
Christof Schulze <christof.schulze@gmx.com> a =E9crit :

> 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:
>=20
> stat("/home/erika/.kde4/share/apps/kwallet",{ mode=3Ddrwx------=20
> ,inode=3D56314,size=3D3,blksize=3D4096 }) =3D 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=20
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=3Dkded.upd:kde3.0

[DirWatch]
PollInterval=3D60000

(IMHO, for KDE issues you should ask on the kde-freebsd@kde.org mailing
list).

See also this thread :
http://mail.kde.org/pipermail/kde-freebsd/2009-September/006447.html

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090927090719.414ecf52>