SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wrong I have this cpu and all governors work all right with cpufreq.
Intel pstate is new driver for Intel CPU's and it is an enhancement and works better.
I guess moesasji is right. my laptop cpu is 3610 Ivybridge and it's seems it doesn't support ondemand and conservative governors as I modprobed "conservative",
Code:
cpufreq -set cpu 0 --governor conservative
return an error about lacking this governor (sorry I didn't exactly remember what was that error). also
Code:
echo "ondemand" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
returns error.
anyway theoretically powersave governor must be less resource hungry and lead to cooler system, am I right?
pstate is also a weird thing
it is developed by intel for intel cpus and i still read a lot of "pstate ***** fixed in kernel ?.??"
so maybe try just upgrading the kernel
PS
pstate does more then just frequency scaling
it's basically ACPI C states plus whatever hack intel came up with
"anyway theoretically powersave governor must be less resource hungry and lead to cooler system, am I right?"
yes and no
if the core is idle for a while it can be shut down
so at a higher frequency work can be done faster and the core can be shut down more of the time
in theory
[root@darkstar:~] # cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.97 ms.
hardware limits: 1.20 GHz - 3.30 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 1.20 GHz and 3.30 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 1.73 GHz (asserted by call to hardware).
.
.
.
.
analyzing CPU 7:
driver: intel_pstate
CPUs which run at the same hardware frequency: 7
CPUs which need to have their frequency coordinated by software: 7
maximum transition latency: 0.97 ms.
hardware limits: 1.20 GHz - 3.30 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 1.20 GHz and 3.30 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 1.73 GHz (asserted by call to hardware).
[root@darkstar:~] # modprobe cpufreq_conservative
[root@darkstar:~] # cpufreq-set --cpu 0 --governor conservative
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
[root@darkstar:~] # echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
bash: echo: write error: Invalid argument
@genss
I have same governors and same errors in debian jessie (kernel 3.16.7) so I don't think it is about kernel version
@reaperX7
I don't use nvidia chipset at all. intel 4000HD chipset can handel all of my works flawlessly.
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.97 ms.
hardware limits: 1.20 GHz - 3.30 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 1.20 GHz and 3.30 GHz.
The governor "powersave" may decide which speed to use
within this range.
With my meager knowledge of the topic, I can only assume that the governor is not loaded, not compiled into the kernel or not compiled as a module.
You should provide the output of the following commands so that we will all know what kernel, what kernel modules, what kernel config options you have for CPU FREQ, and the processor your Slackware system is running.
Code:
~# lsmod | grep cpu
~# uname -a
~# grep FREQ /boot/config-`uname -r`
~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
~# cat /proc/cpuinfo
What is happening on your Debian system is irrelevant. I assume that since you are posting to the Slackware forums, we are here to troubleshoot a Slackware system.
Quote:
I have same governors and same errors in debian jessie (kernel 3.16.7) so I don't think it is about kernel version
If you are using a custom kernel you compiled from source, please review the following link, and make sure you have the appropriate options enabled in your kernel to allow cpu-freq features to be available: http://docs.slackware.com/howtos:har...g_requirements
Please note the red text.
With my meager knowledge of the topic, I can only assume that the governor is not loaded, not compiled into the kernel or not compiled as a module.
As I said before in this topic. This is a Sandybridge+ CPU that uses the new intel_p state driver. Those CPU's do not support the ondemand governor and hence it isn't possible to use that one. Powersave is the default one to use from the two it supports. Check the docs for intel_p please.
~# lsmod | grep cpu
~# uname -a
~# grep FREQ /boot/config-`uname -r`
~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
~# cat /proc/cpuinfo
Ok, I will check these tonight and report the results.
Quote:
What is happening on your Debian system is irrelevant. I assume that since you are posting to the Slackware forums, we are here to troubleshoot a Slackware system.
I know that. I just wanted to say there is no difference between two different kernel versions (generic 3.10.17 in slackware and 3.16.7 in debian).
pstate-s powersave is what you want
maybe
if it is causing problems you can try ondemand
now you can't switch to ondemand with intel_pstate so it has to be disabled at boot
to do that you have to add "intel_pstate=disable" to the kernel command line
to do that you either add it at boot by pressing [TAB] when lilo shows up then type "name_of_kernel intel_pstate=disable"
(was a while since i used it, but its something like that)
or to do it permanently open /etc/lilo.conf and add " intel_pstate=disable" to the append= option, then run lilo (note the space)
when pstate is disabled you can try ondemand again
idk if it will behave properly, so look at what powertop say
(tab to "idle stats", C2 is where the cpu should spend most of its time)
bdw
powertop is good for checking what the cpu does power-wise
pstate also has options/information in /sys/devices/system/cpu/intel_pstate/, so cd there and cat around
i dont have an intel to check this things, so idk
remember C1 means lower frequency, C2 shuts down cores
gl
now you can't switch to ondemand with intel_pstate so it has to be disabled at boot
to do that you have to add "intel_pstate=disable" to the kernel command line
to do that you either add it at boot by pressing [TAB] when lilo shows up then type "name_of_kernel intel_pstate=disable"
By pressing tab I just can choose between huge and generic kernel. and can't add a command at all.
Quote:
or to do it permanently open /etc/lilo.conf and add " intel_pstate=disable" to the append= option, then run lilo (note the space)
I did. lilo warns about invalid parameter or something like that.
anyway. using xfce-cpufreq plugin I found that moesasji is right and I am somewhat impatient concerning laptop heat and decided to trust intel-pstate. thank you all for helping and providing great information about topic. by this thread I learnt a lot of useful things about my system.
One thing you may want to check is the actual laptop hardware. Over time, the laptop's fan will cause a build up of dust, hair, lint, etc in the heatsink. This can cause increased temperatures on something that shouldn't cause it (or it can cause them to remain high after the load is no longer on the CPU). I've cleaned many a laptop that sounded like a jet engine taking off before all the gunk was removed.
It isn't always the fix, but it's a good idea to check it anyway. You can try just using some canned air to blow it out, but your best bet is to take apart the laptop and clean it manually (some laptops have a panel over the heatsink that is easily removeable, but those seem to be pretty rare and most laptops you need to take out a lot of screws and usually the keyboard).
One thing you may want to check is the actual laptop hardware. Over time, the laptop's fan will cause a build up of dust, hair, lint, etc in the heatsink. This can cause increased temperatures on something that shouldn't cause it (or it can cause them to remain high after the load is no longer on the CPU). I've cleaned many a laptop that sounded like a jet engine taking off before all the gunk was removed.
It isn't always the fix, but it's a good idea to check it anyway. You can try just using some canned air to blow it out, but your best bet is to take apart the laptop and clean it manually (some laptops have a panel over the heatsink that is easily removeable, but those seem to be pretty rare and most laptops you need to take out a lot of screws and usually the keyboard).
Thanks for your advise, I use some kind of nano-technological cooling pad beneath my laptop. but Since Iranian carpets can act as a source of warp and woof, perhaps it's better to take apart and clean it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.