Hi Martin,

--On Mittwoch, 24. November 2004 11:38:50 Uhr MEZ -0800 Martin Knoblauch <[EMAIL PROTECTED]> wrote:

 from my experience, the patch tracker thingy is pretty much dead for
this project. Posting patches here is fine.

OK.

 One question. Does Darwin have some "cpu is waiting for IO" state?

I have no idea. I'm really no expert. What I did was to look at the source for Apple's "top" to find out how they read the metrics. So far I've done the CPU part. I'll try to do mem and network metrics next.

That would go nicely into cpu_wio_func.

I'll see if I can find anything. If you feel like looking yourself, you can do that here:

<http://www.opensource.apple.com/darwinsource/10.3.6/>

 That the cpu usage does not add up to 100% all the time is pretty
normal. How big are the deviations?

Not so big. Actually I've thought about it and it makes sense to me: the samples aren't taken simultaneously, so it's not surprising that they don't add up. Wouldn't it be better to have one routine get called for all the cpu samples?

Greetings, Sebastian
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

Attachment: pgp0DxRkvV4o9.pgp
Description: PGP signature

Reply via email to