Welcome, Guest. Please login or register.

Author Topic: Longevity of CF Cards, i.e., TRIM  (Read 4031 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Geit

  • Newbie
  • *
  • Join Date: Dec 2009
  • Posts: 34
    • Show all replies
Re: Longevity of CF Cards, i.e., TRIM
« on: October 05, 2012, 05:10:54 PM »
It is more complex than just adding trim support to a file system.

For example there are block sizes. We usually use 512 or 1024 byte blocks on our media, while flash media internally using 128KB and even bigger blocks. So each 512 byte block write causes an 128KB block flash erase + reflash.

Depending on the internal controllers used the effect may be lower. Also the bigger the card, the less the ageing, as the internal controller swaps blocks to prevent killing a single block e.g. root/directory head, which needs to be written hundreds of times a day, while other blocks (mbr, once written files) just got a hand full of writes.

Trim just avoids that blocks a filesystem sees as cleared, are not backupped to other blocks when cycling flash cells, which a) avoids a useless flash and b) speeds up the write process.

Speaking aboud speed, recent flash media are much faster than our hardware can handle. The speed gain is produced due the lack of seek times, as we don´t have big system files.

I am using CF Cards for years now as main drive in my main system (Pegasos2) writing around 400 MB per day (entire system update + extracting ) and did not experience a single problem with it.

In fact I avoid harddrives where possible, so I even backup my files on flash media as well as using them in portable harddrives.

Geit
« Last Edit: October 05, 2012, 05:16:51 PM by Geit »
 

Offline Geit

  • Newbie
  • *
  • Join Date: Dec 2009
  • Posts: 34
    • Show all replies
Re: Longevity of CF Cards, i.e., TRIM
« Reply #1 on: October 06, 2012, 11:54:55 PM »
Quote from: danbeaver;710594
Thanks, glad to hear it!  I've been only using them for the past year and while I have found CF cards to be bus limited, SD cards are not; but then I've only used cheap ones. Due to the swap partition of OS 4.1, I've moved to an UW SCSI drive  for it. As SSD prices have fallen I've played with one on my PCI SATA card plus a modern DVD-RW.

CF Cards are 100% IDE, it is just a different connector, while SD card are using a serial protocol, so more hardware and more crap can happen to the data.

Cheap CF Cards are for sure slow. Just be sure to get at least a 400x. Better even a 700x. Another way is to go for real SSDs, which are currently getting into the same price sector. Use some not to cheap IDE-SATA adapter if needed.

It works quite well.

Geit
 

Offline Geit

  • Newbie
  • *
  • Join Date: Dec 2009
  • Posts: 34
    • Show all replies
Re: Longevity of CF Cards, i.e., TRIM
« Reply #2 on: October 07, 2012, 01:21:47 PM »
Quote from: danbeaver;710633
I get 35 Mb/s with a 15k U320 Atlas but only 25 via ACard 7720UW (one of the 2 Mech sold me) with an IDE->CF adapter; the adapter is a generic off Amazon. Is there one that performs better?


As an IDE->CF Adapter is just a hardwire, you need a faster card or a faster computer.

The used adapter doesn´t matter. There is no electronic needed.

It is just an CF-IDE to FullSize-IDE Adaper. Same as for 9pin Serial to 25pin Serial or micro usb to usb. Just a different connector. Nothing more.

Geit