Skip to contentSkip to conversation

Unusually high system CPU usage with recent kernels

DISCUSSION Tibor Billes 1 participant 1 message Oct 6, 2013

lore
Share & tools
lore
#0 lore raw

From: Paul E. McKenney Sent: 10/01/13 10:27 PM

Quoted 39 lines

To: Tibor Billes
Subject: Re: Unusually high system CPU usage with recent kernels

Quoted 3 lines · Tibor Billes
Quoted 3 lines

From: Paul E. McKenney Sent: 09/13/13 02:19 AM

Quoted 1 line · Tibor Billes
Quoted 1 line

From: Paul E. McKenney Sent: 09/09/13 10:44 PM

[ . . . ]

Quoted 29 lines
Quoted 10 lines
Quoted 5 lines

Sure. The attached tar file contains traces of good kernels. The first is with version 3.9.7 (no patch applied) which was the last stable kernel I tried and didn't have this issue. The second is version 3.11 with your fix applied. Judging by the size of the traces, 3.11.0+ is still doing more work than 3.9.7.

Indeed, though quite a bit less than the problematic traces.

Did you have all three patches applied to 3.11.0, or just the last one? If the latter, could you please try it with all three?

Only the last one was applied to 3.11.0. The attachement now contains the RCU trace with all thee applied. It seems to be smaller in size, but still not close to 3.9.7.

Quoted 13 lines
Quoted 11 lines
Quoted 8 lines
Quoted 3 lines

I'm not sure about LKML policies about attaching not-so-small files to emails, so I've dropped LKML from the CC list. Please CC the mailing list in your reply.

Done!

Another approach is to post the traces on the web and send the URL to LKML. But whatever works for you is fine by me.

Sending directly to you won again :) Could you please CC the list in your reply?

Done! ;-)

Quoted 8 lines
Quoted 1 line

Could you please CC the list in your reply again? :)

This trace is quite strange -- there are a number of processes that sleep and then wake up almost immediately, as in within a microsecond or so. I don't know why they would be doing that, and I also cannot think of what RCU might be doing to make them do that.

I am unfortunately out of ideas on this one.

Okay. Thank you for all your help! :)

Tibor