Low End Mac
Search LEM 
Donate · Amazon.com · MacResQ · Advertise
Other Cobweb sites: Low End Living · Reformed.net

Quicklinks: · Power Macs · 'Books · Early Macs · Week's Best Deals · Best Buys · OS Downloads

Low End Mac's Online Tech Journal

A RAM Disk Alternative

Low End Mac Reader Specials

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: LA Computer Company: Specials on AppleCare, Apple Displays, MacBooks, iMac's, MacBook Pros, Laptop and iPod accessories and more. Apple A/C Adapters for laptops starting at $25.00 Call 1-800-941-7654 or 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.

New MacPro Memory 800Mhz With Apple Spec Heat Sink 2GB $104 / 4GB $172 / 8GB $338. Click to Maximize your Macs...

Scott L. Barber

Scott L. Barber first posted this to Quadlist. It is reprinted with his permission.

Someone I'd love to give credit to, but don't know who they were when they suggested it to me, gave me a wonderful idea for the RAM disk/disk cache solutions in an article (RAM Disk or Disk Cache?) I wrote a while back.

Instead of repartitioning your hard drive (see Hard Drive Partitioning), and instead of dedicating all that memory to a RAM disk for your browser disk cache, the following works very well.

Create a ShrinkWrap disk image of 10 MB or so, and alias it to your desktop as well as your Startup Items folder. Open ShrinkWrap, and check the "Keep mounted images in RAM" option active. This will be fast, just like a real RAM disk, but with several advantages:

  1. A mounted disk image is cacheable, unlike a RAM disk.
  2. The mounted image can be destroyed if it becomes corrupt, without damaging the hard drive.
  3. The mounted image can be left on the boot volume, where data access is fastest during cache writes.
  4. The mounted image can be wiped at any time, reformatted, resized, reused.
  5. A second image can be mounted for Photoshop use the same way, without resorting to a RAM disk.
  6. Almost no painful OS problems occur with this method, and RAM is recovered simply by throwing the image in the trash, in low memory situations. A custom AppleScript could be made that automounts the image, then launches the application you desire, waits, and when the application quits, unmounts the image. This involves little to no OS hardware intervention and should not produce the kinds of crash results normally dealt with on RAM disks and Photoshop VM.

Disk Copy Images can also be used this way, though you should not use compression formats with the images. Another alternative is ramBunctious, which creates a RAM disk that can be mirrored to the hard drive.

Partitioning the hard drive for a cache partition, as recommended in Hard Drive Partitioning, is not necessary - but is still recommended if you're going to partition the hard drive anyway (a hard partition is still going to be a little bit faster than this image routine, but is much more intrusive to implement on the fly for most users).

Your disk cache should be left at the most comfortable maximum you can afford, since the disk image is cacheable -- RAM disks are not.

There are cases where a disk cache and RAM disk can fight each other and act slower combined. This is not the case with mounted disk images; they should not be looked at as RAM disks in the Apple OS sense. They will work like really fast tiny hard drives (and thus have the benefits of disk cache without the cache-related problems of a RAM disk).

Feedback

Dan Buettner writes, "Using a ShrinkWrap image as an alternative to a RAM disk is a fast and effective solution, but there's one that's even better - using a shareware application like AppDisk to create the RAM disk.

"I experimented with a ShrinkWrap image for a while, but found that it didn't work quite as well as I had hoped it would: the memory was not always freed when I dragged the image to the Trash. Plus, resizing the image was a little tedious (not bad, but not as convenient as resizing AppDisk).

"AppDisk allows you to change partition size by simply changing the memory allocated to the application, it will save the contents of your RAM disk at specified intervals and/or when quitting, and the memory is always freed up by quitting the app. It also seems to be a more stable solution even than ShrinkWrap images.

"Check out http://members.aol.com/mavsftwre/ for more info."

Fenton Jones writes, "Hello. I was just reading your column MOTJ with the article about using ShrinkWrap for image (RAM) disks (by Scott L. Barber).

"I use a similar method. I use the shareware program Rambunctious to do pretty much the same thing. It also allows you to have multiple RAM disks stored on the hard drive, which can then be loaded into RAM.

"I have a combo KeyQuencer macro and AppleScript that work together to launch a small RAM disk to use as the Netscape cache. I keep a virgin copy of the Netscape's cache folder in the same folder as the AppleScript. As soon as the RAM disk is loaded, it copies this empty cache folder onto it. Netscape is set to use it via its preferences (has to be done while the RAM disk is loaded).

"After this happens KeyQuencer launches Netscape. The only drawback to the arrangement is that I must use the KeyQuencer macro to initiate the whole scenario. Launching Netscape manually, or by clicking a URL when it's not running, will force Netscape to create and use its default cache folder, in its Netscape Preferences folder.

"After I'm done browsing, I quit Netscape first, then Rambunctious. This trashes the cache folder. I could configure Rambunctious to save it on the hard drive, but this way I always start each session with a fresh cache.

"I use URL Manager's History function to save 1000 recent web sites, so I can always find my way back to something that way.

