Jump to content

New version 1.1 of GenericCPUPowerManagement


Superhai
 Share

625 posts in this topic

Recommended Posts

Hi.

I have a question regarding this kext for speedstep : GenericIntelCPUPowerManagement.kext

If i load it using the instructions and then launch GenericIntelCPUPMControl. I can see by monitoring voltage and frequency that my CPU does Throttle even if i don't have Auto Throttle selected. Does this mean that my Bios takes care of it and i don't need to have the kext loaded or is it the kext that enables it? E.g. I only need to load the kext etc if i want to control manually or adjust the auto throttle in the app?

 

BTW seems to work ok for me, frequenzy readings are as correct as they can be etc Q6600..

Link to comment
Share on other sites

OK, here is a screen shot and the logs from the new version. See for yourself that the frequency issue still exist, now it's even funnier than before (~3000MHz is the lowest 250MHz the highest)!

Logs:

 

 

bash-3.2# grep GenericIntelCPUPowerManagement /var/log/system.log

 

Sep 2 23:31:46 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Generic Intel CPU Power Management driver 1.0 © 2008 Superhai Development Co

 

Sep 2 23:31:46 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

Sep 2 23:32:53 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Generic Intel CPU Power Management driver 1.0 © 2008 Superhai Development Co

 

Sep 2 23:32:53 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

Sep 4 19:31:09 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Generic Intel CPU Power Management driver 1.0 © 2008 Superhai Development Co

 

Sep 4 19:31:09 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

Sep 4 19:33:28 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Generic Intel CPU Power Management driver 1.0 © 2008 Superhai Development Co

 

Sep 4 19:33:28 fidel-castros-gericom kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

bash-3.2# ioreg -lw0 | grep PerformanceStateArray

 

| | "PerformanceStateArray" = (<35080000b88800000a0000000a000000284b0000284b0000>,<34080000b88800000a0000000a000000224a0000224a0000>,<40060000c05d00000a0000000a0000001c0800001c080000>,<b0040000803e00000a0000000a0000001706000017060000>,<20030000b03600000a0000000a0000001388000013880000>)

 

bash-3.2#

screen.tiff

Link to comment
Share on other sites

the combination of kext from here

LINK

with speedstep.app is working if i define the pstates manually in plist.

 

Yeah I have real problems with this laptop. ACPI-related

 

linux

no speedstep at all, no display after wake from sleep, no usb 2.0

 

windows

speedstep only with RMclock, no S3 available at all, usb 2.0 only with vendors super old intel chipset driver

 

osx

speedstep working with IntelEnhancedSpeedStep.kext v1.3.2 (with manual plist edit), no display after wake from sleep, but machine responds to ping over network, no usb 2.0, hardrive spinning down and up every few seconds

no sound

 

