Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have some doubts about the way that load is calculated in some UNIX flavours. Linux says that load average is not normalized, this means if I have a 2 CPU machine and a load of 1, the CPU is loaded 50% of the time. On the other hand, I think in HP-UX the load average is normalized. In AIX I couldn't get if is normalized or isn't.
Could anyone give me a explanation if the load is normalized or not in each system (AIX, HP-UX, Linux, Tru64, Solaris)?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Never heard of normalized load averages. Are you sure HP-UX reports non standard values ?
In any case, Solaris reports a value that isn't affected by the number of CPUs.
By the way, the load average isn't computed from CPU usage but from the runnable processes count at sample intervals.
Linux says that load average is not normalized, this means if I have a 2 CPU machine and a load of 1, the CPU is loaded 50% of the time.
Hmmmm ... and what if the loadavg is 4 (or 20 ...) on a 2 CPU machine ?.
Have a read of this - it has some errors, but will give a good idea of what the numbers actually represent.
jlliagre's definition is for traditional *nix - Linux includes tasks in uninterruptible sleep as well. The calculations of the moving average is similar for all though.
Load average calculations are different. In HP-UX, unlike Solaris, Linux, or just about any other UNIX, load averages reported by uptime are divided by the number of processors in the system, so that a load average of 1.0 means the system has as many processes in the run queue as it has processors. That's all well and good, and it might even be a better approach than the other vendors, but once again HP-UX breaks with tradition and confuses administrators of other platforms.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
That's curious. HP-UX 11i v3 uptime manual page doesn't mention that normalization but is describing the usual Unix way (average number of jobs in the run queue). http://h20000.www2.hp.com/bc/docs/su.../c02272185.pdf
HPUX 11.11? Solaris 8? How old is this web site? Both of those are from the prehistoric era, and half of his complaints are now resolved. I'd bet the load average changed too (I have HPUXes at work, but I'm not at work to check =)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.