BrendanLong
Joined 8 years ago
Joined 8 years ago
- Pinned to 6 cores: 28k QPS
- Pinned to 12 cores: 56k QPS
- All 24 cores: 62k QPS
I'm not sure how this applies to realistic workloads where you're using all of the cores but not maxing them out, but it looks like hyperthreading only adds ~10% performance in this case.
(1) Measure MIPS with perf (2) Compare that to max MIPS for your processor
Unfortunately, MIPS is too vague since the amount of work done depends on the instruction, and there's no good way to measure max MIPS for most processors. (╯°□°)╯︵ ┻━┻
It's also unclear if naked shorting is actually happening here. It's entirely possible for the short interest to be far above 100%. Consider this setup:
- WidgetCo floats exactly one stock - Alice buys the one stock (short interest = 0%) - Alice lends the stock to Bob - Bob sells the stock to Carol (short interest = 100%) - Carol lends the stock to Dave - Dave sells the stock to Eve (short interest = 200%) - Repeat until short interest reaches the moon
Bob and Dave both legitimately borrowed a shared and sold it, so there's no naked shorting going on.
I suspect what's happening with GameStop is that the stock price is just so absurdly overvalued that short interest has reached a level that people previously thought was impossible.
At 51% reported CPU utilization, it's doing about 80% of the maximum requests per second, and it can't get above 80% utilization.
I also added a section: https://www.brendanlong.com/cpu-utilization-is-a-lie.html#bo...