2008-07-31 10:43:35

by Lukas Hejtmanek

[permalink] [raw]
Subject: 2.6.27-rc1 process time accounting

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.

--
Luk?? Hejtm?nek


2008-07-31 21:42:37

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.27-rc1 process time accounting

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.

> 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..

2008-07-31 22:06:15

by Lukas Hejtmanek

[permalink] [raw]
Subject: Re: 2.6.27-rc1 process time accounting

On Thu, Jul 31, 2008 at 02:41:47PM -0700, Andrew Morton wrote:
> > 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

--
Luk?? Hejtm?nek

2008-08-01 03:03:42

by Parag Warudkar

[permalink] [raw]
Subject: Re: 2.6.27-rc1 process time accounting

Andrew Morton <akpm <at> linux-foundation.org> writes:

>
> On Thu, 31 Jul 2008 12:43:19 +0200
> Lukas Hejtmanek <xhejtman <at> ics.muni.cz> wrote:
>
> > Hello,
> >
> > I think there is a regression since 2.6.26 in time accounting of processes.
>
> Could be - we changed quite a bit.
>
> > 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

2008-08-01 07:30:35

by Peter Zijlstra

[permalink] [raw]
Subject: Re: 2.6.27-rc1 process time accounting

On Fri, 2008-08-01 at 03:03 +0000, Parag Warudkar wrote:
> Andrew Morton <akpm <at> linux-foundation.org> writes:
>
> >
> > On Thu, 31 Jul 2008 12:43:19 +0200
> > Lukas Hejtmanek <xhejtman <at> ics.muni.cz> wrote:
> >
> > > Hello,
> > >
> > > I think there is a regression since 2.6.26 in time accounting of processes.
> >
> > Could be - we changed quite a bit.
> >
> > > 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.

Can you test with tip/sched/clock ?

2008-08-02 01:02:20

by Parag Warudkar

[permalink] [raw]
Subject: Re: 2.6.27-rc1 process time accounting

On Fri, Aug 1, 2008 at 3:30 AM, Peter Zijlstra <[email protected]> wrote:

> 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