Skip to contentSkip to conversation

2.6.27-rc1 process time accounting

DISCUSSION Lukas Hejtmanek 4 participants 6 messages Jul 31, 2008 – Aug 2, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I think there is a regression since 2.6.26 in time accounting of processes.

kthreadd and console-kit-daemons claim they spent 5124095 hours using CPU.

Signature · 1 line
Lukáš Hejtmánek
#1 lore raw
Quoted 3 lines · On Thu, 31 Jul 2008 12:43:19 +0200 Lukas Hejtmanek <[email protected]> wrote:

Hello,

I think there is a regression since 2.6.26 in time accounting of processes.

Could be - we changed quite a bit.

Quoted 1 line

kthreadd and console-kit-daemons claim they spent 5124095 hours using CPU.

My 2.6.27-rc1-mm1 kthreadd looks OK in `top'. How are you displaying this information? More details if possible, please..

#2 lore raw
Quoted 4 lines · Andrew Morton
Quoted 1 line

kthreadd and console-kit-daemons claim they spent 5124095 hours using CPU.

My 2.6.27-rc1-mm1 kthreadd looks OK in `top'. How are you displaying this information? More details if possible, please..

ps aux | grep kthread
root 2 151451100 0.0 0 0 ? S< 09:49 21114580:11 [kthreadd]

top:
2489 root 20 0 102m 3300 1608 S 0.0 0.2 5124095h console-kit-dae
2 root 15 -5 0 0 0 S 0.0 0.0 5124095h kthreadd

Signature · 1 line
Lukáš Hejtmánek
#3 lore raw
In reply to Andrew Morton
Quoted 6 lines · Andrew Morton <akpm <at> linux-foundation.org> writes:
Quoted 2 lines · On Thu, 31 Jul 2008 12:43:19 +0200 Lukas Hejtmanek <xhejtman <at> ics.muni.cz>…

Hello,

Quoted 9 lines
Quoted 1 line

I think there is a regression since 2.6.26 in time accounting of processes.

Could be - we changed quite a bit.

Quoted 1 line

kthreadd and console-kit-daemons claim they spent 5124095 hours using CPU.

My 2.6.27-rc1-mm1 kthreadd looks OK in `top'. How are you displaying this information? More details if possible, please..

Top's doing crazy things on my machine too after booting 2.6.27-rc1 - like Xorg showing 859% CPU usage on 4 CPU machine and generally any process running even shortly shows up as using anywhere between 100 and 150% CPU.

This is on x86 - Q6600 6Gb RAM. Let me know if anything else would be interesting to know.

Parag

#4 lore raw
Quoted 18 lines · Parag Warudkar
Quoted 6 lines · Andrew Morton <akpm <at> linux-foundation.org> writes:
Quoted 2 lines · On Thu, 31 Jul 2008 12:43:19 +0200 Lukas Hejtmanek <xhejtman <at> ics.muni.cz>…

Hello,

Quoted 9 lines
Quoted 1 line

I think there is a regression since 2.6.26 in time accounting of processes.

Could be - we changed quite a bit.

Quoted 1 line

kthreadd and console-kit-daemons claim they spent 5124095 hours using CPU.

My 2.6.27-rc1-mm1 kthreadd looks OK in `top'. How are you displaying this information? More details if possible, please..

Quoted 6 lines

Top's doing crazy things on my machine too after booting 2.6.27-rc1 - like Xorg showing 859% CPU usage on 4 CPU machine and generally any process running even shortly shows up as using anywhere between 100 and 150% CPU.

This is on x86 - Q6600 6Gb RAM. Let me know if anything else would be interesting to know.

Can you test with tip/sched/clock ?

#5 lore raw
Quoted 1 line · Peter Zijlstra

Can you test with tip/sched/clock ?

-tip from today seems alright - for the 5 minutes I tested with x11perf the top shows max CPU usage around 125%.

I assume changes from -tip will flow in mainline sooner or later - if so this should be sorted out soon.

Parag