You are not logged in.

#1 2012-03-10 19:52:07

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[Solved] Cpupower: some settings not supported?

Hey all,

I just installed cpupower instead of cpufrequtils and I think I got it up and running (module acpi-cpufreq, daemon cpupower in /etc/rc.conf and edited /etc/conf.d/cpupower).

I also tried the newer settings mc_scheduler and smp_scheduler as seen below in the code part. However, when I then restart the daemon, I get Error setting sched-mc not supported. Why? I own an Intel Core i5 430M and I thought that cpupower was supposed to be more compatible with it than cpufrequtils, e.g. support more of its features.

# Utilizes cores in one processor package/socket first before processes are
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=1

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=1

Last edited by Unia (2012-03-10 20:44:42)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2012-03-10 20:26:32

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Cpupower: some settings not supported?

Arrandale i5 processors have hyperthreading, so they're using sched_smt instead of sched_mc

Offline

#3 2012-03-10 20:31:52

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [Solved] Cpupower: some settings not supported?

Okay, and can I somehow use that with cpupower?

EDIT: Or any other power management setting?

Last edited by Unia (2012-03-10 20:35:09)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4 2012-03-10 20:35:09

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [Solved] Cpupower: some settings not supported?

Unia wrote:

Okay, and can I somehow use that with cpupower?

Yes that is the "smp scheduler", the config file uses the wrong abbreviation there i think. It works though:

$ cat /etc/rc.d/cpupower
...
params+=(${smp_scheduler:+-s $smp_scheduler})
...
$ man cpupower set | grep smt
...
--sched-smt, -s [ VAL ]
...

Last edited by litemotiv (2012-03-10 20:41:20)


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-03-10 20:35:50

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [Solved] Cpupower: some settings not supported?

Oh, indeed. That throws no errors. Thanks! (it did before but I guess that was thanks to the other scheduler)

Last edited by Unia (2012-03-10 20:36:55)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#6 2012-03-10 20:40:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Cpupower: some settings not supported?

I thin that's what the smp_sceduler option you have there does. Hyperthreading processors have "thread siblings".

Edit: Wow, was I late with my answer. Oh well... smile

Last edited by Gusar (2012-03-10 20:49:16)

Offline

Board footer

Powered by FluxBB