Jump to content

Experimental Intel SpeedStep kext


  • This topic is locked This topic is locked
290 replies to this topic

#21
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India

Not working on Q6600 overclocked to 3.0GHz on Gigabyte P35-DS4

http://pastebin.com/mefe5b2

Thanks!

Can you please post the output of sudo dmesg after loading the kext? Thanks. Also check your BIOS whether it has speedstep enabled.

#22
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Seems to be very "cool" also for desktop users with overclocked CPUs. If nothing to do, CPU can cool down more than with C1E (in BIOS enbaled/disabled like enhanced speedstep enabled/disabled).
Q: Does CE1 CPU engergiesaver works beside speedstep (bios of mainboard manage that) or does it nothing running OS X ?

PROBLEM:
Aftera view minutes working speedtep app quits (no more in menu).
Only that message in the syslog, no dmesg of your .kext.
login[2438]: DEAD_PROCESS: 2438 ttys000 (i know that 2438 was speedstep).

Now i will try CTB2 running insted of speedstep.

Working since 15 minutes without quitting like speedstep.
Only asking every 5 Min for admin pwd, i made the same trick to (sudo .....) as hint above some posts.

#23
wingrunr21

wingrunr21

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 496 posts
This is an update from my previous post.

Using SpeedStep.app is a lot better than the CPUThrottler. Mouse lag is non-existent or at least not noticeable except for when then CPU changes frequency. There is still a slight lag but otherwise rather smooth.

One interesting thing to note is that the kext is picking up an 800 mhz throttle level and a 2601 mhz throttle level. Neither one of these levels work. Here are the levels that do work: 1200 1600 2000 2600.

#24
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Now 2 hours later, all is OK. CTB2 is running and has not quit as SpeedStepp app.
Also stepping has worked all the time without any problem.

#25
eclau

eclau

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

Can you please post the output of sudo dmesg after loading the kext? Thanks. Also check your BIOS whether it has speedstep enabled.


The following items in BIOS are enabled:
CPU Enhanced Halt (C1E)
CPU Thermal Monitor (TM2)
CPU EIST Function

Output of sudo dmesg:
http://pastebin.com/m18674818

Also, same problem with E7200.

#26
DrDeelay

DrDeelay

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Germany
Hi there!

CPU Typ Mobile DualCore Intel Core 2 Duo T5500, 1666 MHz (10 x 167)
Motherboard Name BenQ Joybook R55v
Motherboard Chipsatz Mobile Intel Calistoga-PM i945PM
Arbeitsspeicher 2048 MB (DDR2 SDRAM)
DIMM1: Hynix HYMP512S64CP8-C4 1 GB DDR2-533 DDR2 SDRAM (5-4-4-12 @ 266 MHz) (4-4-4-12 @ 266 MHz) (3-3-3-9 @ 200 MHz)
DIMM3: Aeneon AET760SD00-30DB97X 1 GB DDR2-667 DDR2 SDRAM (5-5-5-15 @ 333 MHz) (4-4-4-12 @ 266 MHz) (3-3-3-9 @ 200 MHz)
BIOS Typ Phoenix (02/06/07)

Works great with Vanilla-Kernel 9.4. Can change Frequency manually and dynamic.

keep up the great work, please... :-)

DrDeelay!

#27
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 674 posts
  • Gender:Male
OMG so this is "The light at the end of the tunnel..."
Really great work guys!
Now my results:
INFO  P-State 0: 2401 MHz at 1212 mV, consuming 35 W
INFO  P-State 1: 2400 MHz at 1137 mV, consuming 35 W
INFO  P-State 2: 2000 MHz at 1100 mV, consuming 28 W
INFO  P-State 3: 1600 MHz at 1050 mV, consuming 22 W
INFO  P-State 4: 1200 MHz at 1000 mV, consuming 16 W
INFO  P-State 5: 800 MHz at 925 mV, consuming 14 W