so, as you can see big problems :(

 

is your kext manually editable for unrecognized p-states?

Link to comment
Share on other sites

the 1.0.3 version can set my CPU at 2000 mhz (before only 1800), but still can not go to 800 mhz (1200 as lowest).

 

Im on a C2D T7250. Thats the ioreg output:

 

PerformanceStateArray" = (<d1070000b88800000a0000000a0000002d0b00002d0b0000>,<d0070000b88800000a0000000a000000250a0000250a0000>,<40060000a86100000a0000000a0000001c0800001c080000>,<b0040000803e00000a0000000a0000001206000012060000>,<20030000b03600000a0000000a0000000b8800000b880000>)

 

CPU Type	   [Intel(R) Core(TM)2 Duo CPU	 T7250  @ 2.00GHz]
CPU Signature  [06FDh] Mobile CPU [Y] Latency [10] us
Max multiplier [x10] Half multiplier [_____] TjMAX [100] C
Control Max	[__________] Min [__________]
Range: Frequency [800] MHz to [2000] MHz, Voltage [850] mV to [1292] mV
Voltage stepping [16] mV.
CPU Family	   [6] Model [15] Stepping [13]

Link to comment
Share on other sites

Tested with vanilla 10.5.4 kernel with original AppleACPI with the setup in my sig.

 

CPU Info:

CPU Type		 [ Core 2 Duo E6850 ]
CPU Signature	[ 0x6fb ]	Mobile CPU [ N ]	Latency [ ] us
Max multiplier   [ x9 ]	Half multiplier [ N ]	TjMAX [ 72 ] C
Control Max	  [ ]	Min [ ] 
Range: Frequency [ 2000 ] MHz to [ 3000 ] MHz,	Voltage [ 1136 ] mV to [ 1312 ] mV
Voltage stepping [ ] mV.
CPU Family	   [ 6 ] Model [ F ] Stepping [ G0 ]
Intel Model Num  [ SLA9U ]

Geekbench2 reports: GenuineIntel Family 6 Model 15 Stepping 11

 

Manual speed ranges shows these results:

Speed Setting	Result
1998 - 2328	=  1998
2331 - 2661	=  2331
2664 - 2994	=  2664
   2997	=  2997

 

Sample Log output from system.log

Sep  5 00:33:55 Gidra kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.
Sep  5 00:48:09 Gidra kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 00:48:09 Gidra kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Probing your system
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: CPU is Intel
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Support for Enhanced Intel SpeedStep
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Thermal CPU adjustment factor available
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Thermal sensor available
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU's at address 8560b80
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU at address 62ade80 CPU number 0 with name CPU0
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU at address 62add00 CPU number 1 with name CPU1
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Intel Core 2 Duo/Quad/Extreme, Pentium Dual-Core, Xeon (06 0Fh) (65nm)
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: CPU signature is 6fb
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: New P-State routine detection
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-State 0 : CTL 92b -> FID 9 & VID 2b, nominal frequency of 2997, calculated of 2997 and voltage of 1250 mV
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-State 1 : CTL 823 -> FID 8 & VID 23, nominal frequency of 2664, calculated of 2664 and voltage of 1150 mV
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-State 2 : CTL 71b -> FID 7 & VID 1b, nominal frequency of 2331, calculated of 2331 and voltage of 1050 mV
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-State 3 : CTL 613 -> FID 6 & VID 13, nominal frequency of 1998, calculated of 1998 and voltage of 950 mV
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Thermal Junction Max is 100 C current temperature is 38 C
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: We have our device tree at 60bb780
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU's at address 619f080
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 619f480, CPU number 0 with name CPU0
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Desktop GBT   
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: We want to take control of Speedstep from BIOS, writing 34 to port b2
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 619f600, CPU number 1 with name CPU1
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 619f580, CPU number 2 with name CPU2
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 619f800, CPU number 3 with name CPU3
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Mismatch between I/O Kit CPUs (2) and ACPI CPUs (4)
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: ----------------------------------------------------------------------------------
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: ----------------------------------------------------------------------------------
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 0
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: EIST Enabled and Unlocked
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Clock rate: CPU 2997 MHz - Bus 1332 MHz - Dec 1000 MHz
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Bus clock rate 100000000 - den 1
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Bus/CPU rate 9 - den 2
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Bus/dec rate 1 - den 0
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Timebase frequency 1000000000 hz
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: CPU min/max (1998 MHz - 2997 MHz)
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Bus min/max (1332 MHz - 1332 MHz)
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: We have loaded completely and ready for action
Sep  5 01:15:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: No throttle, same state
Sep  5 01:15:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 3, but was supposed to be 0
Sep  5 01:15:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: No throttle, same state
Sep  5 01:15:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Turning On Auto Throttle
Sep  5 01:15:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
Sep  5 01:15:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 01:15:05 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
Sep  5 01:15:05 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 01:15:07 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 0, but was supposed to be 3
Sep  5 01:15:07 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 2997 -> 2331
Sep  5 01:15:07 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 70%, temperature 38 C
Sep  5 01:15:07 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2331
Sep  5 01:15:07 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1062
Sep  5 01:15:09 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 2331 -> 2664
Sep  5 01:15:09 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 83%, temperature 34 C
Sep  5 01:15:09 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2331
Sep  5 01:15:09 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1150
Sep  5 01:15:11 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 2664 -> 2997
Sep  5 01:15:11 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 69%, temperature 37 C
Sep  5 01:15:11 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2664
Sep  5 01:15:11 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 01:15:13 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
Sep  5 01:15:13 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 01:15:15 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 3, but was supposed to be 0
Sep  5 01:15:15 Gidra kernel[0]: GenericIntelCPUPowerManagement: No throttle, same state
Sep  5 01:15:15 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle to lowest, cpu load 5%, temperature 34 C
Sep  5 01:15:15 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1998

 

I am getting throttling however reaction seems to be a bit slow (2 seconds?) with threshold/intervals set at minimum.

 

Here's a sample geekbench2 run on Auto:

Sep  5 02:09:41 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1062
Sep  5 02:09:41 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 1998 -> 2331
Sep  5 02:09:41 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 34%, temperature 35 C
Sep  5 02:09:41 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2331
Sep  5 02:09:41 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1062
Sep  5 02:09:42 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 2331 -> 2664
Sep  5 02:09:42 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 84%, temperature 37 C
Sep  5 02:09:42 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2331
Sep  5 02:09:42 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1150
Sep  5 02:09:43 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 2664 -> 2997
Sep  5 02:09:43 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle Up, cpu load 68%, temperature 36 C
Sep  5 02:09:43 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2664
Sep  5 02:09:43 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:09:44 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
Sep  5 02:09:44 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:09:45 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
.
.
Sep  5 02:10:01 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 2997
Sep  5 02:10:01 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:10:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1998
Sep  5 02:10:02 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:10:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 3, but was supposed to be 0
Sep  5 02:10:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: No throttle, same state
Sep  5 02:10:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Throttle to lowest, cpu load 6%, temperature 35 C
Sep  5 02:10:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1998
Sep  5 02:10:03 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:10:04 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1998
Sep  5 02:10:04 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current voltage 1237
Sep  5 02:10:05 Gidra kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1998

 

4036 with Auto Throttling (minimal threshold and interval) and 4052 set at full speed.

 

Frequency bar graph never hits max.

 

Unfortunately I am not getting results with ioreg -lw0 | grep PerformanceStateArray

 

Hope this helps

Link to comment
Share on other sites

"Unfortunately I am not getting results with ioreg -lw0 | grep PerformanceStateArray"

SAME FOR ME - i think thats because you/i have some ACPI (BIOS) Problems , so PSTATES can read from OS X, only direct (CPU).

Superhai uses for us an direct way (not over OS X device Tree) to get those values. It doenst matter really.

Link to comment
Share on other sites

See my signature as reference,

 

CPU Type [Core2Quad]

CPU Signature [__________] Mobile CPU [x] Latency [_____] us

Max multiplier [9] Half multiplier [x] TjMAX [_____] C

Control Max [2394] Min [1596]

Range: Frequency [_____] MHz to [_____] MHz, Voltage [_____] mV to [_____] mV

Voltage stepping [_____] mV.

CPU Family [_____] Model [_____] Stepping [G0]

 

how do i get those value in mac? i need cpuz?

 

Sep  5 20:13:39 localhost kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 20:13:39 localhost kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

ioreg -lw0 | grep PerformanceStateArray

 

not result for this, why?

 

p.s. the program works fine for me.

Link to comment
Share on other sites

ioreg -lw0 | grep PerformanceStateArray
| |		 "PerformanceStateArray" = (<40060000187900000a0000000a000000240c0000240c0000>,<35050000a86100000a0000000a0000001f0a00001f0a0000>,<2b040000384a00000a0000000a0000001908000019080000>,<20030000c83200000a0000000a0000001306000013060000>)

 

 

Geekbench 2.0.19:

 

Platform: Mac OS X x86 (32-bit)
Compiler: GCC 4.0.1 (Apple Inc. build 5484)
Operating System: Mac OS X 10.5.4 (Build 9E17)
Model: Hackintosh
Motherboard: SAMSUNG ELECTRONICS CO., LTD. R55S			Not Applicable
Processor: Intel(R) Core(TM)2 CPU		 T5200  @ 1.60GHz
Processor ID: GenuineIntel Family 6 Model 15 Stepping 6
Logical Processors: 2
Physical Processors: 1
Processor Frequency: 1.60 GHz
L1 Instruction Cache: 32.0 KB
L1 Data Cache: 32.0 KB
L2 Cache: 2.00 MB
L3 Cache: 0.00 B
Bus Frequency: 532 MHz
Memory: 2.00 GB
Memory Type: 667 MHz DDR2 SDRAM
SIMD: 1
BIOS: Phoenix Technologies LTD DFCC
Processor Model: Intel Core 2 Duo T5200

Integer (Score: 1787)
Blowfish single-threaded scalar -- 1322, 1.0, 58.1 MB/sec
Blowfish multi-threaded scalar -- 2671, 1.9, 109.5 MB/sec
Text Compress single-threaded scalar -- 1243, 1.0, 3.98 MB/sec
Text Compress multi-threaded scalar -- 2193, 1.8, 7.19 MB/sec
Text Decompress single-threaded scalar -- 1102, 1.0, 4.53 MB/sec
Text Decompress multi-threaded scalar -- 2121, 1.9, 8.45 MB/sec
Image Compress single-threaded scalar -- 1145, 1.0, 9.46 Mpixels/sec
Image Compress multi-threaded scalar -- 2165, 1.9, 18.2 Mpixels/sec
Image Decompress single-threaded scalar -- 925, 1.0, 15.5 Mpixels/sec
Image Decompress multi-threaded scalar -- 1698, 1.8, 27.7 Mpixels/sec
Crafty Chess single-threaded scalar -- 1331, 1.0, 673.0 Knodes/sec
Crafty Chess multi-threaded scalar -- 2296, 1.7, 1.11 Mnodes/sec
Lua single-threaded scalar -- 1702, 1.0, 655.6 Knodes/sec
Lua multi-threaded scalar -- 3117, 1.8, 1.20 Mnodes/sec

Floating Point (Score: 2892)
Mandelbrot single-threaded scalar -- 1190, 1.0, 792.1 Mflops
Mandelbrot multi-threaded scalar -- 2216, 1.8, 1.45 Gflops
Dot Product single-threaded scalar -- 1875, 1.0, 906.1 Mflops
Dot Product multi-threaded scalar -- 3792, 1.9, 1.73 Gflops
Dot Product single-threaded vector -- 1194, 1.6, 1.43 Gflops
Dot Product multi-threaded vector -- 2557, 2.9, 2.66 Gflops
LU Decomposition single-threaded scalar -- 456, 1.0, 406.6 Mflops
LU Decomposition multi-threaded scalar -- 910, 2.0, 798.2 Mflops
Primality Test single-threaded scalar -- 2248, 1.0, 335.9 Mflops
Primality Test multi-threaded scalar -- 3202, 1.8, 594.3 Mflops
Sharpen Image single-threaded scalar -- 3198, 1.0, 7.46 Mpixels/sec
Sharpen Image multi-threaded scalar -- 5875, 1.8, 13.5 Mpixels/sec
Blur Image single-threaded scalar -- 4132, 1.0, 3.27 Mpixels/sec
Blur Image multi-threaded scalar -- 7649, 1.8, 6.01 Mpixels/sec

Memory (Score: 1530)
Read Sequential single-threaded scalar -- 2336, 1.0, 2.86 GB/sec
Write Sequential single-threaded scalar -- 1740, 1.0, 1.19 GB/sec
Stdlib Allocate single-threaded scalar -- 1238, 1.0, 4.62 Mallocs/sec
Stdlib Write single-threaded scalar -- 1060, 1.0, 2.20 GB/sec
Stdlib Copy single-threaded scalar -- 1279, 1.0, 1.32 GB/sec

Stream (Score: 1321)
Stream Copy single-threaded scalar -- 1319, 1.0, 1.80 GB/sec
Stream Copy single-threaded vector -- 1418, 1.0, 1.84 GB/sec
Stream Scale single-threaded scalar -- 1355, 1.0, 1.76 GB/sec
Stream Scale single-threaded vector -- 1391, 1.1, 1.88 GB/sec
Stream Add single-threaded scalar -- 1213, 1.0, 1.83 GB/sec
Stream Add single-threaded vector -- 1370, 1.0, 1.91 GB/sec
Stream Triad single-threaded scalar -- 1299, 1.0, 1.79 GB/sec
Stream Triad single-threaded vector -- 1203, 1.3, 2.25 GB/sec

 

sSpec#	CPU Speed	   Processor #	Cores	Bus Speed	   Mfg Tech 	Stepping	Cache Size		Package	PCG
SL9VP	 1.60 GHz		 T5200		2			  533 MHz		 65 nm		B2			2 MB				Micro-FCPGA	N/A

 

 

Both without the kext/app!

 

Now testing...

Link to comment
Share on other sites

With loaded kext/app:

 

grep GenericIntelCPUPowerManagement /var/log/system.log
Sep  5 14:48:12 macintosh kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 14:48:12 macintosh kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.

 

ioreg -lw0 | grep PerformanceStateArray
| |		 "PerformanceStateArray" = (<40060000187900000a0000000a000000240c0000240c0000>,<35050000a86100000a0000000a0000001f0a00001f0a0000>,<2b040000384a00000a0000000a0000001908000019080000>,<20030000c83200000a0000000a0000001306000013060000>)

 

 

Geekbench 2.0.19:

 

Platform: Mac OS X x86 (32-bit)
Compiler: GCC 4.0.1 (Apple Inc. build 5484)
Operating System: Mac OS X 10.5.4 (Build 9E17)
Model: Hackintosh
Motherboard: SAMSUNG ELECTRONICS CO., LTD. R55S			Not Applicable
Processor: Intel(R) Core(TM)2 CPU		 T5200  @ 1.60GHz
Processor ID: GenuineIntel Family 6 Model 15 Stepping 6
Logical Processors: 2
Physical Processors: 1
Processor Frequency: 1.60 GHz
L1 Instruction Cache: 32.0 KB
L1 Data Cache: 32.0 KB
L2 Cache: 2.00 MB
L3 Cache: 0.00 B
Bus Frequency: 532 MHz
Memory: 2.00 GB
Memory Type: 667 MHz DDR2 SDRAM
SIMD: 1
BIOS: Phoenix Technologies LTD DFCC
Processor Model: Intel Core 2 Duo T5200

Integer (Score: 1779)
Blowfish single-threaded scalar -- 1030, 1.0, 45.3 MB/sec
Blowfish multi-threaded scalar -- 2679, 2.4, 109.8 MB/sec
Text Compress single-threaded scalar -- 1241, 1.0, 3.97 MB/sec
Text Compress multi-threaded scalar -- 2206, 1.8, 7.24 MB/sec
Text Decompress single-threaded scalar -- 1103, 1.0, 4.53 MB/sec
Text Decompress multi-threaded scalar -- 2130, 1.9, 8.49 MB/sec
Image Compress single-threaded scalar -- 1141, 1.0, 9.43 Mpixels/sec
Image Compress multi-threaded scalar -- 2145, 1.9, 18.0 Mpixels/sec
Image Decompress single-threaded scalar -- 924, 1.0, 15.5 Mpixels/sec
Image Decompress multi-threaded scalar -- 1787, 1.9, 29.2 Mpixels/sec
Crafty Chess single-threaded scalar -- 1320, 1.0, 667.4 Knodes/sec
Crafty Chess multi-threaded scalar -- 2345, 1.7, 1.14 Mnodes/sec
Lua single-threaded scalar -- 1694, 1.0, 652.5 Knodes/sec
Lua multi-threaded scalar -- 3169, 1.9, 1.22 Mnodes/sec

Floating Point (Score: 2929)
Mandelbrot single-threaded scalar -- 1189, 1.0, 791.1 Mflops
Mandelbrot multi-threaded scalar -- 2302, 1.9, 1.51 Gflops
Dot Product single-threaded scalar -- 1875, 1.0, 906.1 Mflops
Dot Product multi-threaded scalar -- 3656, 1.8, 1.67 Gflops
Dot Product single-threaded vector -- 1284, 1.7, 1.54 Gflops
Dot Product multi-threaded vector -- 2643, 3.0, 2.75 Gflops
LU Decomposition single-threaded scalar -- 455, 1.0, 405.1 Mflops
LU Decomposition multi-threaded scalar -- 908, 2.0, 796.9 Mflops
Primality Test single-threaded scalar -- 2246, 1.0, 335.5 Mflops
Primality Test multi-threaded scalar -- 3210, 1.8, 595.8 Mflops
Sharpen Image single-threaded scalar -- 3190, 1.0, 7.44 Mpixels/sec
Sharpen Image multi-threaded scalar -- 6201, 1.9, 14.3 Mpixels/sec
Blur Image single-threaded scalar -- 4132, 1.0, 3.27 Mpixels/sec
Blur Image multi-threaded scalar -- 7727, 1.9, 6.08 Mpixels/sec

Memory (Score: 1530)
Read Sequential single-threaded scalar -- 2339, 1.0, 2.86 GB/sec
Write Sequential single-threaded scalar -- 1730, 1.0, 1.18 GB/sec
Stdlib Allocate single-threaded scalar -- 1246, 1.0, 4.65 Mallocs/sec
Stdlib Write single-threaded scalar -- 1054, 1.0, 2.18 GB/sec
Stdlib Copy single-threaded scalar -- 1284, 1.0, 1.32 GB/sec

Stream (Score: 1320)
Stream Copy single-threaded scalar -- 1231, 1.0, 1.68 GB/sec
Stream Copy single-threaded vector -- 1404, 1.1, 1.82 GB/sec
Stream Scale single-threaded scalar -- 1368, 1.0, 1.78 GB/sec
Stream Scale single-threaded vector -- 1318, 1.0, 1.78 GB/sec
Stream Add single-threaded scalar -- 1170, 1.0, 1.77 GB/sec
Stream Add single-threaded vector -- 1594, 1.3, 2.22 GB/sec
Stream Triad single-threaded scalar -- 1284, 1.0, 1.77 GB/sec
Stream Triad single-threaded vector -- 1191, 1.3, 2.23 GB/sec

 

 

Nothing done, just loaded kext, then the app and set interval to 100ms.

 

Throttling works perfectly i think, no issues seen yet: 798Mhz, 950mV, 0%, 62 C with Safari and Geekbench opened. When Geekbench begins to test all values go up immediately!

 

 

Great work MegaHai! :(

 

 

PS: Does it AutoThrottle without the app loaded?

Link to comment
Share on other sites

Bad news. Loading the kext from the command line just freezes the system. Loading the kext at boot time causes a kernel panic.

 

The original mercurysquad 1.3.2 kext appears to work OK using sysctl to change frequency although I see no difference in CPU temperature even after reducing down to 600MHz/748mV from 1700MHz/1484mV.

 

The system is a Dell Precision M60 with 1.7GHz Pentium M running 10.5.4 from a retail install with about 6 kexts changed/removed. The kernel is mercurysquad's 9.4 & most everything is working although at present waking from sleep the screen stays black although the system is OK & I can use ssh or VNC to connect to it.

Link to comment
Share on other sites

Well it's not for Mac's. Hack's maybe, but killed my Macbook Pro. Had to kill it via command line in the install disk, cause it wouldn't stop killing the startup. In verbose mode it hung too after the "this data might be bogus" message. Can you make a mac version too?

 

Edit: Could it be because I am running 10.5.5? Not 10.5.4 or older too? Just a thought.

Link to comment
Share on other sites

Works good here...

 

It finds 4 P-States (Before i have to manualy sets it, mecury's kext finds only 2 pStates...)

 

Really good work... But i continue to use old 1.4 kext, because it more smooth with... (window animations, movies...)

 

Can we manualy undervolt our proc ?? Like 1.4 old kext ... Is the only thing i regret...with smoothing !

 

"PerformanceStateArray" = (<dc050000b88800000a0000000a0000002b0900002b090000>,<e8030000803e00000a0000000a0000001306000013060000>)

 

 

ep  5 22:08:29 CaribouZland kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 22:08:29 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Probing your system
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: CPU is Intel
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Support for Enhanced Intel SpeedStep
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Thermal CPU adjustment factor available
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Thermal sensor available
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU's at address 75c3680
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU at address 4cb7400 CPU number 0 with name P001
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found I/O Kit CPU at address 4cb7480 CPU number 1 with name P002
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Intel Core 2 Duo/Quad/Extreme, Pentium Dual-Core, Xeon (06 0Fh) (65nm)
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: CPU signature is 6fd
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: New P-State routine detection
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-State 0 : CTL 92b -> FID 9 & VID 2b, nominal frequency of 1503, calculated of 1503 and voltage of 1250 mV
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-State 1 : CTL 823 -> FID 8 & VID 23, nominal frequency of 1336, calculated of 1336 and voltage of 1150 mV
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-State 2 : CTL 71b -> FID 7 & VID 1b, nominal frequency of 1169, calculated of 1169 and voltage of 1050 mV
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-State 3 : CTL 613 -> FID 6 & VID 13, nominal frequency of 1002, calculated of 1002 and voltage of 950 mV
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Thermal Junction Max is 100 C current temperature is 58 C
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: We have our device tree at 4bb97c0
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU's at address 4c92880
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 4c92200, CPU number 0 with name P001
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Mobile A_M_I_
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: We want to take control of Speedstep from BIOS, writing e2 to port b2
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PCT is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PSS is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PPC is of type OSNumber
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PSD is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Found ACPI CPU at address 4c92100, CPU number 1 with name P002
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: P-States already populated
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PCT is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PSS is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PPC is of type OSNumber
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: _PSD is of type OSArray
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: ----------------------------------------------------------------------------------
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement:   Generic Intel CPU Power Management driver 1.0 (C) 2008 Superhai Development Co
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Based on the Great Mercurysquads work. For internal use only. All Rights Reserved.
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: ----------------------------------------------------------------------------------
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Current P-State running is 0
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: EIST Enabled and Locked
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Clock rate: CPU 1002 MHz - Bus 668 MHz - Dec 1000 MHz
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Bus clock rate 100000000 - den 1
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Bus/CPU rate 6 - den 2
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Bus/dec rate 1 - den 0
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Timebase frequency 1000000000 hz
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: CPU min/max (1002 MHz - 1503 MHz)
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Bus min/max (668 MHz - 668 MHz)
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: We have loaded completely and ready for action
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 1002 -> 1503
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Throttling CPU 1503 -> 1002
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Turning On Auto Throttle
Sep  5 22:17:53 CaribouZland kernel[0]: GenericIntelCPUPowerManagement: Current frequency 1002
.....

Link to comment
Share on other sites

I can't try our test.

 

My hack freeze here : kextload GenericIntelCPUPowerManagement.kext

 

and i can report you this :

"PerformanceStateArray" = (<40060000c05701000a0000000a0000002808000028080000>)

 

CPU Type [Core 2 Duo E4500]

CPU Signature [?] Mobile CPU [NO] Latency [?] us

Max multiplier [11] Half multiplier [6] TjMAX [55] C

Control Max [8*366=2928] Min [6*366=2196]

Range: Frequency [2928] MHz to [1200] MHz, Voltage [Default] mV to [Default] mV

Voltage stepping [Default] mV.

CPU Family [6] Model [F] Stepping [D] revision [M0]

 

If it could helpme to have the speedstep...

 

PS : i've only windows on my parallels emultor, not natively.

Link to comment
Share on other sites

I found out: most E C2D have more than one version(Core stepping) with different tMax.

CPU Type [__________E4400 (2.0 GHZ@2.33)________________________________________]

so changes for my E4400 Stepping L2 , 6f2, C1E=12 Watt (CPU Sig is the key for getting your Stepping, Sig 6fd = M0 (newer, LESS C1E=8 Watt)

CPU Signature [6f2] Mobile CPU [No] Latency [_____] us

Max multiplier [10] Half multiplier [No] TjMAX [_61.4 (L2) insted of 73.3(M0)____] C

You can find that TjMAX, Core Stepping(=Version), Watts:

http://processorfinder.intel.com/Default.aspx

Link to comment
Share on other sites

I have tried a couple of other kernels (ToH 9.2, StageXNU 9.4) but with both I get a kernel panic when loading this kext. Is this a generic SSE2 problem or just my particular system (Dell Precision M60, Pentium M 1.7GHz, 10.5.4 retail install). Mercurysquad's 1.3.2 kext works OK so it is some problem with this particular kext.

Link to comment
Share on other sites

Just so you know, I am on vacation and will not work much on this before end of september/beginning of october.

 

Anyway, if you have panic, I NEED what kind of panic you have.

I.e. the text on this line: panic (cpu X caller 0xXXXXXXXX): <<panic text>>)

If you cant get it try to run the kext from single user mode (-s option from darwin boot loader)

and if possible also the text output from the kext just before it paniced (use the debug version)

Also kext version (it says on line after "Kernel loadable modules in backtrace...")

 

For the moment it will work best with core2 cpus as it is what i have tested it on, and which is able to autodetect pstates. If you have pentium m/celeron m/pentium 4/pentium D, i need the full cpu information if it is not working.

 

I have not added any features for checking for kernel and below 1000MHz states problems yet.

 

When I get back I will make some app to try to gather and test values more.

 

 

 

{censored} stole my idea. ideas arent safe on IRC ;)

 

Haha. It cant be, there is no pron in here. If you stopped w to the glossy donkey pictures under your fathers bed, you had time to do this :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...