[wplug] Mousewheel and your CPU

Edward Walter ewalter at walterama.com
Wed Nov 20 16:07:40 EST 2002


I've encountered similar problems.  It shouldn't be a resource / speed
issue.  The box is a p4 1800 w/ 512 Mb ram.  The disks aren't a bottleneck
either... hardware raid 5 - scsi2 / lvd.  I get the skips when selecting
text rather than scrolling with the mouse wheel.  I've seen this in both
gnome and kde using mozilla and konqueror.  It seems to spike the cpu just
long enough to disrupt xmms.  I've configured xmms to run suid root and
with realtime priority.  I've also increased the buffer sizes it's using. 
Neither of these seem to have much affect though.  I'd rather not have to
rebuild my kernel just to get the performance I should have anyway.  Any
other suggestions?
-Ed

> On Wednesday 20 November 2002 12:05 am, J Aaron Farr wrote:
>> Hello.
>>
>> Does anyone notice rather high CPU usage when scrolling through a long
>> document with a mouse wheel?  Specifically when using Mozilla?
>>
>> I noticed it because while scrolling through long web sites, XMMS (and
>> consequently my music) would stall briefly every now and then.  At
>> first I thought it was the quality of my recordings, but then I
>> noticed it always stalled (hiccuped is probably a better term)
>> whenever I was scrolling with the mouse wheel.  I did some informal
>> tests and this is what I found:
>
> Here are some solutions:
>
> (1) Get the preemptible kernel / latency patch:
> http://www.tech9.net/rml/linux/
>
> (2) Upgrade to kernel 2.5 (In beta stages, not recommended unless you
> are  l33t). If you do, enable the prempt option.
>
> (3) Set userid to root for xmms, and enable realtime priority (in the
> preferences menu) *This is the easiest, best bet*
>
> (4) If you are really hardcore, try compiling xmms, kernel, konqueror,
> X, etc.  with -O6. It optimizes at a ridiculous level, some say its
> risky, probably  is...
>
> (5) Get a faster computer
>
> Hope this helps,
>
> Carm
>
>
>
>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org





More information about the wplug mailing list