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

Memory To Go Special: MacPro 8 Core Memory 4GB kit $192 / 2GB kit $109. MacBook Pro / MacMini / iMac Intel Core2 DUO 2GB $44 1GB $23--Free shipping available.

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.

Other World Computing: Power up your PowerMac G4! Make you trusty PowerMac G4 like new again with up to 2.0GHz Processor Power. G4/1.2GHz for $199, Dual 1.8GHz $498, & More Plug & Play for like new A-OK for OS 9 & OS X, etc.

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.

MacPro Memory 667Mhz With Apple Spec Heat Sink 2GB Kit $ 90 / 4GB Kit $140 / 8GB Kit $278 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

  • Leopard is the way to go, even on most old G4 Macs, Carl Nygren, My Turn, 05.14. The useful and just cool features in Mac OS X 10.5 make this the biggest step forward in the history of the Mac OS.
  • Mac OS 9 still nice, anticipating Odysseus, PowerBook 1400 upgrades, and more, Charles W. Moore, Miscellaneous Ramblings, 05.14. Also rebuilding PowerBook batteries, FastMac vs. NuPower replacement batteries, and only one G4 upgrade left for WallStreet PowerBooks.
  • Windows on Macs: Three paths for integration, Jason Packer, Macs in the Enterprise, 05.14. Mac users have three routes for running Windows apps: Run Windows using Boot Camp or virtualization, or use a compatibility layer such as WINE.
  • Up-to-date or low-end, we need technology in our schools, John Hatchett, Recycled Computing, 05.14. Modern computers are great educational tools, but sometimes less distracting options (like no Internet) make more sense.
  • Best iMac G4 deals, Low End Mac Deals, 05.14. Used 15" 800 MHz Combo, $320; SuperDrive, $380; 1 GHz Combo, $400; SD, $485; 17" 1.25 GHz, $459; 20", $750.
  • Best Mac OS X 10.0-10.3 deals, Low End Mac Deals, 05.14. Mac OS X 10.0.3, $40; 10.1, $49; 10.2, $60; 10.3 DVD, $50; CD, $100; 10.1 Server, unlimited users, $109; 10.3 Server, $130.
  • Best MacBook Air deals, Low End Mac Deals, 05.14. 1.6 GHz, 80 GB, $1,694 after rebate; 1.8 GHz, $1,994 a/r; 1.6 GHz, 64 GB SSD, $2,689 a/r; 1.8 GHz, $2,950 a/r; SuperDrive, $99.
  • Mac of the Day: Quadra 700, Oct. 1991 - The successor to the Mac IIci ran a 'wicked fast' 25 MHz 68040 processor.
  • List of the Day: NewtonList supports Newton users.
  • May 15 in LEM history: 00: Advantages of a small Mac market - 01: Just different - Restoring after reformatting your hard drive - Mac as religion in the UK - The CRT isn't dead yet - 02: Xserve G4 - Why laptops need docks - 03: Don't break up Apple, build it up - Upgrades for slot-loading iMacs - 06: Old Macs still fun to use, productive tools - Is Mac OS 9 still a player? - David G. Wood's Mac legacy - 07: 13" 2.16 GHz MacBook - 8 free apps every Mac user should know
  • 10 cult Macs adored by collectors, Tamara Keel, Digital Fossils, 05.13. Macs are not only noted for their longevity, but also by the passion which collectors have for some of the most interesting models ever made.
  • Low End Mac's Compleat Guide to the Lombard PowerBook G3, Charles W. Moore, 'Book Value, 05.13. With the Lombard PowerBook, Apple abandoned the legacy ADB and serial ports for USB, trimmed 20% from WallStreet's weight, and hit 400 MHz.
  • Best PowerBook G3 deals, Low End Mac Deals, 05.13. Used 14" WallStreet G3/266 MHz, $90; Lombard G3/400 MHz, $200; Pismo G3/400 MHz, $300; 500 MHz, $350.
  • Best Apple TV deals, Low End Mac Deals, 05.13. Refurb 40 GB Apple TV, $199; new, $210; refurb 160 GB, $279; new, $319.
  • Best Xserve deals, Low End Mac Deals, 05.13. Used 1 GHz dual G4, $1,399; close-out 2.0 dual-core Xeon, $1,999; refurb 2.66, $2,799; 3.0, $3,499; new 2.8 GHz quad, $2,888; 8-core, $3,299; 3.0, $4,059.
  • 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