|
|
Size of the swap partition
i am too lazy to write up a full hint, but since the original poster mentioned a swap partition of one gigabyte...
i also chose a 1GB swap partition, only to find that the dynamic_pager does not make the most efficient use of it with default settings. dynamic_pager seems to have two modes of allocating new virtual memory, one where it doubles the size of the new swapfile with each file, and one where the size of the swapfile is fixed. now, with a one gig partition and a variable swapfile size, the following happpened: dynamic_pager happily created pages when needed, but, after a little over .75GB of VM where in use, refused to create a new swapfile because the size of the new file was slightly larger than the remaining space. the answer i found for my system was to start dynamic_pager with parameters where -S means 'create swapfiles with a size of 64MB', -H 33554432 means 'create a new file when less than 32MB of free swapfile memory available' and -L 134217728 means 'discard a swapfile if more than 128MB of swapfile memory are unused'. of course, the actual sizes i chose could be rather braindead. for further reading, try man dynamic_pager. cheers, -folkert. ---
Size of the swap partition
See huge swap files in 10.3.4 ?? on Apple Discussions for more about that topic.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|