News for hackers. Stuff that matters.
Re:CPU Utilization is Wrong by jwatte on Tuesday May 09, 2017 @08:18PM (#14304975)
You should say "ALU utilization" when that's what you mean.
Re:CPU Utilization is Wrong by faragon on Wednesday May 10, 2017 @01:57AM (#14306194)
Full CPU utilization regarding IPC is not just about the ALUs, it includes all units (ALU units, load/store, and other, e.g. if you have differentiated integer and floating point ALUs, etc.). E.g. with a 4 maximum IPC CPU (2 load/store, 2 ALU), on a synthetic benchmark doing only register-register ALU optimal work, you would get an IPC of 2.

Also, depending on what algorithm you're doing, you'll never get the maximum IPC, even with optimal code, e.g. for a hash digest you don't need the store unit very much, so in the above CPU example you would reach an IPC of 3 with optimal code. So not always not having the maximum IPC means you're under-using the CPU for a given algorithm.