Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216679 - x11-drivers/synaptics: syndaemon wakes cpu too often
Summary: x11-drivers/synaptics: syndaemon wakes cpu too often
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 10:28 UTC by Roland Tapken
Modified: 2008-07-30 13:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge.info,3.53 KB, text/plain)
2008-07-18 13:52 UTC, Krister Bäckman
Details
Novell patch (bug-386709_synaptics-0.14.6-poll-delay.patch,1.84 KB, text/plain)
2008-07-18 14:10 UTC, Krister Bäckman
Details

Note You need to log in before you can comment on or make changes to this bug.
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 Thomas 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 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.