First of all, bonjour from France to everybody sharing their knowledge here. VL is great (still running a 5.1 on a Compaq 166 mHz 80 EDO RAM laptop and 5.8 Gold on a IBM 533 mHz 512 SDRAM!!!) even if sometimes it is like tuning a rally car, to get the full speed of driving (OK, not with those 2 boxes...). I almost found every answer here, so I will try to give back what I've found on that subject (please don't forget I'm a french native speaker =;+)
First perhaps this can help you http://www.vectorlinux.com/forum2/index.php?topic=1401.0
(it's about P4 - P3 and AMD).
Then a description of the problems I've got and how I've solved them. It's for my main box (VL 5.8 Gold) with an AMD Athlon 64 3700+(= 2,4 gHz), but perhaps some of the tips and commands could be helpful in this case, I don't know, I will just explain it...
First I wanted to use vcpufreq and I got that "cpufreq driver UNAVALAIBLE", even if it was after a fresh install! I've made a search on the forum and found this http://www.vectorlinux.com/forum2/index.php?topic=3047.0
. Like it is said I made a
modprobe -l | grep powernow
and get the output saying the modules are there.
didn't shown nothing like this
worked without error
showed the module and then I wrote "/sbin/modprobe powernow-k8" (without quotes) in /etc/rc.d/rc.modules, because like in the topic 3047.0, I don't have a line about this inside (why, I don't know).
I get back to vcpufreq, it was working and I put "ondemand", to get the full power just when needed, saved and choose every options for loading on boot time.
After a reboot, I wanted to have a look back to it and i got a message telling me "unable to set desired scaling governor" and that I have to "modprobe cpufreq_ondemand". I made it, no errors and then wrote also "/sbin/modprobe cpufreq_ondemand" in rc.modules and rebooted the box.
showed now "cpufreq_ondemand" used by "1" (without name), "powernow_k8" used by "0" and "freq_table" used by "1" (powernow_k8). I get back to vcpufreq, the same stupid message and I could set everything again to "ondemand". After a few reboot, it looked like it was impossible to save my setting, even if they were working in vcpufreq, because the freq was 1 gHz and no more 2,4 anymore, and this message added to the fact to have to set it back each time made me nuts!!! So I've searched furthermore and found in the Gentoo Wiki (another source of great knowledge, even if the configuration files have other names) this http://gentoo-wiki.com/HOWTO_PowerNow
So I did
dmesg | grep powernow
to see if my CPU is well recognized and it was (perhaps there is something like this for Intel?).
showed me my lovely "ondemand" (that was supposed to be there, nevertheless...).
I confirmed that my CPU was set (temporary @*!) to 1 gHz with
# cat /proc/cpuinfo
, then pushed it to the limits in an other console with
cat /dev/urandom > /dev/null
, which made the beast very busy (cancel with Ctrl+c), and looked back at the freq being now 2,4 gHz.
At last, I put
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
in /etc/rc.d/rc.local after the very last line and used the tip in topic 1995 "I also set up my XFCE to include the CPU Frequency Monitor in my panel (it's a plugin; right-click panel and choose 'Add New Item') so I can see what it's up to" (thanx the author).
So now, I'm writing this (and hearing the great band Frontline Assembly from Vancouver, Canada) with 1 gHz, what is really enough for it and my CPU goes wild just when it's needed, showed by the XFCE plugin (you can see it changing in "live", life is sooo beautiful
vcpufreq still give me the @*!<< message, and also "sh: /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed: permission denied" (the file doesn't even exist!) if I start it from the Console, but after show the right freq, so I don't care (but if somebody know why, I take it, just by curiosity...)!
So I hope that was some kind of help and not too long...