The performance boost of 40-50%

No money for the SSD drive? Want a high speed of the operating system? Then this tip is for you!
If you disable the swap, the rate of increase by about 40-50%, depending on your computer.
What is a swap can be read on Wikipedia and google.


How to enable/disable swapping in Mac OS X

To disable swap (pager daemon) run this command in Terminal:
sudo launchctl unload -w /System/Library/LaunchDaemons/

After stopping pager daemon, you may want to remove swapfiles by this command:
sudo rm /private/var/vm/swapfile*

To enable swap, you need to run this command:
sudo launchctl load -wF /System/Library/LaunchDaemons/

After restart the computer!
Check that you switched off the swap is very simple:

Swap used - will be written 0 bytes. Swap disabled.

Your computer is running much faster? Write in comments.

Комментариев нет:

Отправить комментарий