RE: my Sager 4750 64-bit laptop with Suse 9.3 x86-64 I'm stuck at 800Mhz & want to run at 2400Mhz! cpuspeed and cpufrequtils are installed. cpuspeed in Suse 9.3 is renamed from cpufreq from earlier versions & I can't find very much info. My relevant dmesg info: ACPI: CPU0 (power states: C1[C1] C2[C2]) ACPI: Thermal Zone [THRM] (39 C) powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09e) powernow-k8: 0 : fid 0x10 (2400 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0xc (2000 MHz), vid 0xa (1300 mV) powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xe (1200 mV) powernow-k8: 3 : fid 0x0 (800 MHz), vid 0x12 (1100 mV) cpu_init done, current fid 0x0, vid 0x0 Runlevel_Editor shows: acpid not enabled cpuspeed not enabled powersaved enabled In yast, /etc/sysconfig-Editor, system, powermngt, CPUFREQ_MODULE I have powernow-k8.ko (for x86-64) In yast, /etc/sysconfig-Editor, system, powersave/cpu/powersave_CPUFREQD_MODULE I have a blank space but it says: "The powersaved startscript will load this module for CPU frequency scaling support. If nothing is specified here, the most common cpufreq modules will be tried. Entering the correct module will reduce the warnings in syslog during boot and probably speed up booting a bit. Entering "off" will skip trying to load cpufreq modules and avoid warnings on machines with no cpufreq-capable hardware." In /lib/modules/2.6.11.4-21.7-default/kernel/arch/x86_64/kernel/cpufreq I have these modules available to use: acpi-cpufreq.ko, and powernow-k8.ko jim@laptop:~> cpufreq-info cpufrequtils 0.2: cpufreq-info © Dominik Brodowski 2004 Report errors and bugs to linux@brodo.de, please. analyzing CPU 0: driver: powernow-k8 CPUs which need to switch frequency at the same time: 0 hardware limits: 800 MHz - 2.40 GHz available frequency steps: 2.40 GHz, 2.00 GHz, 1.80 GHz, 800 MHz (--all of which are the same as the data in the files in /sys/devices/system/cpu/cpu0/cpufreq) available cpufreq governors: userspace, performance current policy: frequency should be within 800 MHz and 2.40 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 800 MHz. jim@laptop:~> man userspace No manual entry for userspace jim@laptop:~> man cpufreq No manual entry for cpufreq man cpuspeed This daemon needs cpufreq support in the kernel. If this is build as modules you have to load the modules 'speedstep-centrino' or 'speed‐ step' for mobile Intel processors or 'powernow-k6' or 'powernow-k7' for mobile AMD processors. After that you still need the module 'userspace'. note: I can't find the module 'userspace' & don't know where to put it if I could find it! Readings: 1. /usr/share/doc/packages/cpuspeed/README.SuSE CPU frequency scaling This package (cpuspeed) has been renamed. It's former name was cpufreqd. It can be found on the author's (Carl Thompson) homepage: http://carlthompson.net/Software/CPUSpeed/ This package is an alternative to the powersave package that provides the default daemon to control the frequency of your CPU and has a lot additional features concerning powersave issues. Consider that you can only run one of the daemons. To adjust the frequency of your CPU to the current workload you may use the cpuspeed. Start it via 'rccpuspeed start'. If you like it to be started at bootime, call 'chkconfig cpuspeed on' or use the YaST2 runlevel editor. The configuration variables are placed in /etc/sysconfig/powermanagement. Look for variable names starting with 'CPUSPEED_'. You may also use YaST sysconfig editor for configuration. If you need always full power for a certain period, you may call 'rccpuspeed high'. This will set the CPU persistent to it's maximum clock speed. If you want to save battery power you may call 'rccpuspeed low'. This will set the CPU persistent to it's minimum clock speed. To switch back to a variable CPU clock sleed call 'rccpuspeed reload' The cpuspeed startscript loads some needed kernel modules. At first one of 'speedstep-centrino', 'speedstep', 'powernow-k6' or 'powernow-k7'. This provides some CPU clock management information in /proc/cpufreq (2.4.x kernels) or /sys/devices/system/cpu*/cpufreq/* (2.6.x kernels). Have a look at /usr/src/linux/Documentation/cpufreq/ for details. The following processors are currently supported by cpufreq in 2.4.21 kernels(number is steadily increasing): AMD Elan - SC400, SC410 AMD mobile K6-2+ AMD mobile K6-3+ AMD mobile Duron/Athlon K7 AMD Athlon64 (should all support frequency scaling) Cyrix Media GXm Intel mobile PIII [*] and Intel mobile PIII-M on certain chipsets Intel Xeon Pentium M (Banias, Dothan) National Semiconductors Geode GX Transmeta Crusoe Multiprocessor machines (Opteron and EM64T) should work as well if they support CPU frequency scaling. If not try a BIOS update. [*] only certain Intel mobile PIII processors are supported. If you know that you own a speedstep-capable processor, pass the option "speedstep_coppermine=1" to the module speedstep.o See also the manpage cpuspeed(1). 2. /usr/share/doc/packages/cpuspeed/USAGE cpuspeed v1.2.1 This program monitors the system's idle percentage and reduces or raises the CPUs' clock speeds and voltages accordingly to minimize power consumption when idle and maximize performance when needed. This is the default. The program may also optionally be configured to reduce the CPUs' clock speeds if the temperature gets too high, NOT minimize their speeds if the computer's AC adapter is disconnected or maximize their speeds when the AC adapter is connected. By default this program will manage every CPU found in the system. Usage: cpuspeed [Options] Options: -d Tells the process to daemonize itself (run in background). -i <interval> Sets the interval between idle percentage tests and possible speed changes in tenths of a second (default is 20). -p <fast up> <threshold> Sets the CPU idle percentage thresholds. <fast up> is the idle percentage below which a CPU will be set to the highest possible speed. <threshold> is the idle percentage above which a CPU's speed will be decreased and below which a CPU's speed will be increased (defaults are 10 and 25). -m <minimum speed> Sets the minimum speed in KHz below which a CPU will not be set. -M <maximum speed> Sets the maximum speed in KHz above which a CPU will not be set. -t <temp file> <maxtemp> Sets the ACPI temperature file and the temperature at which CPUs will be set to minimum speed. -T <interval> Sets the interval at which the temperature will be polled in tenths of a second (default is 10). (Requires the '-t' option above.) -a <AC file> Sets the ACPI AC adapter state file and tells the program to set the CPUs to minimum speed when the AC adapter is disconnected. (This is the default but is changeable by the '-D' option below). -A <interval> Sets the interval at which the AC adapter state will be polled in tenths of a second (default is 50). (Requires the '-a' option above.) -C Run at maximum speed when AC adapter is connected. (Requires the '-a' option above.) -D Do NOT force minimum speed when AC adapter is disconnected. (Requires the '-a' option above.) -r Restores previous speed on program exit. -s <CPU> Manage only a single CPU. <CPU> specifies the number of the CPU to manage and is in the range 0 to (n-1) where 'n' is the number of CPUs in the system. Without this option the program creates copies of itself to manage every CPU in the system. To have a CPU stay at the highest clock speed to maximize performance send the process controlling that CPU the SIGUSR1 signal. To have a CPU stay at the lowest clock speed to maximize battery life send the process controlling that CPU the SIGUSR2 signal. To resume having a CPU's clock speed dynamically scaled send the process controlling that CPU the SIGHUP signal. Author: Carl Thompson - cet [at] carlthompson.net (copyright 2002 - 2005) This guy has had success with Gentoo install on the same laptop here: http://www.ser1.net/Files/Reviews/Sager4750.html "4.4. PowerManagement Make sure you compile the cpufreq_* modules for the kernel, load them on boot, emerge powernowd, and use rc-update to start it by default. It'll control adjusting your CPU frequency on demand. If you've compiled ACPI, which you should, the CPU temperature is in /proc/acpi/thermal_zones/THRM/temperature. Just 'cat' it. CPU information is in /proc/cpuinfo. You can also compile all of the i2c modules, emerge the lm-sensors package, and get some information from the motherboard. I don't know much about this, but there are several sensors, none of which I've been able to get any useful information out of. On the other hand, I don't know what I'm looking for, so..." What are 'i2c modules'? What is 'emerge the lm-sensors package'? I don't know either! That's all the info I have on the subject. I have tried various combos of modules in yast, /etc/sysconfig-Editor in various places to no avail. Ergo, I turn to the community for help getting cpuspeed functional -- thus getting my laptop to run at 2400Mhz. Any help will be greatly appreciated!
On Monday 20 June 2005 02:21, Col Jim Creech wrote:
RE: my Sager 4750 64-bit laptop with Suse 9.3 x86-64 I'm stuck at 800Mhz & want to run at 2400Mhz! cpuspeed and cpufrequtils are installed. cpuspeed in Suse 9.3 is renamed from cpufreq from earlier versions & I can't find very much info.
I observe the speed with alias "speed=cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed" Under no load, speed should give 800. Plug in the power cord, and try cat /dev/zero >/dev/null and observe what speed tells you (other shell). Kill the cat process to idle the CPU again, speed should go down to 800. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
In message from Col Jim Creech
RE: my Sager 4750 64-bit laptop with Suse 9.3 x86-64 I'm stuck at 800Mhz & want to run at 2400Mhz! cpuspeed and cpufrequtils are installed. cpuspeed in Suse 9.3 is renamed from cpufreq from earlier versions & I can't find very much info. .... If you've compiled ACPI, which you should, the CPU temperature is in /proc/acpi/thermal_zones/THRM/temperature. Just 'cat' it. CPU information is in /proc/cpuinfo. You can also compile all of the i2c modules, emerge the lm-sensors package, and get some information from the motherboard. I don't know much about this, but there are several sensors, none of which I've been able to get any useful information out of. On the other hand, I don't know what I'm looking for, so..."
What are 'i2c modules'? i2c-modules means kernel modules working for support of some basic features presented in any modern motherboard (I don't know exactly about laptop mobos) like I2C buses. This kernel modules are presented in any modern SuSE kernel.
What is 'emerge the lm-sensors package'? I don't know either! lm-sensors package is the package which allows you (using Health chips on your mobo) to measure temperatures in different points of your mobo, voltage vaues, fan speeds etc. lm-sensors contains (in particular) kernel modules and some utilities, and uses i2c-modules. lm-sensors also is presented in any SuSE distribution, and you should use sensors-detect utility to start lm_sensors configurations (see man for sensors, sensors-detect etc).
Yours Mikhail
That's all the info I have on the subject. I have tried various combos of modules in yast, /etc/sysconfig-Editor in various places to no avail. Ergo, I turn to the community for help getting cpuspeed functional -- thus getting my laptop to run at 2400Mhz.
Any help will be greatly appreciated!
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
participants (3)
-
Bernd Paysan
-
Col Jim Creech
-
Mikhail Kuzminsky