Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
does taking CPUs offline decrease idle power?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jpsollie
Guru
Guru


Joined: 17 Aug 2013
Posts: 323

PostPosted: Fri Feb 19, 2021 6:32 am    Post subject: does taking CPUs offline decrease idle power? Reply with quote

An idea I was playing with:
My server has 64 CPUs (threadripper 32 core). It is the central device at work.
During night, the device stays online, but off course, does almost nothing.
Would taking all but one CPUs (1-63) offline help improving idle power consumption?
off course, we all now we have powersave governors, but this is a different approach (I think).
Any ideas?
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Fri Feb 19, 2021 1:49 pm    Post subject: Reply with quote

Use a wattmeter and measure power consumption?

Alternatively, you could switch your cores to offline and monitor CPU temperature and CPU fan speed. If temperature and/or fan speed decrease, you'll know that offline mode consumes less power.
Back to top
View user's profile Send private message
molletts
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2013
Posts: 131

PostPosted: Fri Feb 19, 2021 5:20 pm    Post subject: Reply with quote

Your CPU will have a built-in power monitor which you could use to test this - the kernel driver for it is CONFIG_SENSORS_AMD_ENERGY, under Device Drivers -> Hardware Monitoring Support -> AMD RAPL MSR based Energy driver in menuconfig. I don't know how well it works as I don't have a Zen CPU to test it with.

I seem to remember that, when I played with offlining cores on my FX9590 to try and tame its idle temp a bit during a hot summer, the reading didn't really go down much even when I shut down all but one.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9892
Location: almost Mile High in the USA

PostPosted: Fri Feb 19, 2021 8:41 pm    Post subject: Reply with quote

depends on the cpu, but some cpus in sleep state is equivalent of unplugging already, so it couldn't go down much more anyway.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum