[kde-freebsd] QFilesSystemWatcher instead of polling/FAM

Alberto Villa avilla at freebsd.org
Mon Aug 23 23:51:31 CEST 2010


On Monday 09 August 2010 11:01:56 Tijl Coosemans wrote:
> I've attached what I believe to be the final version of the kdelibs
> patch. It uses polling by default for NFS mounts now and fixes a few
> other things. Unless someone finds a problem with it, I'll submit that
> as well.

hey tijl, thanks for working on this!

but... i've applied the patches (attached... the kde one was rewritten 
for kde 4.5 by dima) to my system and the performance is terrible

some (maybe useless) details:
CPU: Intel(R) Core(TM) Duo CPU      T2300  @ 1.66GHz
real memory  = 1610612736 (1536 MB)
FreeBSD echo.hoth 9.0-CURRENT FreeBSD 9.0-CURRENT #4 r211492: 
Thu Aug 19 23:52:10 CEST 2010     
root at echo.hoth:/usr/obj/usr/src/sys/TPR60  i386
qt-4.7.0.b2
kde-4.5.0
just for reference... i don't have any NFS mount
i don't think anything's missing...

what happens:
lots of processes go into kqread and ucond (which, i've understood, is 
related to i/o) statuses, and long time passes before they're still 
usable, just like (snapshot taken right now)...
- ucond   1   2:38  1.46% kdeinit4: kdeinit4: konqueror --silent 
(kdeinit4)
- kqread  1   1:45  0.10% /usr/local/kde4/bin/kontact
- ucond   0   1:33  0.00% /usr/local/kde4/bin/amarok
- ucond   0   0:39  0.00% /usr/local/bin/virtuoso-t +foreground 
+configfile /tmp/vir
- kqread  0   0:23  0.00% kdeinit4: kdeinit4: kmix (kdeinit4)
- ucond   0   0:17  0.00% /usr/local/kde4/bin/nepomukservicestub 
nepomukstrigiservic
- kqread  0   0:14  0.00% kwin (this one makes the whole system 
completely unusable)
- kqread  1   0:03  0.00% kdeinit4: kdeinit4: krunner --nocrashhandler 
(kdeinit4)
- ucond   1   0:02  0.00% /usr/local/kde4/bin/knotify4
- kqread  0   0:02  0.00% /usr/local/kde4/bin/konversation -caption 
Konversation -ic
- kqread  0   0:01  0.00% kdeinit4: kdeinit4: kwalletd (kdeinit4)
- kqread  0   0:01  0.00% /usr/local/kde4/bin/nepomukservicestub 
nepomukontologyload

i know less than zero on this matter, so, please, let me know how can i 
be more useful :)
-- 
Alberto Villa, FreeBSD Committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

No woman can endure a gambling husband, unless he is a steady 
winner.
		-- Lord Thomas Robert Dewar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-kdecore_io_kdirwatch2
Type: text/x-patch
Size: 4075 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100823/c3adce17/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-corelib-kqueue
Type: text/x-patch
Size: 4847 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100823/c3adce17/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100823/c3adce17/attachment.sig 


More information about the kde-freebsd mailing list