[BUG] Combining every second core on OpenBSD
On OpenBSD/SPARC64 I noticed that a pair of cores in the load graph would have the same value (such that a single threaded workload at 100% would appear on both core0 and core1).
I assumed this was a SPARC specific issue, but after running it on amd64, the same thing happened.
Looking at the source code, this appears to be on purpose:
https://github.com/aristocratos/btop/blame/fac4a704ecae934cbfa732318249d8cec78b627b/src/openbsd/btop_collect.cpp#L391
I'm not sure why one would want this behavior, can we consider changing it?
@ehawk First off, OpenBSD on Sparc64 sounds incredibly cool. Second, how did you mitigate the IPO is not supported error?
cmake -DBTOP_LTO=OFF
I'm not sure why one would want this behavior, can we consider changing it?
@joske
cmake -DBTOP_LTO=OFF
Or I could try this... (You know, that's so simple, it's almost unfair.) 😆
@imwints Thank you!
@imwints hmm, I forgot why this was 😅. Probably related to hyperthreading (as I only had x86)