From owner-freebsd-stable@FreeBSD.ORG Sun Sep 27 07:07:24 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC86C106566B for ; Sun, 27 Sep 2009 07:07:24 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id B0A368FC18 for ; Sun, 27 Sep 2009 07:07:24 +0000 (UTC) Received: from baby-jane.lamaiziere.net (106.10.87-79.rev.gaoland.net [79.87.10.106]) by smtp.lamaiziere.net (Postfix) with ESMTPA id D6469633366; Sun, 27 Sep 2009 09:07:22 +0200 (CEST) Received: from baby-jane.lamaiziere.net (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id E9C55BA05; Sun, 27 Sep 2009 09:07:20 +0200 (CEST) Date: Sun, 27 Sep 2009 09:07:19 +0200 From: Patrick Lamaiziere To: Christof Schulze Message-ID: <20090927090719.414ecf52@baby-jane.lamaiziere.net> In-Reply-To: <200909261525.18608.christof.schulze@gmx.com> References: <200909261525.18608.christof.schulze@gmx.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: various kde programs spin in a poll/read loop against their respective config files X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 07:07:25 -0000 Le Sat, 26 Sep 2009 15:25:17 +0200, Christof Schulze 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.