๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ OpenBSD โ€บ 20512 captured on 2024-12-17 at 15:02:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Multicore performance --

I've recently come back to OpenBSD on a laptop, running it on a Panasonic Toughbook. I've noticed something that I'm not sure used to be this way a few years back (around 6.4 or so?):

When multiple processes try to run kernel locked syscalls, they spend _a lot_ of CPU time spinning on the kernel lock, quickly burning through the battery. I'm pretty sure it didn't use to be that way 5 years ago.

Did something change? Or am I misremembering?

Posted in: s/OpenBSD

๐ŸŒฒ greg

Oct 07 ยท 2 months ago ยท ๐Ÿ‘ norayr, magnusmww

2 Comments โ†“

๐Ÿ drh3xx [mod] ยท Oct 08 at 11:50:

I can't think of anything specific but 7.6 has just dropped with a fair number of locks removed (mainly network stack but a little elsewhere too) so be interesting to see how it compares for you against 7.5. Most peoples issues with battery life and CPU temps were due to changes made a good few releases back now but Solene put together a nice little daemon to limit temps/clocks more dynamically obsdfreqd which helps alot.

๐Ÿ™ norayr ยท Oct 31 at 04:21:

if you are got back to the same laptop five years later, maybe the battery is not in good shape now?