Jump to content
9 posts in this topic

Recommended Posts

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 !!

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.

@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 !

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. :D

  • Like 1
×
×
  • Create New...