Re: CPU information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

That doesn't answer Seth's question to my mind, and I'm still interested in
the answer. If '+''s are the wasted cycles, then if * is an average of the
cycles wasted, if there are 'n' competing processes, and k is the
avg. utilization for a hyperthreaded CPU, then (trivially)  
1 - *^n < k < 1 - *^2n where the max. possible improvement, (*^n - *^2n)
should be quite low and insignificant in some cases, and it'd be interesting
to know when it's actually significant (or if there's a better measure than
avg. cpu utilization). 

Regards,
Sapan


> The ``+'' are the wasted cycles, i.e. there *is* a runnable
> CPU/process, but it is not scheduled, because the current CPU/process
> time quanta is not expired yet. Of course the total time does not
> increse with the number of wasted cycles, because there are times when
> no CPU/process is runnable.
> 
> ~velco
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux