Re: [PATCH for testing] Re: Decreasing stime running confuses top

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christian Borntraeger <borntraeger@...>
Cc: Frans Pop <elendil@...>, Chuck Ebbert <cebbert@...>, Luca Tettamanti <kronos.it@...>, Willy Tarreau <w@...>, LKML <linux-kernel@...>, Ilpo <ilpo.jarvinen@...>, Alexander E. Patrakov <patrakov@...>
Date: Monday, October 8, 2007 - 1:00 pm

* Christian Borntraeger <borntraeger@de.ibm.com> wrote:


basically sum_exec_runtime is split up to form a precise utime/stime, 
using the stime/utime ratio as the factor.


the problem occurs when there's a different "split" dictated by 
p->stime/p->utime. The sum of stime+utime as reported should be 
monotonic, but the individual components may not. (the reason is that we 
have a precise "sum" for free, given by the scheduler, but we do not 
want the overhead of per-syscall timestamps to get a precise stime/utime 
numbers. So we sample p->stime and p->utime from the scheduler tick.)

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

Messages in current thread:
top displaying 9999% CPU usage, Frans Pop, (Wed Oct 3, 8:33 am)
Re: top displaying 9999% CPU usage, Alexander E. Patrakov, (Wed Oct 3, 9:03 am)
Re: top displaying 9999% CPU usage, Frans Pop, (Wed Oct 3, 10:04 am)
Re: top displaying 9999% CPU usage, Ilpo Järvinen, (Wed Oct 3, 10:43 am)
Re: top displaying 9999% CPU usage, Ilpo Järvinen, (Wed Oct 3, 10:51 am)
Re: Decreasing stime running confuses top, Chuck Ebbert, (Thu Oct 4, 3:32 pm)
Re: Decreasing stime running confuses top, Christian Borntraeger, (Thu Oct 4, 4:00 pm)
Re: Decreasing stime running confuses top, Chuck Ebbert, (Thu Oct 4, 4:21 pm)
[PATCH for testing] Re: Decreasing stime running confuses top, Christian Borntraeger, (Thu Oct 4, 5:10 pm)
Re: [PATCH for testing] Re: Decreasing stime running confuse..., Christian Borntraeger, (Mon Oct 8, 12:49 pm)
Re: [PATCH for testing] Re: Decreasing stime running confuse..., Ingo Molnar, (Mon Oct 8, 1:00 pm)
Re: [PATCH for testing] Re: Decreasing stime running confuse..., Christian Borntraeger, (Thu Oct 4, 6:31 pm)
Re: top displaying 9999% CPU usage, Jan Engelhardt, (Wed Oct 3, 8:52 am)