Re: Workaround for wrapping loadaverage
From: Con Kolivas
Date: Tue Nov 09 2004 - 16:52:59 EST
Herbert Poetzl wrote:
but I agree that a higher resolution would be a good
idea ... also doing the calculation when the number
of running/uninterruptible processes has changed would
be a good idea ...
This could get very expensive. A modern cpu can do about 700,000 context
switches per second of a real task with the current linux kernel so I'd
suggest not doing this.
Cheers,
Con
Attachment:
signature.asc
Description: OpenPGP digital signature