Re: [accounting regression since rc1] scheduler updates

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Tuesday, August 21, 2007 - 4:58 am

On Tue, 2007-08-21 at 13:36 +0200, Ingo Molnar wrote:

So? As far as accounting is concerned the user doesn't care one bit what
the scheduler decided. The user cares how much cpu was used. If you want
to know how much of the cputime available to the virtual box was used
for a process you just have to add/subtract the steal time. Your have
the complete picture what happened. You cannot get the complete picture
if you have do process accounting based on the TOD clock, you never know
how much cpu was actually spent for a process.


Not really. If I look at a process I want to know how much cpu it used.
Not virtual but real cpu. And we learned this the hard way, trying to do
accounting with numbers that have to get normalized by numbers from the
hypervisor is just plain broken.


The information about accounting numbers that are internal to the guest
is 99.99% useless. You always have to take the external scheduling into
account. We choose to do the accounting in a way that does not require
additional steps to get to useful numbers.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


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

Messages in current thread:
[git pull request] scheduler updates, Ingo Molnar, (Sun Aug 12, 9:32 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 14, 1:37 am)
[PATCH][RFC] Re: accounting regression since rc1, Christian Borntraeger, (Thu Aug 16, 1:17 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Mon Aug 20, 10:03 am)
Re: [accounting regression since rc1] scheduler updates, Ingo Molnar, (Mon Aug 20, 11:08 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Mon Aug 20, 11:33 am)
Re: [accounting regression since rc1] scheduler updates, Balbir Singh, (Mon Aug 20, 12:00 pm)
Re: [accounting regression since rc1] scheduler updates, Ingo Molnar, (Mon Aug 20, 12:05 pm)
Re: [accounting regression since rc1] scheduler updates, Ingo Molnar, (Mon Aug 20, 12:12 pm)
Re: [accounting regression since rc1] scheduler updates, Paul Mackerras, (Mon Aug 20, 4:07 pm)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 12:00 am)
Re: [accounting regression since rc1] scheduler updates, Ingo Molnar, (Tue Aug 21, 12:09 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 12:20 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 1:17 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Tue Aug 21, 2:11 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Tue Aug 21, 2:18 am)
Re: [accounting regression since rc1] scheduler updates, Paul Mackerras, (Tue Aug 21, 2:48 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Tue Aug 21, 3:38 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 3:39 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 3:43 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 4:24 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Tue Aug 21, 4:58 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Tue Aug 21, 4:58 am)
Re: [accounting regression since rc1] scheduler updates, Martin Schwidefsky, (Tue Aug 21, 5:57 am)
Re: [accounting regression since rc1] scheduler updates, Christian Borntraeger, (Wed Aug 22, 12:50 am)
Re: [accounting regression since rc1] scheduler updates, Ingo Molnar, (Wed Aug 22, 12:59 am)