- Joined
- Aug 12, 2010
- Messages
- 99
- Motherboard
- Asus Z790 TUF + Wifi DDR5
- CPU
- i9-13900KF
- Graphics
- RX 6950 XT XFX
- Mac
- Classic Mac
- Mobile Phone
Remember when you wrote that @CaseySJ? After more testing, here's what I have discovered regarding i9-13xxx series CPU's and CPUFriend.kext and it's companion CPUFriendDataProvider.kext. I ran into some very abnormal circumstances. Benchmark was Speedometer 2.1 in Safari (which is a great benchmark for webpage rendering).Actually I’m wondering if that was just a lucky fluke! There isn’t a logical explanation that I can think of.
Problem 1 - Creating the DataProvider Kext
Many people don't realize ssdtPRGen.sh and one-key-cpufriend won't build the CPUFriendDataProvider.kext on a Z790 with a i9-13900KF. Maybe the 'F' version of my CPU is not supported, but either way, I could not use those tools.Another tool I tried was CPUFriendFriend.command which runs Terminal and allows me to input perameters to build the dataprovider kext. This was unsuccessful because the performance never changed in MacPro 7,1 but rather remained very poor. See conclusion.
Problem 2 - Corruption
If you update the OS - even with a security patch - and you do not first delete CPUFriend.kext and CPUFriendDataProvider.kext from the EFI folder (and then change the config file, obviously) CPUFriendDataProvider.kext becomes corrupted and will no longer power-manage the CPU. This is evidence by an idle of 13 watts at 39C changing into an idle of 69 watts at 70C - tested again and again - with no programs running.I tested just disabling the kexts in the config file, then updating the OS, it will still become corrupted. When removed completely from the EFI, it works after the update.
Another part of the corruption, for my system, was restart and shut down began hanging for a few minutes and then on reloading the OS, seeing a 'this computer ran into an error, was not shut down properly' message. When the CPUFriendDataProvider.kext was properly restored, not only did my idle temp go back down but shut down and restart now work.
Problem 3 - Restoration
This by far is the trickiest part of the puzzle: if the CPUFriendDataProvider.kext becomes corrupted (evidenced by high idle power usage and hanging on shut down or restart), simply copying over the kext that was previously proven to run now does not run. In the past, by changing the serial number and SMBIOS, I got it to work. But this latest time, even that did not work.I had saved three different CPUFriendDataProvider.kext's from various people's EFI's that are similar systems to mine. Attached is the one that worked this most recent time.
It's almost as if the kext gets cached somewhere and cannot be reset and only by either loading a different one or convincing the system that the computer is different, things worked.
I did permission rebuild, clean NVRAM - nothing worked. What worked was loading a CPUFriendDataProvider.kext that I had not used previously and that happened to work for my system.
Conclusion
iMacPro 1,1- CPUFriend and CPUFriendDataProvider are not necessary for CPU performance increase
- Without CPUFriendDataProvider, idle wattage rises from 10 watts to 50 watts after 40 seconds, with CPUFriendDataProvider idle remains at 10 watts
- Once CPUFriendDataProvider.kext gets corrupted, idle will rise to 50 watts and shut down/restart won't work but performance is the same
- Idles at 15 watts without CPUFriendDataProvider but has drastically reduced CPU performance
- CPUTopologyRebuild.kext does not help performance if there is no CPUFriendDataProvider
- Once CPUFriendDataProvider.kext gets corrupted, idle watts rise to 69 watts and shut down/restart do not work but the performance is unaffected
Benchmarks
Speedometer 2.1 in Safari:i9-9900k 64 GB Ram: 249
Mac Studio M2 Ultra, 64 GB RAM: 424
Mac Book Pro M3 Max 48 GB RAM, 16c/40c: 581
i9-13900KF iMacPro 1,1 64 GB RAM without CPUFriendDataProvider.kext: 526
i9-13900KF iMacPro 1,1 64 GB RAMwith CPUFriendDataProvider.kext: 523
i9-13900KF MacPro 7,1 64 GB RAMwithout CPUFriendDataProvider.kext: 251
i9-13900KF MacPro 7,1 64 GB RAMwith CPUFriendDataProvider.kext: 520