- Joined
- Oct 23, 2010
- Messages
- 924
- Motherboard
- Gigabyte Z77X-UP5 TH
- CPU
- i7-3770K
- Graphics
- RX 580
- Mac
- Mobile Phone
@macnb
interesting, for now with PlugInType=1 and KernelXCPM ticked in Clover configurator and CPUFriend+CPUFriendDataProvider.kext in clover/kext/other/
my Average frequency of all cores is around 2.5Ghz
View attachment 452637
Those charts look OK. That is approximately what I see.
To be honest, I see very little difference between using XCPM and not using it.I'm planning to try ssdtPRGen+ssdt_data.dsl combined to compare (my OC is 4.5).
should i run:
to generate ssdt or get rid of -x 1 probably, then untick KernelXCPM in clover?Code:sudo ~/ssdtPRGen.sh -c 2 -t 77 -turbo 4500 -target 1 -x 1 -b Mac-FC02E91DDD3FA6A4
Code:sudo ~/ssdtPRGen.sh -c 2 -t 77 -turbo 4500 -target 1 -b Mac-FC02E91DDD3FA6A4
Also, I believe XCPM does not really work properly with Ivy Bridge.
Let me explain what I mean by that.
When You set KernelXCPM to True, Clover does patch the kernel to use XCPM and you can confirm that by running the following command:
Code:
sysctl -a |grep -i xcpm.mode
Code:
machdep.xcpm.mode: 1
The problem is, that the Clover does not inject the FrequencyVectors for Ivy Bridge that XCPM expects.
You can confirm that by running:
Code:
sysctl -a |grep -i xcpm.mode.vectors_loaded_count
Code:
machdep.xcpm.mode.vectors_loaded_count: 0
"3.) If sysctl -n machdep.xcpm.vectors_loaded_count returns 0 then the FrequencyVectors data is not being used. Backup the plist for your board-id and replace it with a different plist."
That's where CPUFriend comes in.
However when we use Mac-FC02E91DDD3FA6A4.plist file to create the CPUFriend data kext, that .plist DOES NOT contain any FrequencyVector data for iMac13,2 (which uses an Ivy Bridge CPU) and thus XCPM cannot use any frequency vectors. The reason it does not contain any Frequency Vectors is because Apple do not use XCPM for Ivy Bridge.
Therefore, turning on XCPM with CPUFriend does not really help XCPM on Ivy Bridge.
As an experiment, I took the FrequencyVectors array from iMac14,2 Mac-27ADBB7B4CEE8E61.plist :
....and added it to the iMac13,2 Mac-FC02E91DDD3FA6A4.plist file and that does show:
Code:
machdep.xcpm.mode.vectors_loaded_count: 1
But the idle frequency is still around 2.5Ghz both on Mojave and Catalina.
I tried OpenCore and added kernel patches to enable XCPM with CPUFriend but the results are the same.
But those FrequencyVectors are for a Haswell CPU (not Ivy Bridge) so it's not a valid thing to do.
Conclusion is that XCPM does not gain anything useful on Ivy Bridge CPU.
i've also found this interesting post by @LisaAlterEgo here for me to combine ssdt_data.dsl with ssdtPRGen ssdt:
https://www.tonymacx86.com/threads/...ver-uefi-hotpatch.279627/page-13#post-2058672
It was not very clear for me from the CPUFriend github explanation
CPUFriend gives you an option to use EITHER the kext it generates OR the SSDT_dsl.dsl file it generates.
You use one or the other. The result is the same using either method. The Kext is the easiest to use. The SSDT method provide slight improvement at boot time but NOT during use. Just use the kext method.
I am using EIST set to AUTO.Also are you using EIST on Auto or Disable in BIOS settings?