"Rambunctious is a wonderful program. I also use it with FileMaker for tremendous speed gains. It has more options than others, allowing you to set a RAM disk that reads from RAM, but writes through to the hard disk. This still gives you increased speed while preserving decent safety, necessary for databases.

"The reason I go to so much trouble is my little Performa 475 is maxed out with 36 MB of RAM; I can't afford to leave a RAM disk running when I'm not using it, and I'm too slow without it."  LEM

Scott L. Barber <serker@serker.com>
Pres/CEO, SERKER Worldwide, Inc.
Providing Hardware/Networking/Telecomm for 13 years
Visit www.serker.com for more information

Related articles

Quadlist, the listserv for users of 68040-based Macs. FAQ at <http://lowendmac.com/lists/quadlist.shtml>

Recent Online Tech Journal Columns

Recent Content on Low End Mac

  • Time Machine can now backup to a shard hard drive, Alan Zisman, Zis Mac, 07.08. Earlier versions of Leopard didn't seem to allow backup to a shared drive on another Mac, but the 10.5.4 update allows it.
  • More air: Expectations for future MacBook and MacBook Pro models, Dan Knight, Mac Musings, 07.08. Next generation 'Books are expected to include Intel's next generation Montevino processor, but wireless power and wireless USB could give Apple a leg up on the competition.
  • Safari 3.1 Is the best browser for Macs and for Windows, Carl Nygren, Classic Macs in the Intel Age, 07.08. Apple's Safari browser is fast, lightweight, and compatible with pretty much any website that doesn't require users to run Windows and Internet Explorer 5.5 or later.
  • Best iBook G3 deals, Low End Mac Deals, 07.08. Used clamshell, $100; 500 MHz CD, $169; 700, $279; 600 CD-RW, $240; 900 Combo, $299; 14" 700, $300; 900, $449.
  • Best Power Mac G4 deals, Low End Mac Deals, 07.08. Used 450 MHz ACP, $79; 533 DA, $100; 867 QS, $200; 1.25 GHz MDD Combo, $375; 867 dual, $325; 1 GHz, $395; 1.25, $529; 1.42, $619.
  • Best classic iPod deals, Low End Mac Deals, 07.08. Used 20 GB, $100; 30, $120; 40, $150; 60 color, $175; 30 video, $160; 80, $200; refurb 80 classic, $209; new, $229; refurb 160, $299; new, $319.
  • Mac of the Day: 'Lombard' PowerBook G3, June 1999 - 'bronze keyboard' model is first PowerBook with USB, reaches 400 MHz, trims almost 2 lb.
  • List of the Day: PowerList for those using Power Computing Mac clones.
  • July 8 in LEM history: 02: Banned by Macworld - Window XS - OS X: More than just another Unix variant - 03: Hooked by the iBook - Panther and the beige G3 - 05: Future 'Book to use iPod as trackpad?
  • Macintosh reliability improving since the shift to Intel, Kev Kitchens, Kitchens Sync, 07.07. For a while in the G3 and G4 era, Apple was plagued with logic board failures and analog board problems, but they seem to be a thing of the past.
  • 1.8 GHz, SSD MacBook Air price cuts; Samsung vs. Hitachi notebook drives; Centrino 2 preorders; and more, The 'Book Review, 07.07. Also MacBook shipments up 61% over Q1 2007, Apple notebook redesign rumored, Santa Rosa MacBook Pro video failure, Mopar in-vehicle wireless Internet, bargain 'Books from $150 to $2,749, and m
  • iPhone 3G service more costly in States, outrageous in Canada, and more, iNews Review, 07.07. Also long fingernails and the iPhone, future iPhone may include keyboard and Intel Atom CPU, voice control for iPods, Ringtons Studio for the iPhone, and more.
  • Best MacBook deals, Low End Mac Deals, 07.07. Used 1.83 GHz Combo, $819; 2.0 SD, $975; refurb 2.1 GHz Combo, $949; 2.4 SD, $1,099; black, $1,299; new 2.1 Combo, $1,005 a/r; 2.2 SD, $1,205 a/r; more.
  • Best eMac deals, Low End Mac Deals, 07.07. Used 700 MHz CD, $140; CD-RW, $150; Combo, $170; 1 GHz, $200; 1.25 GHz SD, $230; 1.42 GHz Combo, $300; SuperDrive, $439.
  • Best Mac OS X 10.0-10.3 deals, Low End Mac Deals, 07.07. Mac OS X 10.0.3, $40; 10.1, $49; 10.2, $60; 10.3 DVD, $80; CD, $160; 10.1 Server, unlimited users, $80; 10.3 Server, unlimited, $130.
  • More links in our archive.

Go to the Online Tech Journal index.


Have a question?
Ask an expert!

Low End Living

Amazon.com

Navigation

Used Mac Dealers
Apple History
Best Used Macs
Video Cards
Email Lists
InfoMac's Low
End Mac Forum

Favorite Sites

MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
   Museum

DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
   Mac FAQ

Abandonware
   Petition

Mac vs. PC Info

Affiliates

The Apple Store
Mac Connection
MacMall
TechRestore
MacResQ
ExperCom
Crucial Memory
batteries.com

Advertise

Open Link