Subject: re: Further works on yamt-idlelwp
To: <>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 03/07/2007 06:49:17
   
   > > > I think both of those should be per-LWP, and the sysctl/libkvm interface
   > > > should mimic the old behaviour by adding the values for all LWPs in a
   > > > process.
   > > As I understand, you would tend to "LWPize" this part, hence, there would be
   > > more data moving from proc to lwp. One should also keep in mind that top(1)
   > > and ps(1) interfaces are defined by POSIX.
   > > Can you elaborate with this?
   > 
   > i don't think top is in posix.
   > anyway i guess they can be calculated on-demand as we currently do
   > for p_rtime.
   
   Which reminds me.. p_pctcpu is wrong because it's not scaled by the number
   of CPUs. So you can have top reporting e.g. a multithreaded app using 400%
   CPU. :)

"feature"


.mrg.