[kde-freebsd] High CPU usage (14%) by kdeinit4 in KDE 4.4.2

Kalum S kalum_slk at gmx.com
Fri Apr 9 13:07:06 CEST 2010


On Thu, 8 Apr 2010 23:30:27 +0200
Olivier Smedts <olivier at gid0.org> wrote:

> There's a patch to enable FAM which greatly reduces cpu load. Please
> search in archives, It's not the first time I see the same thread.

Thanks very much, the patch is already in the x11/kde4libs directory,
but FAM is disabled by default. All i had to do was to edit the
Makefile and enable fam as follows.


--- ../backup/kdelibs4/Makefile     2010-04-09 05:01:15.396909861 
+++ Makefile    2010-04-09 14:37:03.660698253 
@@ -63,8 +63,9 @@
 USE_GNOME=     libxml2 libxslt
 MAKE_JOBS_SAFE=        yes
 
-CMAKE_ARGS+=   -DWITH_FAM:BOOL=Off \
-               -DWITH_ACL:BOOL=Off
+USE_FAM=       yes
+
+CMAKE_ARGS+=   -DWITH_ACL:BOOL=Off

Now it works perfectly, kdeinit4 consumes 0% cpu and I am happy. I
don't know why FAM isn't enabled by default for kdelibs4.

Grendel


More information about the kde-freebsd mailing list