November 9, 2012

OSX swapping ... or not

After my wife's repeated complaints on the performance of our family iMac, I have had to do some housecleaning on it and found out that it was spending an inordinate amount of time swapping. And having looked into that in more detail, I also realized you couldn't control OSX swapping policies the way you can on Linux so I did a number of mundane cleaning operations but the most effective seem to have been the following: forcing OSX to purge at regular intervals. It seems like the operating system ought to do a better job of it but this simple step has helped limit the amount of swap consumed. I ended up implementing this on all our macs, irrespective of whether they showed signs of swap strain or not.

featherweight:~ arno$ sudo crontab -l
*/15 * * * * purge


  1. You are such a great husband man. I like these types of bond and people have so rare these days. Good to see so much love

  2. Sometime in the past having the correct drivers introduced on a Windows PC was considered something of a joke. It was normally started by the no-nonsense Apple Mac clients, and worked basically on the grounds that those computers had such a restricted scope of equipment accessible. Any gadgets that would work as of now had the drivers introduced.
    C21eureka online
    Copyright Space
    Orion Art Gallery
    Mclaughlin and Erson