Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#100896 - 23/06/2002 08:30 vital signs in hijack
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
i recently installed emptriv. i wanted to see how much processor power it was taking to unzip the whole thing. so while it was happening, i put on vial signs. says it was only taking up 1.58% of cpu. can this be? or does it only show the player's processor power?

Top
#100897 - 23/06/2002 19:13 Re: vital signs in hijack [Re: image]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
These are not CPU usage numbers. They are "load averages". The load averages are the average number of process ready to run during the last 1, 5 and 15 minutes.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#100898 - 28/06/2002 12:15 Re: vital signs in hijack [Re: Shonky]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Load numbers larger than 1 usually indicate that the CPU is VERY BUSY.

-ml

Top
#100899 - 30/06/2002 04:23 Re: vital signs in hijack [Re: mlord]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi Mark.

I just wondered about a few things while installing a new (software) raid-5 IDE array in my Linux box. I thought you might be able to comment on these:
  1. While copying files to the raid (and having an rc5 client run in the background at maximum nice level), I noticed that the load went up to 5 or even higher, but with CPU usage of approx. 60% system, 20% user and 20%idle. While I can understand the first two, I have no idea why I could have a load of 5 with 20% idle time. Any hint?
  2. I also noticed that the raid driver reports a few stats in /proc/mdstats, the particular thing that made me look there twice was that it reported on its writing speed during resynchronization of the raid discs. Don't remember the exact phrase used, but it showed a nice little progress bar, along with a textual comment like "X% done, Y minutes remaining, writing in background with ZZZZZ kBytes/second". It was writing at about 22MBytes/s on an idle system, and about 15 on a loaded one. Nice. I was wondering if the IDE driver could report its current throughput in a similar manner.
Any comments from you?

cu,
sven
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#100900 - 01/07/2002 07:01 Re: vital signs in hijack [Re: smu]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
While I do not recall the EXACT calculation for "load average", my recollection is that it is the average number of processes waiting for either CPU or IO (usually disk). So it is very common to see a high load average with low CPU utilization.

The RAID statistics in /proc/ are there because the RAID code is deliberately self-throttling while rebuilding. The statistics serve as a tuning indication only, in case one wants to slow it down even further.

Nearly all block I/O drivers (including IDE) keep similar numbers in the kernel, and there may exist userland applications for displaying them. The IDE driver doesn't have the code bloat that would be needed to calculate & display them in /proc/ (but these days it does have lots of other bloat..).

Cheers

Top