> This commit allows to specify (statically) the number of CPU's (ncpu). > This allows to show the cpu usage relative to 1 CPU. > So, when 1 cpu is busy, 100% is shown. 2 cpu's busy: 200%, and so on. > At this point, the configuration of ncpu is static. > > When no number is given (the backward compatible option), then > slstatus thinks it only has 1 cpu and no scaling is done, like it > used to be.
Eeek, Could you explain the rationale of this?. 100% means “all resources”, 200% means “twice all resources”, how is this supposed to be interpreted? Having 100% on this setup (of 200% max) only means actually 50%, not 100% of supposedly one core and having another core still available. We are not collecting per-cpu statistics, so it's misleading at best. If it's a question of “precision” (those are approximate stats), use ‰, not %. Thanks
