Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Solved] share my parameters in TDP wall and CPU voltage configure #180

Open
Andrew-Hello opened this issue Apr 27, 2019 · 3 comments
Open
Labels
CPU CPU related issue enhancement

Comments

@Andrew-Hello
Copy link

Andrew-Hello commented Apr 27, 2019

Hi, I just build Hackintosh in my MibookPro, the EFI and install method in this program is brilliant and I learned much from it. After the installation, I tried to configure the CPU voltage like what we always do in windows with XTU. I also found there are already some professional issues discussing this. #174 But I think those are too hard for such tiro like me. Then I paste my command line and parameters below, hoping bring some convenience to freshmen. Notice that the TDP wall include the power consumption of IGX core, I just stimulated the full load CPU usage in following test. If you use IGX core a lot, you can enlarge the TDP limitation according to your preference.

Here in MacOS, the voltage adjusting tool is "sicreative/VoltageShift" (a big thanks to sicreative. please down the VoltageShift release version from his page).

===== Power Consumption (TDP wall) parameter =====

//Syntax:
./voltageshift powerlimit Longpower Longtime Shortpower Shorttime

//Default:
./voltageshift powerlimit 28 10 44 0.002

//Recommanded parameter: 82°C, 3.4G, 25.5W (-125mV pressure)
./voltageshift powerlimit 25.5 999999 25.5 999999

===== Voltage parameter =====

//Syntax:
./voltageshift offset <Analogy I/O> <Digital I/O>

//Default:
./voltageshift offset 0 0 0 0 0 0

//Recommanded command:
./voltageshift offset -125 0 -125 0 0 0

===== Automatically configure at start up =====

//Syntax (set auto configure)
sudo ./voltageshift buildlaunchd <Analogy I/O> <Digital I/O>

//Syntax (cancel auto configure):
./voltageshift removelaunchd

//Reference command:
Sudo ./voltageshift buildlaunchd -125 0 -125 0 0 0 25.5 999999 25.5 999999 60
(With the command above, the system will auto apply the configure at start up and maintain it every 60 min. The offset of Vcore is set to -125mV, which is stable in my laptop. The TDP wall is set to 25.5W, which allow the i5-8250U CPU run at 3.4GHz and bring ~80 degree package temperature under full load)

===============Test your configure================

//Start 8 thread stress test
Yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null &

//To stop the stress test
Killall yes

@Menchen
Copy link
Collaborator

Menchen commented Apr 27, 2019

Hi , thanks for your feedback, but there's something that I want to point out and also better explain what value you shuold set.
The program shuold be https://github.com/buliaoyin/VoltageShift . Or #174


Update:
Below only apply to i7 model. It seem that i5 model don't thermal throttles at max TDP.

First of all, -125mV value may not work for every one. But if you find it stable after a while, it's probably fine for you only. Everyone else shuold test the value on their own cpu before continue to create daemon(the program that run every boot).
Also you need to flash bios unlock script in windows.

Also, setting PL2(the short power limit) to 25.5 is a waste... you can set it at 40(recommended so there's a room before cpu hit 100°C). About PL2 time window, setting 9999** is pointless, as there will be a thermal throttles before power throttles(TDP Limit). PL2 time windows is the amount of time before cpu restrict power to PL2 value, so without power limit, a instant thermal throttles is guaranteed to happens.

The PL1 value at 25 is good for our laptop, with -85mV I got 2.9 Ghz, so you will probably get about 3 Ghz.
The PL1 time windows is the amount of time before cpu restrict power to PL1. As before, with 30~44 W, it will thermal throttles within 10 second. So leave it as stock is fine.

So after all explanation, I recommend for i7 /voltageshift powerlimit 25 0 40 0. Try to benchmark and you shuold see a bit performance increase.

@ManuGithubSteam
Copy link

ManuGithubSteam commented Oct 24, 2020

Hi @Andrew-Hello and @Menchen

I tested my settings for a few days and they work on m i5

I wanted to make the settings permanent like in your reference command:

Sudo ./voltageshift buildlaunchd -107 -73 -107 0 0 0 25.5 999999 25.5 999999 60

But it wont let me:

.voltageshift % Sudo ./voltageshift_unsigned buildlaunchd -107 -73 -107 0 0 0 25.5 999999 25.5 999999 60

Out of Interval setting, please select between 0 (Run only bootup) to 720mins

So it seems i have a value to much i guess but im not sure which one...

Could you help ?

@joaquinvacas
Copy link

It's possible to do it for GPU? Looking to improve a bit the battery life, also maintain GPU freqs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPU CPU related issue enhancement
Projects
None yet
Development

No branches or pull requests

5 participants