Dyolp Posted May 30, 2014 Share Posted May 30, 2014 Hi All ! I'm trying to disable memory compression in Mavericks. Searching with google I find this Terminal command : sudo nvram boot-args="vm_compressor=1" But after rebooting, when testing the mode of compression with the command : sysctl -a vm.compressor_mode I get : vm.compressor_mode: 4 which means that the compression is still active. Thus, this command seems to work well with a real Mac and not with an Hackintosh. My question is, is it possible to add this argument in org.chameleon.Boot.plist? If yes, how to add it to the plist? Great thanks In advance. Wonderful forum !! Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/ Share on other sites More sharing options...
Gringo Vermelho Posted May 30, 2014 Share Posted May 30, 2014 You need FileNVRAM.dylib in /Extra/Modules in order to use NVRAM. Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023196 Share on other sites More sharing options...
Dyolp Posted May 30, 2014 Author Share Posted May 30, 2014 Ok ! I will Add it. And what to do after ? Just using the same command ? Thanks Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023198 Share on other sites More sharing options...
Slice Posted May 30, 2014 Share Posted May 30, 2014 This is a part of boot-args and you may insert it into Kernel flags in Chameleon plist. Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023209 Share on other sites More sharing options...
Dyolp Posted May 30, 2014 Author Share Posted May 30, 2014 Thanks Slice & Gringo, is it correct if I add it like that ? <key>vm_compressor</key> <string>1</string> Edit : I need this clarification because I can not afford a KP. In fact, right now I do not have a bootable rescue, so I'll be stuck if I get a KP. Thank you for your comprehension. Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023238 Share on other sites More sharing options...
Gringo Vermelho Posted May 30, 2014 Share Posted May 30, 2014 No, that will not work. Slice meant add it to the kernel flags string. But if you do sudo nvram boot-args="vm_compressor=1" like you did before it should work, and stick, with the NVRAM module in place. Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023340 Share on other sites More sharing options...
Dyolp Posted May 30, 2014 Author Share Posted May 30, 2014 @Gringo Vermelho I've a lot of bad memories related to Nvram (since attempting to activate iMessage a year a so ago) and I found that it leaves such a mess. So I prefer to do it in the clean way through Chameleon plist ;-) May be I understand what you say about what slice means. Slice meant add it to the kernel flags string. Is it like that ? <key>Kernel Flags</key> <string>vm_compressor=1</string> BTW, I hope that you managed to be in good agreement with your wife about how much time you spend on hackintoch forums ;-) (see our discussion on C-States and P-states about two years ago...) Thanks for your time ! Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023359 Share on other sites More sharing options...
Gringo Vermelho Posted May 30, 2014 Share Posted May 30, 2014 Yes, that's it. I vaguely remember that but I can't find the topic, did you use a different account then? When my wife complains that I spend to much time here, I go put up some shelves, wash the car or fix something around the house. 1 Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023367 Share on other sites More sharing options...
Dyolp Posted May 30, 2014 Author Share Posted May 30, 2014 The same account ! I couldn't find the posts also, may be in other forum ? (Projectox may be). Good strategy ;-) I'll be inspired int the future... thanks for your time ! Link to comment https://www.insanelymac.com/forum/topic/298334-disable-memory-compression-mavericks/#findComment-2023372 Share on other sites More sharing options...
Recommended Posts