Author Topic: using compact flash as a hard drive  (Read 1795 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisNova777

  • Administrator
  • Posts: 8860
  • Gender: Male
  • "Vintage MIDI Sequencing + Audio Production"
    • | vintage audio production software + hardware info
using compact flash as a hard drive
« on: March 10, 2017, 08:59:00 PM »

With capacities now reaching 512 GB, CompactFlash is a tempting alternative to a traditional hard drive or SSD, and they have a much higher maximum capacity than the currently popular SD-type cards, not to mention being easier to interface with an IDE bus.

I have heard that while CompactFlash drives may have phenomenally high speed ratings, the minute you put it on an IDE adapter, your maximum transfer rate is the same as Ultra ATA/33.  I have also seen IDE-CF adapters that claim to support 150 MBps transfer rates, which is higher than Ultra ATA/133 supports, and that’s the fastest parallel ATA protocol, so that obviously isn’t true.

In brief,
if you have a really fast CF card, your Mac’s IDE or Ultra ATA data bus will be the limiting factor.
If you have a really slow CF card, it will be the bottleneck.
Your best bet is to find a card rated as follows:

IDE (original specification): 3.3 MBps, use at least 22x
ATA-1: 8.3 MBps, use at least 55x
ATA-2/EIDE/Fast ATA/Fast IDE/Ultra ATA: 16.7 MBps, use at least 110x
ATA-3/EIDE: 16.7 MBps, use at least 110x
Ultra ATA/33: 33.3 MBps, use at least 220x
Ultra ATA/66: 66.7 MBps, use at least 440x
Ultra ATA/100: 100 MBps, use at least 660x
Ultra ATA/133: 133 MBps, use at least 880x

Ratings are just a starting point, and just because a card says its 400x doesn’t mean it really is, so do your research, find reviews, and make sure the card you buy is the same as the one in the review. Sometimes the internal components will change without the name changing to reflect the difference.

Also, because write speeds are generally lower than read speeds, you might want to boost those “x” numbers by 50% for best results. This is a general guideline, though, so there are many exceptions.

Those “x” Speeds in the Real World

CF cards are speed rated relative to the original CD specification, which is 150 KBps. Thus a 200x CF card should provide 30 MBps performance, 233x should equal 35 MBps speed, and a 266x card should hit 40 MBps. Theoretically a 233x card would top Ultra ATA/33 speed.

Transcend 1000x CompactFlashBut that’s not how things work in the real world. Tom’s Hardware has done extensive performance testing of CompactFlash memory cards with a SanDisk USB 3.0 card reader, one of the top rated CF card readers in its 2014 tests. Testing was done with 1000 MB of data and repeated five times, then averaged. In all, 15 cards from six manufacturers were tested, 9 of them UDMA-7 cards, which allows a maximum throughput of 167 MB/s and equivalent to Ultra ATA/167.

USB 3.0 is not a bottleneck here, as Tom’s Hardware benchmarks of USB 3.0 flash drives show sequential read speeds as high as 434.6 MB/s and write speeds of 286.2 – far higher than any CF card. (For the record, USB 2.0 card readers topped out at 62.9 MB/s sequential reads and 40.6 MB/s writes when tested by Tom’s in 2011 – still higher than the 33 MB/s ceiling for a CF/IDE adapter.)

In its sequential read tests, Tom’s Hardware reports that all the 800x, 100x, and 1066x cards come in between 151 and 157 MB/s, as does the Transcend CompactFlash 400x, a real surprise considering its official 400x rating. The two 300x cards tested score 45.5 and 46.6 MB/s, and most 600x cards score 86.8-99.6 MB/s, with the Kingston Ultimate 600x exceeding expectations at 126.7 MB/s. The UDMA-7 cards, rated at up to 167 MB/s, consistently outperform UDMA-6 cards, which match ATA/133 and have a peak throughput of 133 MB/s.

Writing to flash memory isn’t as simple as writing to a hard drive. The top sequential write speed is 129.2 MB/s, and the worst performer is a 300x Silicon Power card that achieves just 18.9 MB – only 42% as fast as the 300x SanDisk Ducati. Then there are a 400x and 800x card with almost the same write speed. You just can’t predict based on rated speed or UDMA standard which will write faster.

In an ideal world, charting read (vertical) and write (horizontal) performance in a scattergram would create a linear patter, but as this chart shows, some cards are tops in both read and write speeds, while others are not.

CompactFlash performance
Sequential read and write performance of CF cards.
On the plus side, all the 1000x and 1066x cards had a measured speed of 122.0 to 129.2 MB/s, so you can count on those for good write speed. In the end, you really need to wade benchmark results to find out which CF cards have the best balance of read speed, write speed, capacity, and price.

Finally, all bets are off when it comes to random reads and, even more so, writes, which range from a high of 39.8 MB/s to a low of 0.6 MB/s. That worst result comes from the only card to have a higher sequential write speed than read speed.

Then again, it also depends on how you’re connecting to the card. If you’re using the old reliable IDE adapter, only one of the tested cards had a sequential write speed below 33 MB/s, but only three had a random write speed higher than that – all of them UDMA-7 cards. That said, some UDMA-7 cards were much slower than that.

To make matters more difficult, all but one of these cards have been discontinued at present, so you’ll need to search for more up-to-date test results when looking for the best CF card to use as a hard drive replacement.

Based on reviews I’ve read, SanDisk and Lexar appear to be two of the best brands.

FireWire, a Mac Alternative

USB 3.0 is wicked fast but not supported on older Macs. USB 2.0 is okay, but FireWire 400 is faster, and FireWire 800 faster yet – sometimes faster than USB 3.0! Most PowerPC Macs since 1999 include FireWire, although few PowerPC machines other than the Power Mac G5 and FW 800 Power Mac G4 have FireWire 800. FireWire also appears on most pre-USB 3.0 Intel-based Macs, the consumer MacBook and MacBook Air being the FireWire-free exceptions.

The following data is from Rob Galbraith.

Fastest CF card reads, USB 3.0: 77.2 MBps (Lexar Pro 400x 16 GB)
Fastest CF card reads, FireWire 800: 79.4 MBps (Lexar Professional 1000x 32 GB)
Fastest CF card reads, FireWire 400: est. 39.7 MBps, half FW 800 speed
Fastest CF card reads, USB 2.0: 36.7 MBps (Delkin CombatFlash 685x 16 GB)
Fastest CF card reads with SATA adapter: 94.0 MBps (Lexar Professional 400x 8 GB)
Galbraith is only using modern gear, so he does not post results using an IDE adapter like the ones covered in this article.

The SanDisk Extreme FireWire Reader (about $50 on eBay) can be a great tool for moving data to and from CF cards for FireWire 400 and FireWire 800 Macs.

Using CompactFlash Inside Your Mac

CF-to-IDE adapter for 2.5-inch driveFor PowerBooks and iBooks with an IDE hard drive, all you need is a standard CF-to-IDE adapter and a UDMA CF card, preferably on over 266x. It should be plug-and-play, although you may need to use a third-party drive formatting utility or a hacked version of Apple’s HD SC Setup.

If you’re going to run Mac OS X, we recommend a CF-to-IDE adapter that supports two CF cards so you can set one up exclusively for use with virtual memory, as this is the one feature of OS X most likely to wear out flash memory. This way you can simply replace the virtual memory CF card should it go bad.

CF-to-IDE adapter for 3.5-inch driveIf you want to use CF inside a desktop Mac with an IDE bus, you’ll either want a CF-to-IDE adapter designed for use with a standard IDE cable (not the smaller 2.5″ notebook drive connection) or a 3.5″-to-2.5″ adapter plus a notebook CF-to-IDE adapter. This adapter will also work in a 5.25″ drive bay

Offline chrisNova777

  • Administrator
  • Posts: 8860
  • Gender: Male
  • "Vintage MIDI Sequencing + Audio Production"
    • | vintage audio production software + hardware info
b+W g3 may be incompatible
« Reply #1 on: March 10, 2017, 10:25:38 PM »
for whatever reason i cant get compact flash to work with my b+w g3 - sometimes it works.. and then sometimes i cant boot up at all.... mouse freezes..

so im going to assume that the ATA/33 controller on the B+W g3 either doesnt like
a) the acard 6880M adapter
b) generic compact flash adapter itself
c) specific type of compact flash media itself

beause once removed the 6880m and the compact flash altogether, suddently i have no problems booting up:)