X-Basics

Why OS X Doesn't Need a RAM Disk

Dan Knight - 2002.02.01

Low End Mac Reader Specials

Memory To Go Special: New 2008 iMac 2GB $42 / iMac Intel Core2 DUO & MacBook Pro 2GB $36 - 1GB $20. MacPro 8 Core Memory 8GB kit $286 / 4GB kit $143 / 2GB kit $93 -- Free shipping available. LIfetime warranty.

Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com

LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.

OWC: NewerTech NuPower Batteries for iBook and PowerBooks Designed+Built in USA to run longer, LAST LONGER TOO! Free Battery Recycling Return Label; Quality High-Capacity from $99.95

Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.

Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.

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.

Recent X-Basics Columns

Recent Content on Low End Mac

<go to the X-Basics index>

Channels
 Power Macs
 iMac Channel
 iBook/PowerBook
 MacInSchool
Computer Profiles
 iMac
 Power Mac
 PowerBook/iBook
 Performas
 Mac Clones
 Older Macs
 LisaNeXT
Editorial Archive
Mac Daniel's Advice
Email Lists
LEMchat (uses AIM)
Online Tech Journal
Consumer
 advice, reviews
 guides, deals
Software
Apple History
Best of the Web
 Best of the Mac Web surveys
Miscellaneous Links
 Best Used Mac Buys
 Used Mac Dealers
 Video Cards
 Mac OS X
 Mac Linux
 Macspeak
 RAM Upgrades
About Low End Mac
Site Contacts

Open Link

Support LEM

Affiliates

The Apple Store
.mac
iTunes Store
Club Mac
MacMall
MacResQ
ExperCom
eBay
Amazon.com
PayPal
PCMall
PC Zone
Crucial Memory

Our advertising is handled by BackBeat Media. For detailed price quotes and advertising information, please contactat BackBeat Media (646-546-5194). This number is for advertising only.

Entire Low End Mac website copyright ©1997-2008 by Cobweb Publishing, Inc., unless otherwise noted. All rights reserved. Advice presented in good faith, but what works for one may not work for all. Please report errors to .
  LINKS: We allow and encourage links to any public page as long as the linked page does not appear within a frame that prevents bookmarking it.
  Access our RSS news feed at http://lowendmac.com/feed.xml.
  Email may be published at our discretion; email addresses will not be published without permission, and we will encrypt them in hopes of avoiding spammers. If you prefer your message not be published, mark it "not for publication." Letters may be edited for length, context, and to match house style.
  PRIVACY: We don't collect personal information unless you explicitly provide it. For more details, see our Terms of Use.
  Low End Mac is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple Inc. Apple, the Apple logo, Macintosh, iBook, iMac, eMac, iPod, iPhone, PowerBook, MacBook, MagSafe, Mac Pro, Apple TV, and AirPort are registered trademarks of Apple Inc. Additional company and product names may be trademarks or registered trademarks and are hereby acknowledged.