bash-3.2# sysctl kern.cputhrottle_freqs
kern.cputhrottle_freqs: 800 1200 1600 2000 2400 2401 
bash-3.2# sysctl -w kern.cputhrottle_curfreq=800
kern.cputhrottle_curfreq: 2400 -> 1200
bash-3.2# sysctl -w kern.cputhrottle_curfreq=1200
kern.cputhrottle_curfreq: 1200 -> 1200
bash-3.2# sysctl -w kern.cputhrottle_curfreq=1600
kern.cputhrottle_curfreq: 1200 -> 1600
bash-3.2# sysctl -w kern.cputhrottle_curfreq=2000
kern.cputhrottle_curfreq: 1600 -> 2000
bash-3.2# sysctl -w kern.cputhrottle_curfreq=2400
kern.cputhrottle_curfreq: 2000 -> 2400
bash-3.2# sysctl -w kern.cputhrottle_curfreq=2401
kern.cputhrottle_curfreq: 2400 -> 2400
For some reason SpeedStep.app dosent like me :P beta app works but with bugs same sound problems but sound is ok when i switch freq manual in terminal so is not kext fault, only bug i found in kext is 800 & 2401 freq, both dosen't work. Also i notice a temp increase on stock freq 2400 ~51 C was never before more then 44 C
BTW that "cat /dev/urandom > /dev/null" keeps 1 core of cpu in 100% ;)
"sudo dmesg | grep IntelEnhancedSpeedStep" returns nothing on me.
Pastebin results

#28
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India
Hey people, please keep issues separate, ie. if it's an issue with one of the speedsteps apps, it is not in my control :D So if you are having problems, please close the speedstep apps and try throttling manually using the terminal (sysctl command).

Primarily I am testing the .kext because that's what's new. tuxx is working on improving SpeedStep.app (which will also support voltage changes). Will keep you all posted.

New kext will come tomorrow with a lot of the issues fixed. Please keep the test reports coming! Thanks.

#29
lovedahackintosh

lovedahackintosh

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
eagerly waiting the next version of this. i tried it on my inspiron 6000 (against your recommendation) and wasnt too successful. i am now using your beta 9.2 kernel from the other thread as my default as it is the only thing that FINALLY fixed my sound... even if i can only throttle down to 1ghz.

any chance this (as opposed to the custom 9.2 kernel) will eventually work for sse2 cpus?

#30
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 674 posts
  • Gender:Male
Until new beta is out here is my PC results:
[codebox]bash-3.2# sysctl kern.cputhrottle_freqs
kern.cputhrottle_freqs: 1596 2394
bash-3.2# dmesg | grep IntelEnhancedSpeedStep
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 0
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x827
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 0
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x827
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 0
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x827
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 0
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x827
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 0
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x827
IntelEnhancedSpeedStep: DBG Throttle done.
IntelEnhancedSpeedStep: DBG Throttling to PState 1
IntelEnhancedSpeedStep: DBG Starting throttle with CTL 0x51b
IntelEnhancedSpeedStep: DBG Throttle done.
bash-3.2# sysctl machdep.cpu && uname -a
machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 4096
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 32
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 4
machdep.cpu.logical_per_package: 4
machdep.cpu.extfeatures: XD EM64T
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS
HTT TM SSE3 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM
machdep.cpu.brand: 0
machdep.cpu.signature: 1787
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 58301
machdep.cpu.stepping: 11
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 0
machdep.cpu.model: 15
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel Core™2 Quad CPU Q6600 @ 2.40GHz
machdep.cpu.vendor: GenuineIntel
Darwin THeKiNG-PC.local 9.5.0 Darwin Kernel Version 9.5.0: Fri Jul 25 16:58:20 PDT 2008; root:xnu-1228.7.52~1/RELEASE_I386 i386
[/codebox]
Waiting for the new kext for testing!
Thanks!

#31
rhyguy

rhyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 204 posts
This doesnt work, as well as every other sppedstep solution out there

IntelEnhancedSpeedStep: WARN There was an error while getting PState array from ACPI

Dell inspiron 530, intel q6600

#32
zillac

zillac

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Works great here on Thinkpad T60p, C2D T7200, "1000 1333 1666 2000" all works.

Thanks for the great work.

#33
uuid

uuid

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
Q6600 on GA-P35-DS3L:

Kext loads and works fine when NOT overclocked. Available Frequencies are 1600 and 2400.
Load: http://pastie.org/249044
DMESG: http://pastie.org/249045 (and so on)

