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

Look at Intel P-state driver from linux kernel #8

Open
eskin opened this issue Feb 18, 2015 · 3 comments
Open

Look at Intel P-state driver from linux kernel #8

eskin opened this issue Feb 18, 2015 · 3 comments

Comments

@eskin
Copy link

eskin commented Feb 18, 2015

With option no_turbo it works great!
And Speed Step is working.
https://github.com/torvalds/linux/blob/master/drivers/cpufreq/intel_pstate.c

@eskin
Copy link
Author

eskin commented Feb 18, 2015

More info

Try this:
read_msr( core, MSR_IA32_PERF_CTL, &val );
// Set bit 32 to 1.
val |= ((uint64_t)1) << 32;
write_msr( core, MSR_IA32_PERF_CTL, val );

Source:
https://github.com/pyrovski/powertools/blob/master/msr_turbo.c

@nanoant
Copy link
Owner

nanoant commented Feb 19, 2015

Could you please elaborate what is the benefit of this change?

@eskin
Copy link
Author

eskin commented Feb 19, 2015

I didn't test this on mac, yet, but in linux with "Intel P-state driver" you can disable turbo without disable Speed Step.
So, my macbook CPU is overheat when all 4 cores load at 100% long time. After that the CPU is periodically throttling.
If i disable turbo boost, but not disable Speed Step, my macbook will be cold and silent and battery long time working.
That is the goal.

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

No branches or pull requests

2 participants