[kde-freebsd] FAM-Support (was: High CPU usage (14%) by kdeinit4 in KDE 4.4.2)
Hannes
lists_kde-freebsd at soulrebel.in-berlin.de
Thu Apr 15 12:21:07 CEST 2010
On a first note: Are you sure it works? Without any fam/gamin CPU-usage
goes down aswell and everything works (beit it a little slower).
If this actually does work, wouldn't it be good to check if
WITH_FAM_SYSTEM is set to fam and than automatically do the below? Other
ports check this variable...
Regards,
Hannes
Am Freitag, 9. April 2010 13:07:06 schrieb Kalum S:
> 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
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
> See also http://freebsd.kde.org/ for latest information
>
More information about the kde-freebsd
mailing list