X-Basics
Why OS X Doesn't Need a RAM Disk
Dan Knight - 2002.02.01
As noted elsewhere today, I've been using ramBunctious, a classic Mac OS RAM disk program, for years. Although it works in Classic mode under OS X, the RAM disks it creates are inaccessible to X, so I've retired a real workhorse program.
I like the idea of using a RAM disk, because these are files I may be accessing many times during the course of the day, but now I've learned that Mac OS X may make RAM disks a thing of the past. That's because X can use any available system memory to cache files - which helps explain why Classic under X had a higher disk score than Mac OS 9.2.2 all by itself in yesterday's tests.
As Ric Davis explained to me, X will intelligently cache files - the more often you access them, the more likely they'll be cached for lightning-fast access. Although that won't give the same speedy load times the first time a file is accessed, repeated access should be at pretty much RAM disk speed.
Benefits of not using a RAM disk include not locking up all that memory (128 MB in my case), not spending several seconds loading the RAM disk image at startup, and not having to worry about the computer crashing with unsaved contents on the RAM disk (which shouldn't be a problem with X anyhow).
That said, Gregory Youngs writes that all disk writes are cached under BSD/OS X, which means that a freeze, lockup, or power failure could cost you "saved" data that's only been cached and not yet written to the hard drive. Youngs further notes that the Unix sync command, which forces the OS to write all cached data to disk, doesn't appear to be available under OS X.
With the stability of Unix and a UPS (or portable), you minimize the chance of losing unwritten cached data, but there's still a risk. (It's probably less of a risk than we had with the regular freezes, bombs, and other problems that required a forced restart under the classic Mac OS).
Perhaps best of all, under OS X you don't have to fiddle with disk cache size for optimum performance - it's all done automatically by the OS.
I'd still like to see a RAM disk like ramBunctious (they're working
on it), even if only to see if it's worth trying, but with caching this
good, a RAM disk might not make any sense at all.
Links for the Day
- Mac of the Day: Mac IIfx, introduced 1990.03.19. This 'wicked fast' 40 MHz Mac trumped the 33 MHz DOS world.
- Support Low End Mac
Recent Content
- Fix Home Button Delay, Tablet the Ultimate Mobile PC, iPad Notebook a Possibility, and More, iOS News Review, 2012.02.10. Also using your iPad at work, two photo editors, a new iPad text editor, Macally's magnetic iPad 2 stand, and more.
- White MacBook Goes End-of-Life, Logitech Touch Mouse Supports Gestures, Firmware Updates, and More, The 'Book Review, 2012.02.10. Also MacBook Air better than any Ultrabook, docks for MacBook Pro models, Intel offers improved SSDs, and more.
- Mac and iOS Browsers: Options Galore, Freeware Forum, 2012.02.10. Safari is adequate on Mac and great on iOS, but the range of good alternatives is stunning. LEM writers share their favorites.
- Apple's Support Lead Shipping, Smartphones Outsell PCs, OS X Ported to ARM by Intern, and More, Mac News Review, 2012.02.10. Also the power of Tex-Edit Plus, Google and Twitter are already censoring the Web, Snow Leopard Security Update, and more.
- LogMeIn: Remote Screen Sharing for the Rest of Us, Alan Zisman, Zis Mac, 2012.02.09. Configuring the Mac's built-in screen sharing to work over the Internet can be difficult or impossible. LogMeIn makes it easy.
- 15 Years Ago Motorola Unveiled the PowerPC G3, Low End Mac Round Table, 2012.02.06. The G3 processor was optimized for real world Mac software and made a big leap forward in efficiency.
- Don't Kill Caps Lock, Learning to Love the iOS Keyboard, and an Adaptive iPad Keyboard, Charles W. Moore, Miscellaneous Ramblings, 2012.02.06. The Caps Lock key has a useful function, the iPad's keyboard really is useful, and checking out an adaptive keyboard for the iPad.
- More links in our archive.
Recent Deals
- Best 17" MacBook Pro Deals
- Best iPod classic Deals
- Best eMac Deals
- Best MacBook Air Deals
- Best iBook G4 Deals
- Best iPad Deals
- Best Classic Mac OS Deals
- Best Apple TV Deals
- More deals in our archive.
About LEM Support Usage Privacy Contact
Follow
Low End Mac on Twitter
Join Low End Mac
on Facebook
Low End Mac Reader Specials
TypeStyler 11 is now in the Mac App Store!! -- Special Introductory Price of $59.95!! -- To Buy From The Mac App Store Click Here Now!! Or buy direct
from Strider Software.
Don't install Parallels to play poker online! Poker Mac will show you how to download and install a native Mac poker and Mac Casino applications in minutes.
Favorite Sites
MacSurfer
Cult of Mac
Shrine of Apple
MacInTouch
MyAppleMenu
InfoMac
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac Museum
DealMac
Deal Brothers
Mac2Sell
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ
Affiliates
Amazon.com
The Apple Store
The iTunes Store
PC Connection Express
GainSaver
Parallels Desktop for Mac
eBay

