| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| If you're careful, you can make changes on a test machine without too much worry. For example: Apple changed dynamic_pager for (I think) Panther to start with a small 64-mb file and, when that one was outgrown, add another, then add one 2x its size, then one double that, etc. I thought this was stupid. I've got the disk space -- just allocate one 2x the main memory (which is my usual rule-of-thumb from my days of sysadmining) and be done with it. So I changed /etc/rc from: /sbin/dynamic_pager ${encryptswap} -F ${swapdir}/swapfile to # # Use a single, large, fixed swapfile # /sbin/dynamic_pager ${encryptswap} -S 2147483648 -F ${swapdir}/swapfile 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. But I'm not holding my breath. In your case, you could: a) Make a copy of the original /etc/rc as a backup b) comment out the call to dynamic_pager c) reboot. If the change causes untoward problems, you could then just boot single-user, move the original /etc/rc file back, and reboot. John On 10 Oct 2006, at 14:08, Alison Cassidy wrote:
|
_______________________________________________ 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>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.