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

RAM Disk or Disk Cache?

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: Juice up your iPod w/NewerTech High Capacity Battery from $19.99 Free Installation Videos for most models. Pro Installation Service w/FedEx Shipping From $57.95 (Battery Included). - www.MacSales.com

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.

I want to rattle on about this, since Dan is testing out some of the things I've postulated about before. I keep seeing this dual RAM Disk/Disk Cache trend, and it astonishes me. I just haven't figured out why everyone wants to equate them together, and then it dawned on me - some people are using their RAM disk as their Netscape cache folder.

So, armed with this obscene information, I'm gonna make some comments . . . read on. . . .

"With Speedometer, a cache larger than 1 MB makes very little difference."

I very much like the "With Speedometer" part of this phrase. That's a very crucial part of the sentence. Performance increases level off at 2 MB with MacBench on almost every machine, but neither MacBench nor Speedometer test normal use, they only test their own patterns. This is the difference between real world and lab world use.

"At least on the IIsi, a RAM disk with a small cache is over twice as fast as a large data cache."

When the RAM disk is accessed, performance for those cached items from the RAM disk are exactly 50% slower because of dual checking, checking the cache and then the RAM disk. Performance drops from this point are due to latency and bus utilization. Speed Doubler fixes this by using an optimized cache routine, and I think even tells the disk cache to ignore RAM disks - but I'm not sure on the latter.

"Don't use a RAM disk with a huge disk cache, since the OS looks to the cache first. For best response with a limited amount of data, use a large enough RAM disk with a 128KB or smaller disk cache. For more data than you'd care to put on a RAM disk, create a cache large enough to hold the whole thing if possible. (Current versions of the Mac OS limit the disk cache to 7.5 MB.)"

This really depends on why you're using a RAM disk. If you're using a RAM disk for Netscape, just can the RAM disk and raise you're cache - this eliminates the above "memory mirroring" effect. A long time ago, people started this Netscape RAM disk thing, and it's easier to just increase your disk cache by the same amount as you'd dedicated to a RAM Disk, to get the performance boost. OK . . . it's a little slower than using a RAM disk because of the SCSI checks, but again, Speed Doubler helps this a lot, and it also helps out other programs other than Netscape, and the system software as well, which can mostly be held in cache memory . . .

"Speculation: I believe the Q2050 had a larger internal buffer than the older drive, which seems to be working against the cache. This could help explain the performance drop at 256 KB and 512 KB."

Bingo - you have an excellent grasp of how the block transfer issue affects disk cache on SCSI hard drives. There's almost a harmonic effect about it . . .

Now . . . for the notes. And I have published all these before on the list . . .

The only clients that I have ever recommended a dedicated RAM disk to are the consistent Photoshop users, and they're told to turn their Primary Scratch Disk to this 4 MB RAM disk. This is designed to cache, through Adobe's unique built in VM caching routine, the first 4 MB of their VM cache, which contains all of the cache headers, the filter information, and all of the programing hooks that are always sent to the hard drive, no matter how much memory you allocated to Photoshop.  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

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

Related articles

Recent Online Tech Journal Columns

Recent Content on Low End Mac

  • Mac Pro overclocking, Windependence with Darwine, Blu-ray for Macs, and more, Mac News Review, 07.04. Also more on running Leopard on non-Apple hardware, Ubuntu on a Mac mini, the first autofocus webcam with Zeiss optics for Macs, and more.
  • Wouldn't life be great with an iSlate?, John Hatchett, Recycled Computing, 07.04. PDAs and smartphones are too small for some tasks, full-fledged Tablet PCs are overkill, and ebook readers are too limited. Apple has the tech to own this niche.
  • Mac of the Day: Blue & White Power Mac G3, Jan. 1999 - The most colorful Power Mac introduced an innovative 'drawbridge' enclosure.
  • List of the Day: SuperMacs is for those using Umax SuperMac clones.
  • July 6 in LEM history: 00: 3 user accelerators - 01: SCSI and FireWire Disk Mode - Stick with the Mac - Computers for college - 05: Optimizing OS X performance - Return of the bumper snicker - 06: Can consumer MacBook replace 2 PowerBooks and a ThinkPad? - Vintage Macs with System 6 run circles around 3 GHz Windows PC - Run Windows apps without Windows
  • The Macintosh Portable started a notebook revolution, Carl Nygren, Classic Macs in the Intel Age, 07.03. Before Apple introduced the Mac Portable, notebook computers were text-based and ran MS-DOS. Ever since, graphical interfaces have been the norm for laptops.
  • 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