You are not logged in.

#1 2011-08-21 14:56:16

hotweiss
Member
From: Warsaw, Poland
Registered: 2011-08-21
Posts: 26
Website

Can't set new CPU scaling up threshold.

I'm trying to improve Flash performance by increasing the CPU scaling up threshold without any success.

When I enter this command (as the Wiki states: https://wiki.archlinux.org/index.php/Cp … threshold):

echo -n 15 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

I get:

bash: /sys/devices/system/cpu/cpufreq/ondemand/up_threshold: No such file or directory

Any idea about where the file has gone in the latest version of Arch?

Offline

#2 2011-08-21 17:45:27

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Can't set new CPU scaling up threshold.

It's here. Is the cpufreq-ondemand module loaded?

Offline

#3 2011-08-21 17:57:59

hotweiss
Member
From: Warsaw, Poland
Registered: 2011-08-21
Posts: 26
Website

Re: Can't set new CPU scaling up threshold.

stqn wrote:

It's here. Is the cpufreq-ondemand module loaded?

It seems to be loaded.

Offline

#4 2011-08-21 18:56:07

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Can't set new CPU scaling up threshold.

"It seems" or "it is"? What does "lsmod | grep ondemand" return?

Does /sys/devices/system/cpu/cpufreq/ondemand/ exist?

Do you have "cpufreq-ondemand" in the MODULES array of /etc/rc.conf? You also need whichever cpufreq driver is needed by your processor (here it is "acpi-cpufreq".)

Offline

#5 2011-08-21 19:07:05

hotweiss
Member
From: Warsaw, Poland
Registered: 2011-08-21
Posts: 26
Website

Re: Can't set new CPU scaling up threshold.

Well I just loaded it manually.  The problem is that the path in the command is incorrect.

Offline

Board footer

Powered by FluxBB