Contribute
Register

SSDT generation script (Ivybridge PM)

Status
Not open for further replies.
IvyBridge PM let's you run your system more efficiently. At a lower than factory specified TDP, which almost always results in a higher temperature rating. For example. I am running a 95 Watt i5-2500K at 90 Watt without any issues. Resulting in a 3-5 centigrade drop.

You could try something less than the factory specified 45 Watt TDP for your CPU and monitor the temperature before and afterwards. But be careful with OC'ed setups.

Now that's clear and quite interesting! Thanks for clarifying.
Loaded
Code:
~/ssdtPRGen.sh 4100 40
Code:
sdtPRGen.sh v5.6 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Generating SSDT_PR.dsl for a Macmini6,2 [Mac-F65AE981FFA204ED]
Ivy Bridge Core i7-3770T processor [0x0701] setup
With a maximum TDP of 45 Watt, as specified by Intel
Override value: Max Turbo Frequency, now using: 4100 MHz!
Override value: Max TDP, now using: 40 Watt!
Number logical CPU's: 8 (Core Frequency: 2500 MHz)
Number of Turbo States: 16 (2600-4100 MHz)
Number of P-States: 26 (1600-4100 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: Model identifier [Macmini6,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Users/pepeta/Desktop/SSDT_PR.dsl - 262 lines, 8482 bytes, 56 keywords
AML Output:    /Users/pepeta/Desktop/SSDT_PR.aml - 1620 bytes, 27 named objects, 29 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Code:
Mar 15 21:19:41 localhost kernel[0]: MSRDumper CoreMulti(16) 
Mar 15 21:19:41 localhost kernel[0]: MSRDumper PStatesReached: 16 17 21 25 31 32 33 34 35 38 40
Geekbench is not affected. That means pretty same results with less power (and heat)?
geekbench.jpg
 
I really can't get it done.... (i'm new to mac.. and i don't understand all things.)

My cpu is working at 1.6 Ghz or 3.6 Ghz only ....

Can you help me please? (answers like edit dsdt or.. won't help me , you need to detail more , as i am a novice.. sorry)

View attachment 50406
View attachment 50407

- with generated p-states and c-states on , i have same result.
 
I really can't get it done.... (i'm new to mac.. and i don't understand all things.) My cpu is working at 1.6 Ghz or 3.6 Ghz only .... Can you help me please? (answers like edit dsdt or.. won't help me , you need to detail more , as i am a novice.. sorry)
- with generated p-states and c-states on , i have same result.
Please read post #1 and do what we ask you to do. See post 242, which is a great example of what we need, but in your case we also need your IORegistryDump (see link in post 1).
 
Just ran this the and got this:


UlzhyTP.png

It looks normal, right?

Can't you remove the turbo states so you get a better spread of states?

I only get "MSRDumper PStatesReached: 16 17 18 19 20 34" I get nothing inbetween 20-34, how come?

I'm checking my p-states with MSRDumper.
 
Okei , i've read better.. and i made the following:

- opened ssdtPRGen (double open) [opened first terminal windows - i let it open]
- opened a second terminal window and typed:

Code:
localhost:~ pauldan$ ~/ssdtPRGen.sh 3200 77

it generated me the following code:

Code:
sdtPRGen.sh v5.7 Copyright (c) 2013 by Pike R. Alpha----------------------------------------------------------------
Generating SSDT_PR.dsl for a MacBookPro9,2 [Mac-6F01561E16C75D06]
Ivy Bridge Core i5-3470 processor [0x0601] setup
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3200 MHz)
Number of Turbo States: 4 (3300-3600 MHz)
Number of P-States: 21 (1600-3600 MHz)
Injected C-States for CPU0 (C1,C3,C6,C7)
Injected C-States for CPU1 (C1,C2,C3)
Warning: Model identifier [MacBookPro9,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist


Warning: 'cpu-type' may be set improperly (0x0601 instead of 0x0701)


Warning: 'system-type' may be set improperly (1 instead of 2)


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation


ASL Input:     /Users/pauldan/Desktop/SSDT_PR.dsl - 245 lines, 7752 bytes, 36 keywords
AML Output:    /Users/pauldan/Desktop/SSDT_PR.aml - 1340 bytes, 15 named objects, 21 executable opcodes


Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations


Do you want to copy /Users/pauldan/Desktop/SSDT_PR.aml to /Extra/SSDT.aml? (y/n)?

- I typed Yes and entered my password.
- I closed the first terminal window(that what appeared when i clicked on ssdtPRGen)

- I have IORegistryDump in atachments.

- I hope i did good.... if not please tell me what to do.
- and thanks a lot for your help , I really apreciate it.


// apparently now i have at cpu multiplier x16 (1600 Mhz) , x26(2600 Mhz) and x36 (3600 Mhz) .. but it seems that the cpu use most often x16 and x36 multiplier.
 

Attachments

  • Unknown.zip
    2.9 MB · Views: 118
// apparently now i have at cpu multiplier x16 (1600 Mhz) , x26(2600 Mhz) and x36 (3600 Mhz) .. but it seems that the cpu use most often x16 and x36 multiplier.
Take a look at this post to know how to check cpu Power Management SpeedSteps.
I'd check the script and change cpu-type and system-type values as the generation log you posted indicates
Code:
Warning: 'cpu-type' may be set improperly (0x0601 instead of 0x0701)


Warning: 'system-type' may be set improperly (1 instead of 2)
then re-generate SSDT.
This time I would insert in terminal

Code:
~/ssdtPRGen.sh 3200 [B]72[/B]

as PikeRAlpha stated in post #237.
Try to understand the meaning of all this Power Management: you're on the good way, don't give up!
 
Code:
~/ssdtPRGen.sh 3200 [B]72[/B]

as PikeRAlpha stated in post #237.
Try to understand the meaning of all this Power Management: you're on the good way, don't give up!

do i really have to mess with tdp? i'm not interested into lower temperatures (or overclock) because they are good as they are.. my only care is about speedstep.. that i want to work properly..i don't like when I open a youtube video and cpu use 3.6 Ghz turbo frequency .. i mean that is..just rude..


// i'm trying now.. your solution (beside lowering tdp)

and results:

Code:
23.03.2013 11:37:03,000 kernel[0]: MSRDumper CoreMulti(36)
23.03.2013 11:37:18,000 kernel[0]: MSRDumper PStatesReached: 16 26 32 35 36

I see there is 26/32/35 .. but it uses 26 rarely.. and 32/35 almoust never or never.. (I checked log and monitoring with hardware monitor)


Code:
Warning: 'cpu-type' may be set improperly (0x0601 instead of 0x0701)Warning: 'system-type' may be set improperly (1 instead of 2)

- How and where can I change that? at least.. cpu-type.. ?


and i way how it works...
Code:
Injected C-States for CPU0 (C1,C3,C6,C7)
Injected C-States for CPU1 (C1,C2,C3)

why do i have cpu 0 and cpu 1? and at cpu0 C7? ..
 
IvyBridge PM let's you run your system more efficiently. At a lower than factory specified TDP, which almost always results in a higher temperature rating. For example. I am running a 95 Watt i5-2500K at 90 Watt without any issues. Resulting in a 3-5 centigrade drop.

I am currently running my Xeon-E3 1230V2 with a 64W TDP rather than 69W as specified by Intel specs, without any problem.
 
do i really have to mess with tdp? i'm not interested into lower temperatures (or overclock) because they are good as they are.. my only care is about speedstep.. that i want to work properly..i don't like when I open a youtube video and cpu use 3.6 Ghz turbo frequency .. i mean that is..just rude..

I see your point.
As far as I know you have no choise besides:
a - disable turbo from bios setting
b - generate an SSDT typing
Code:
~/ssdtPRGen.sh XXXX
where "XXXX" could be the cpu clock fr you want. But if PM asks for max frequency (even for youtube), that will be.
Getting a little lower TDP (just few Watts) allows CPU not only to have lower temperature, but less power consuming as well.
And without losing performance: I find it an amazing feature provided by Ivy Bridge Power Management.
Anyway, maybe I'm wrong and there would be more sophisticated methods to reach what you want: there's a plenty of guys here, that can help you out!
;)
 
Status
Not open for further replies.
Back
Top