[LAU] Crackles in audio - how to troubleshoot ? Tim's TEST RESULTS:

Ralf Mardorf ralf.mardorf at alice-dsl.net
Fri Aug 26 19:22:59 UTC 2016


On Fri, 26 Aug 2016 11:39:56 -0700 (PDT), Len Ovens wrote:
>On Fri, 26 Aug 2016, termtech wrote:
>
>> I found some tools in Linux for handy speed settings
>> such as a neat 'indicator-cpufreq' taskbar icon where
>> you can adjust the throttling mechanisms.
>> You get 'performance' 'on demand' 'power save' modes etc.
>> as well as a dozen or so specific CPU frequencies to choose from.
>>
>> Unfortunately it doesn't seem to work.
>> No matter what I choose doesn't seem to affect anything.  
>
>
>I have found that too, I use cpufreq-set and cpufreq-info instead.

When using command line, why using a tool at all?
It's also possible to make launchers, when using the following direct
access.

The wildcard /sys/devices/system/cpu/cpu* might be required on some
machines. I don't know. My scripts use a wildcard, while it's not
necessary on my machine.

[rocketmouse at archlinux ~]$ ls -Ggd /sys/devices/system/cpu/cpu*/cpuf*
lrwxrwxrwx 1 0 Aug 26 08:19 /sys/devices/system/cpu/cpu0/cpufreq -> ../cpufreq/policy0
lrwxrwxrwx 1 0 Aug 26 20:54 /sys/devices/system/cpu/cpu1/cpufreq -> ../cpufreq/policy0
[rocketmouse at archlinux ~]$ ls -Ggh /sys/devices/system/cpu/cpu0/cpufreq/
total 0
-r--r--r-- 1 4.0K Aug 26 21:02 affected_cpus
-r--r--r-- 1 4.0K Aug 26 21:02 bios_limit
-r-------- 1 4.0K Aug 26 21:02 cpuinfo_cur_freq
-r--r--r-- 1 4.0K Aug 26 21:02 cpuinfo_max_freq
-r--r--r-- 1 4.0K Aug 26 21:02 cpuinfo_min_freq
-r--r--r-- 1 4.0K Aug 26 21:02 cpuinfo_transition_latency
-r--r--r-- 1 4.0K Aug 26 21:02 related_cpus
-r--r--r-- 1 4.0K Aug 26 21:02 scaling_available_frequencies
-r--r--r-- 1 4.0K Aug 26 21:02 scaling_available_governors
-r--r--r-- 1 4.0K Aug 26 21:02 scaling_cur_freq
-r--r--r-- 1 4.0K Aug 26 21:02 scaling_driver
-rw-r--r-- 1 4.0K Aug 26 21:08 scaling_governor
-rw-r--r-- 1 4.0K Aug 26 21:02 scaling_max_freq
-rw-r--r-- 1 4.0K Aug 26 21:02 scaling_min_freq
-rw-r--r-- 1 4.0K Aug 26 21:02 scaling_setspeed
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 
2100000 2000000 1800000 1000000 
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
ondemand performance 
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq 
2100000
2100000
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
performance
performance
[rocketmouse at archlinux ~]$ echo ondemand|sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
[sudo] password for rocketmouse: 
ondemand
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq 
1000000
1000000
[rocketmouse at archlinux ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
ondemand
ondemand

Regards,
Ralf


More information about the Linux-audio-user mailing list