View previous topic :: View next topic |
Author |
Message |
GaMMa l33t
Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Sun Mar 14, 2004 10:14 pm Post subject: Problems with speed-stepping/cpu frequency |
|
|
I'm running a laptop that has a speedstepping feature, which essentially lowers the speed of the processor when CPU useage is lower. The problem with this is games speed up and slow down when the CPU decides to speed up and slow down. For a quick fix I can disable 'Intel Speedstepping' in the BIOS; however, this sets the processor at a fixed half power. So right now I'm looking for a way to disable speedstepping through the kernel or using software.
I've tried cpufreqd, speedfreq, and manually editing things; however, even if I sex the max and min speeds as the same value I still get this weird slowdown. So I need to find a way to totally disable this. Arghh! _________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Last edited by GaMMa on Sun Mar 21, 2004 6:43 pm; edited 1 time in total |
|
Back to top |
|
|
jbNet n00b
Joined: 07 Oct 2003 Posts: 39 Location: Oregon, USA
|
Posted: Mon Mar 15, 2004 6:29 pm Post subject: |
|
|
You are probably using kernel 2.4 or 2.6 but w/o the speedstepping options compiled in...
I had the same problem with 2.4, very annoying!!! but now I'm using 2.6 on my laptop... there is an option in the kernel under Power management options-->CPU Frequency Scaling for your specific 'brand' of scaling... check out the help on each option to find out which is right for you... make sure to enable the userspace govoner, then you can use all of those utilities you were talking about to manage your CPU speed, or you can just check performance and have the kernel automatically run your CPU at full blast. _________________ ~Jake B |
|
Back to top |
|
|
GaMMa l33t
Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Mon Mar 15, 2004 9:22 pm Post subject: |
|
|
I'm using the 2.6.4 kernel right now and I have compiled all those things in.
When typing dmesg in a command prompt this line shows up, so I know I do have speedstepping enabled.
Code: |
cpufreq: P4/Xeon(TM) CPU On-Demand Clock Modulation available
|
Yet for some reason games still run borked. UT2k4 runs fine in Windows.. _________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide] |
|
Back to top |
|
|
jbNet n00b
Joined: 07 Oct 2003 Posts: 39 Location: Oregon, USA
|
Posted: Mon Mar 15, 2004 10:04 pm Post subject: |
|
|
tell me what cat /proc/cpuinfo says... it should list your CPU clock freq... does this match the max? If not which govenor are you using? you can choose the default one during kernel compile, and it can be modified at runtime (I'm not 100% sure how, either through /sys or through /proc, I don't have my laptop here at work) If it's still not working for you I can check my laptop at home and post w/ more help _________________ ~Jake B |
|
Back to top |
|
|
GaMMa l33t
Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Tue Mar 16, 2004 3:11 am Post subject: |
|
|
Yea it's running at full speed. Have you tried playing UT2k4 or Postal 2? What program do you use to manage speedstepping? speedfreq can set the cpu speed to a constant value, which I've tried, yet I still get that slowdown.
Edit: I'm using the 'Intel Pentium 4 clock modulation' driver for CPU frequency scaling.
Code: |
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3056.853
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips : 6045.69
|
_________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide] |
|
Back to top |
|
|
jbNet n00b
Joined: 07 Oct 2003 Posts: 39 Location: Oregon, USA
|
Posted: Tue Mar 16, 2004 6:22 pm Post subject: |
|
|
hrm I wonder if the CPU isn't the problem... sure enough your CPU seems to be running at full bore (This is a LAPTOP? wow [drool])... maybe the problem is graphics... try
Code: | glxinfo | grep "direct rendering: " |
Do you get Yes? if not then your graphics chip isn't doing a spit of work to help your processor... if that's the case what type of graphics do you have in there? have you tried to set up direct rendering yet? _________________ ~Jake B |
|
Back to top |
|
|
snowmoon n00b
Joined: 05 Jun 2002 Posts: 64 Location: Albany,NY USA
|
Posted: Tue Mar 16, 2004 8:06 pm Post subject: |
|
|
The other thing that jumps out is this slowdown sounds more like HD performace than CPU... What kernel are you running? Did you build it yourself? |
|
Back to top |
|
|
GaMMa l33t
Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Tue Mar 16, 2004 11:14 pm Post subject: |
|
|
I've got direct rendering and I'm running a Geforce FX Go5200. I'm running the 2.6.4 kernel built by me. Don't forget these games work fine in Windows. _________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide] |
|
Back to top |
|
|
|