Re: [PATCH 1/2] Add scaled time to taskstats based process accounting



Linas Vepstas writes:

My gut impression (maybe wrong?) is that the scaled time is,
in a certain sense, "more accurate" than the unscaled time.

The "unscaled" time is just time, as in "how many seconds did this
task spend on the CPU". It's what all the tools (except a certain
proprietary workload manager) expect. Top, ps, etc. get unhappy if
the times reported (user, system, hardirq, softirq, idle, stolen)
don't add up to elapsed wall-clock time.

The "scaled" time is really CPU cycles divided by some arbitrary
factor (the notional CPU frequency). So yes it does give some
indication of how much progress the task should have made, in some
sense.

Both measures are useful. Because the current user API is in terms of
real time rather than cycles, we have to continue reporting real time,
not scaled time, which is why the existing interfaces report unscaled
time, and the scaled time values are reported through a new extension
to the taskstats interface.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Real Time Data
    ... situations it is unlikely that you really mean real time. ... Replication is not normally the cuplrit unless you are using high ... Make sure all the reporting applications are using the nolock hint - ... SQL Server Reporting Services and SQL Server 2005, ...
    (microsoft.public.sqlserver.replication)
  • Re: V$ Views
    ...  Remember, Oracle has its process id, while the OS has ...   not using 'timing on', ... is the actual time the cpu was used for the process, ... The CPU statistic is reporting the actual CPU time to the nearest ...
    (comp.databases.oracle.misc)
  • Re: V$ Views
    ...  Remember, Oracle has its process id, while the OS has ...   not using 'timing on', ... is the actual time the cpu was used for the process, ... The CPU statistic is reporting the actual CPU time to the nearest ...
    (comp.databases.oracle.misc)
  • Re: Interpretation of top statistics
    ... No idea what applications you run, ... some such error which indicates a memory or process or thread limit ... > I have the top command running on a server, reporting servers ... > Cpu states: ...
    (comp.sys.hp.hpux)
  • Re: Stability Problems--CPU or MOBO? How To Fix? (Intel D915, ECS Mobo)
    ... MOBO: ECS P4M800PRO-M ... the problem could lie with the RAM, MOBO, CPU or PS. ... again got an error after just a couple of minutes (this time reporting ...
    (alt.comp.hardware.pc-homebuilt)