When OC'd, I get the often reported "IntelEnhancedSpeedStep: WARN There was an error while getting PState array from ACPI"

Thanks for the hard work! This is turning out to be a great kext! :tomato:
edit:
Sleep/resume works (did before)
Playback is smooth (3 HD videos simultaneously)
Changing frequencies between the two values seems to work (what is a reliable way to determine actual freq?)

#34
tuxx

tuxx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male

Changing frequencies between the two values seems to work (what is a reliable way to determine actual freq?)


the most reliable way is to read the "kern.cputhrottle_curfreq" value using sysctl. just do:

sudo sysctl -a kern.cputhrottle_curfreq

#35
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany

the most reliable way is to read the "kern.cputhrottle_curfreq" value using sysctl. just do:
sudo sysctl -a kern.cputhrottle_curfreq

Thanks.
Question:
Does the new speedstep.kext trottle allone (after setup as dynamic) or does it need an running App like CPUThrottler / SpeedStep too and stops throttling when no CPUThrottler/SpeedStep is running?
I dont need (always) an feedback how fast the cpu is running (App Window/Menue).

Would be great if , if it is possible to include the throttling in the speedstep.kext itself and use CPUThrottler only for setup/changing setup.

#36
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India
New kext out, check 1st page.

Kext does no throttling on its own. Either do it via terminal, or via one of the apps. In the future we may add autothrottle support.

SSE2 users: This will work but clock will be messed up. Even on my modified 9.2 kernel. Next beta 1.2.1 probably this evening will support sse2 with 9.2 rtc fixed kernel also, but no sleep with that unfortunately. A new universal 9.4 kernel with fixed clock+sleep is in the works as well.

Cheers.

#37
uuid

uuid

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

New kext out, check 1st page.


It works! Amazing, thanks so much! I'm running my Q6600 at 1.2 volts / 1600 MHz at the moment, and seems to be stable. Anything specific that I should test?

#38
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Retired Developers
  • 521 posts
  • Gender:Male
  • Location:India
SSE2 Users - version 1.2.1 now supports SpeedStep kernels with rtcfix! Set KernelFeatures to 1 in Info.plist to enable it!

#39
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 674 posts
  • Gender:Male
Well the new kext dosen't work on my lappie stuck on 2401 MHz and is the only freq reported! :)
On Pc same 2 value, only thing that is changed to me is the debug info on boot.
Waiting for new beta to test.
Keep up the good work, I can see the light XD

#40
r_o_o_s

r_o_o_s

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
I have a Dell D830 and I have now done som more testing. (system/kernel info below)
The bios setting dynamic accelleration seems to affect the kext.

with the old one (1.0 or 1.1 or whatever it was)

DA off: gives me 5 modes 800,1200,1600,2000,2001 (neither 800 nor 2001 works)
DA on: gives me 4 modes 800, 1200,1600,2000 (800 doesnt work, guess i need fixed kernel)

with 1.2.1b
DA off: gives me 3 modes (1200,1600,2000)
DA on: gives me 1 mode (2001)
Messing with kernelfeatures causes kernel panic


Sleep works with both kexts
Sound is affected the moment one changes mode, not else
Have a look at the end of this post for interesting voltage behaviour

/roos

_____________________________
INFO



roos-D830:~ roos$ sysctl machdep.cpu && uname -a
machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 4096
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 139808
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 2
machdep.cpu.logical_per_package: 2
machdep.cpu.extfeatures: XD EM64T
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM
machdep.cpu.brand: 0
machdep.cpu.signature: 1786
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 58301
machdep.cpu.stepping: 10
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 0
machdep.cpu.model: 15
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel® Core™2 Duo CPU T7300 @ 2.00GHz
machdep.cpu.vendor: GenuineIntel
Darwin roos-D830.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386

kern.cputhrottle_curfreq: 1200
kern.cputhrottle_curvolt: 1068
kern.cputhrottle_freqs: 1200 1600 2000
kern.cputhrottle_factoryvolts: 1068 1228 1388
kern.cputhrottle_ctl: 1559
roos-D830:~ roos$

roos-D830:~ roos$ sudo sysctl -w kern.cputhrottle_curvolt=1
Password:
kern.cputhrottle_curvolt: 1068 -> 1036





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy