Re: [ANNOUNCE] sched: schedtop utility

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ankita Garg <ankita@...>
Cc: Gregory Haskins <ghaskins@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, <rostedt@...>, <suresh.b.siddha@...>, <aneesh.kumar@...>, <dhaval@...>, <vatsa@...>, David Bahi <DBahi@...>
Date: Monday, June 2, 2008 - 9:07 am

On Mon, 2008-06-02 at 18:18 +0530, Ankita Garg wrote:

Thing is, things runtime should be calculated by using per cpu deltas.
You take a stamp when you get scheduled on the cpu and another one when
you stop running, then the delta is added to runtime.

This is always on the same cpu - when you get migrated you're stopped
and re-scheduled so that should work out nicely.

So in that sense it shouldn't matter that the rq->clock values can get
skewed between cpus.

So I'm still a little puzzled by your observations; though it could be
that the schedstat stuff got broken - I've never really looked too
closely at it.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Thu May 22, 10:06 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Mon Jun 2, 8:48 am)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Mon Jun 2, 9:07 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Thu Jun 5, 1:20 am)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Thu Jun 19, 6:27 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Tue Jul 1, 5:00 am)
Re: [ANNOUNCE] sched: schedtop utility, Ingo Molnar, (Thu Jul 3, 4:34 am)
Re: [ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Tue Oct 21, 12:29 pm)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Thu Jul 3, 4:56 pm)
Re: [ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Mon Jun 2, 9:20 am)
Re: [ANNOUNCE] sched: schedtop utility, Steven Rostedt, (Thu May 22, 10:33 am)