Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOS X equivalent of swapon/swapoff?



On Oct 10, 2006, at 11:19 AM, John Francini wrote:

Now if only Darwin would support proper swap partitions (to ensure that the pagefile was contiguous and to remove filesystem I/O overhead), I'd be a happy camper.

Contiguous pagefiles make no difference in real world VM loads.  Contiguous files are only important when accessing large chunks of contiguous data.  VM access patterns are the exact opposite of that - tons of tiny I/Os to random locations.  So it just doesn't matter, because no matter how contiguous the pagefile, there's going to be tons of seeks anyways.  Only a truly pathologically fragmented pagefile could hurt performance.  (IIRC Darwin uses clusters of four pages as its atomic unit of pagefile access, so there'd have to have a significant number of those 16KB clusters fragmented before you'd notice a performance hit.)

Filesystem overhead is also unlikely to be an issue.  Once all the metadata is in cache it should disappear into the noise.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >MacOS X equivalent of swapon/swapoff? (From: Alison Cassidy <email@hidden>)
 >Re: MacOS X equivalent of swapon/swapoff? (From: "Justin C. Walker" <email@hidden>)
 >Re: MacOS X equivalent of swapon/swapoff? (From: Alison Cassidy <email@hidden>)
 >Re: MacOS X equivalent of swapon/swapoff? (From: "Justin C. Walker" <email@hidden>)
 >Re: MacOS X equivalent of swapon/swapoff? (From: Alison Cassidy <email@hidden>)
 >Re: MacOS X equivalent of swapon/swapoff? (From: John Francini <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.