[LAU] Cpu scaling on performance, permanent
rosea.grammostola
rosea.grammostola at gmail.com
Sun May 22 14:45:50 UTC 2011
On 05/22/2011 04:32 PM, Robin Gareus wrote:
> On 05/22/2011 04:25 PM, rosea.grammostola wrote:
>> jack_cpu , is that a jack2 only tool? I don't have it here.
> I suppose it is.
>
> Alternatively
> cd /tmp/
> git clone git://rg42.org/jackfreqd
> cd jackfreq/tools
> gcc -o busyjack busyjack.c -ljack
> ./busyjack 60
>
> ciao,
> robin
*
$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq at vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.00 GHz
available frequency steps: 2.00 GHz, 2.00 GHz, 1.60 GHz, 1.20 GHz,
800 MHz
available cpufreq governors: userspace, powersave, conservative,
ondemand, performance
current policy: frequency should be within 800 MHz and 1.20 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 2.00 GHz:0.00%, 2.00 GHz:0.00%, 1.60 GHz:0.00%, 1.20
GHz:62.46%, 800 MHz:37.54% (636)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.00 GHz
available frequency steps: 2.00 GHz, 2.00 GHz, 1.60 GHz, 1.20 GHz,
800 MHz
available cpufreq governors: userspace, powersave, conservative,
ondemand, performance
current policy: frequency should be within 800 MHz and 1.20 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 2.00 GHz:0.00%, 2.00 GHz:0.00%, 1.60 GHz:0.00%, 1.20
GHz:71.02%, 800 MHz:28.98% (753)
*
My cpu switches from
800000
800000
to
1200000
1200000
*
/tmp/jackfreqd/tools$ ./busyjack 60
set DSP load = 60.00
initial loopsize 25000 iterations
using chunksize of 10485760 bytes
SSE2 detected
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
xrun occured with loop size = 25000
loopsize = 25750
loopsize = 25493
loopsize = 25239
loopsize = 24987
loopsize = 24738
loopsize = 24491
loopsize = 24247
loopsize = 24005
loopsize = 23765
loopsize = 23528
\r
More information about the Linux-audio-user
mailing list