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

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Fri Aug 26 2016 - 22:22:59 EEST

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@email-addr-hidden ~]$ 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@email-addr-hidden ~]$ 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@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2100000 2000000 1800000 1000000
[rocketmouse@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
ondemand performance
[rocketmouse@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
2100000
2100000
[rocketmouse@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
[rocketmouse@email-addr-hidden ~]$ echo ondemand|sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
[sudo] password for rocketmouse:
ondemand
[rocketmouse@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
1000000
1000000
[rocketmouse@email-addr-hidden ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ondemand
ondemand

Regards,
Ralf
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Aug 27 00:15:03 2016

This archive was generated by hypermail 2.1.8 : Sat Aug 27 2016 - 00:15:03 EEST