Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216679

Summary: x11-drivers/synaptics: syndaemon wakes cpu too often
Product: Gentoo Linux Reporter: Roland Tapken <gentoo>
Component: Current packagesAssignee: X11 External Driver Maintainers <x11-drivers>
Status: RESOLVED FIXED    
Severity: enhancement CC: gentoobugzilla, ixevix
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
Novell patch

Description Roland Tapken 2008-04-07 10:28:09 UTC
Using powertop I found out that syndaemon wakes up the CPU very often. It uses a polling interval of 20ms. The patch at http://support.zenwalk.org/viewtopic.php?f=5&t=12979 increases this time to 200ms which should be sufficient. Maybe this could be added to the ebuild with an "incpoll"-useflag?

Reproducible: Always
Comment 1 Tom Kirchner 2008-06-30 03:01:08 UTC
The patch at the Novell bugzilla allows for a configurable polling interval, which would be a better option.  https://bugzilla.novell.com/show_bug.cgi?id=386709
Comment 2 Krister Bäckman 2008-07-18 13:52:46 UTC
Created attachment 160725 [details]
emerge info

The Novell patch works well and with a setting of syndaemon -m 500 I can lower the number of wakeups from it. I tried this on x86 architecture by applying the patch to the synaptics-0.14.6 ebuild.
Comment 3 Krister Bäckman 2008-07-18 14:10:16 UTC
Created attachment 160726 [details]
Novell patch
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-07-30 13:13:09 UTC
+*synaptics-0.14.6-r3 (30 Jul 2008)
+
+  30 Jul 2008; Samuli Suominen <drac@gentoo.org>
+  +files/synaptics-0.14.6-configurable_polling_interval.patch,
+  +synaptics-0.14.6-r3.ebuild:
+  Apply configurable polling interval patch from Novell so that syndaemon
+  doesn't wake up CPU so often. Bug 216679, thanks to Roland Tapken, Thomas
+  Kirchner and Krister Bäckman.