i0ntempest Posted June 9, 2022 Share Posted June 9, 2022 (edited) Hi all, This is not strictly a hackintosh problem, but I figured I should ask here as well. I use my secondary mini hackintosh as a server with a bunch of services enabled, one of them is content caching. It does work but is very slow for some unknown reasons, on another Mac say if i download a system update, without the cache it downloads at around 20MB/s. But if I have caching enabled on my server, it downloads at less than 5MB/s. It is able to serve contents that are already cached at very high speed though (100+ MB/s) with 5GbE. Also I've noticed another weird behavior in Activity Monitor: after enabling content caching there will be a Cache tab inside, but if I click on it I can see "Total data served" increases by 100+ GB per second from 0 and quickly shoots up into tens of terabytes, then eventually it segfaults and crash. Stuff I've tried that didn't fix the problem: Moving cache location to system/external drives Enabling/disabling jumbo frame Use the internal gigabit interface rather than the USB 5GbE adapter Resetting caching preference by removing the plist file Remapped my USB ports manually I've attached my EFI, some logs from AssetCache process, and the Activity Monitor crash log below. Any help is appreciated. EFI_hack_mini.zip assetcache_log.txt activitymonitor_crash.txt Edited June 9, 2022 by i0ntempest Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/ Share on other sites More sharing options...
Guest 5T33Z0 Posted June 9, 2022 Share Posted June 9, 2022 Try adding -allow_assetcache boot-arg Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/#findComment-2784330 Share on other sites More sharing options...
i0ntempest Posted June 9, 2022 Author Share Posted June 9, 2022 54 minutes ago, 5T33Z0 said: Try adding -allow_assetcache boot-arg Thanks, unfortunately that didn't change anything, the speed is still really slow. Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/#findComment-2784336 Share on other sites More sharing options...
Guest 5T33Z0 Posted June 9, 2022 Share Posted June 9, 2022 Okay, if you ar eusing macOS Big Sur or newer you could try this as a workaround and see if it changes anything: https://github.com/5T33Z0/OC-Little-Translated/tree/main/09_Board-ID_VMM-Spoof Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/#findComment-2784339 Share on other sites More sharing options...
i0ntempest Posted June 11, 2022 Author Share Posted June 11, 2022 (edited) On 6/9/2022 at 8:33 AM, 5T33Z0 said: Okay, if you ar eusing macOS Big Sur or newer you could try this as a workaround and see if it changes anything: https://github.com/5T33Z0/OC-Little-Translated/tree/main/09_Board-ID_VMM-Spoof After applying the patch content caching checkbox is grayed out and stuck on off? I do have FeatureUnlock kext installed. Seems AssetCacheManagerUtil now thinks its in a VM... Edited June 11, 2022 by i0ntempest Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/#findComment-2784616 Share on other sites More sharing options...
i0ntempest Posted June 11, 2022 Author Share Posted June 11, 2022 On 6/9/2022 at 8:33 AM, 5T33Z0 said: Okay, if you ar eusing macOS Big Sur or newer you could try this as a workaround and see if it changes anything: https://github.com/5T33Z0/OC-Little-Translated/tree/main/09_Board-ID_VMM-Spoof I installed RestriceEvents kext with `revpatch=asset`, that allowed caching to be turned on again. But the speed is still the same and the activity monitor crash still happens. Link to comment https://www.insanelymac.com/forum/topic/352024-help-content-caching-very-slow/#findComment-2784618 Share on other sites More sharing options...
Recommended Posts