B
B
bedrew2015-08-19 10:46:09
macOS
bedrew, 2015-08-19 10:46:09

Mac os x and memory compression, how to disable and leave swap enabled?

Good afternoon, all readers, faced with strangeness.
I recently bought air, noticed that mac os x compresses RAM and everything seems to be fine, but I came across a post What does memory compression actually do in Mac OS X? How does it work? I turned off compression and swap (flag 1) and got a completely different experience, programs started opening 3 times faster, the system became much more responsive. But then I ran into trouble, the memory (which is only 4 gigabytes) overflowed and the poppy crashed, pretty quickly. I thought it would be good to disable compression and just enable swap. Looked at all possible articles, but there is no result. If the flag is set to 1, then swap does not want to turn on at all.
I have a captain, I would like to understand, maybe only my hands are crooked and it doesn’t work, or all swap is not used with flag 1. Maybe I’ll rearrange the system and everything will be fine, well, you understand.
PS: I also recommend looking at the presence of a swap file here /private/var/vm/.
Thank you for attention.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bedrew, 2015-08-19
@bedrew

dev man, thanks for your reply. Flags 10 and 20 do not work. Tried 8 but swap doesn't work. Looks like no luck :(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question