top | item 31944241

(no title)

ivankelly | 3 years ago

The missing dimension here is the percentage of time the program is running on the core. Even if the benchmark is using 3 seconds to run 11billion instructions, that doesn't tell you if the core is still idle 90% of the time because it's blocking on I/O. CPU bound work should pin the core. This is especially true on server side stuff, because if you are not maximizing the time on core, you are paying for CPU that is not being used.

discuss

order

xxs|3 years ago

you should not even consider microbenchmarking IO. If you go with I/O you need full blown load tester.