Messages in this thread | | | Date | Tue, 23 Jul 2019 16:29:18 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH] sched/cputime: make scale_stime() more precise |
| |
On 07/23, Oleg Nesterov wrote: > > > > Yes, statistically the numbers are proportionally divided. > > > > This; due to the loss in precision the distribution is like a step > > function around the actual s:u ratio line, but on average it still is > > s:u. > > You know, I am no longer sure... perhaps it is even worse, I need to recheck.
To clarify, this is probably true even if prev_cputime adds more confusion. But how many minutes (hours? days?) you need to look at /proc/pid/stat to get the average which more or less matches the reality?
Oleg.
| |