You are not logged in.

#1 2010-11-15 21:03:12

sammermpc
Member
Registered: 2010-07-16
Posts: 12

Debugging X CPU Issues / ~40% under low load

I've been bothered, lately, by a lag while typing.  Taking a look at my CPU usage, I can see the X spike up to 30-45% while typing. Happens anywhere. Firefox, terminal, OOO, whatever. Doesn't seem normal -- and my laptop should be quick enough. It's a Lenovo T400.

uname -a
Linux sam-laptop 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 19:57:05 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux

I'm running xmonad-0.9.1, though I had the same problem with Awesome and DWM a while back, so I don't think that's the issue. Perhaps I should try some other WMs, but I'm onto my third. I thought I had it solved here: http://bbs.archlinux.org/viewtopic.php?id=107455, but I imagined that.

Can anyone give me advice about the best way to debug this kind of issues? I don't know where to start looking. Let me know what other details would be useful. I'm often using xrandr to get onto two monitors, but it doesn't make a difference.

What usage do you get on X under low-load stuff like typing?

Last edited by sammermpc (2010-11-15 21:03:46)

Offline

#2 2010-11-15 21:54:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Debugging X CPU Issues / ~40% under low load

Offline

#3 2010-11-15 22:58:38

sammermpc
Member
Registered: 2010-07-16
Posts: 12

Re: Debugging X CPU Issues / ~40% under low load

Ah, thanks so much. A lot of that seems to describe my issues -- thanks for the pointer, Karol. It's definitely somewhat better with nohz=off. I'll work through the suggestions on that thread.

Just an update if anyone else finds this -- I rolled back the kernel (all the way to 2.6.33 -- all I had in my cache), and I feel like I've got a new computer.

 load average: 0.07, 0.17, 0.14

Under light browsing, typing this post, etc.

Last edited by sammermpc (2010-11-15 23:35:19)

Offline

#4 2010-11-15 23:51:13

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Debugging X CPU Issues / ~40% under low load

you might want to try 2.6.36 from [testing] too

Offline

#5 2010-11-15 23:57:20

sammermpc
Member
Registered: 2010-07-16
Posts: 12

Re: Debugging X CPU Issues / ~40% under low load

I am so happy, I think I will just roll around and smell the sweet scent of 2.6.33 for awhile -- but I'll take a look once I recover.

My god! I just -- press a key -- and the letter appears! This is awesome! jjjjjjjjjjjjj

Offline

Board footer

Powered by FluxBB