News for hackers. Stuff that matters.
Re:CPU Utilization is Wrong by westurner on Wednesday May 10, 2017 @12:37AM (#14305941)
Instructions per cycle: https://en.wikipedia.org/wiki/Instructions_per_cycle

What does IPC tell me about where my code could/should be async so that it's not stalled waiting for IO? Is combined IO rate a useful metric for this?

There's an interesting "Cost per GFLOPs" table here: https://en.wikipedia.org/wiki/FLOPS

Btw these are great, thanks: http://www.brendangregg.com/linuxperf.html

( I still couldn't fill this out if I tried: http://www.brendangregg.com/blog/2014-08-23/linux-perf-tools... )

Re:CPU Utilization is Wrong by gefh on Wednesday May 10, 2017 @12:47AM (#14305968)
It's not that your code should be async, but that it should be more cache-friendly. It's probably mostly stalled waiting for RAM.
Re:CPU Utilization is Wrong by westurner on Wednesday May 10, 2017 @05:51AM (#14307054)
Oh, is this because of context switching for resource staring?
Re:CPU Utilization is Wrong by adrianN on Wednesday May 10, 2017 @07:56AM (#14307487)