Post a Comment On: /dev/dump

"SDcards and ZFS"

6 Comments -

1 – 6 of 6
Blogger LeftWing said...

What about a file-backed slog on an SDcard as formatted by the manufacturer?

October 27, 2009 at 6:41 AM

Blogger Garrett D'Amore said...

That's an interesting idea.... it might work. I've not tested it.

There is another issue though... in order to get any benefit, you have to beat the hard disk. SDcard has a theoretical maximum of 25 MB/sec (50 MHz, 4-bit wide bus.) In practice most SDcards max out for read performance between 10 and 15 MB/sec. (I've not tried some of the most expensive high end cards that might be faster.)

Write performance is usually significantly worse for SD card media.

Most hard drives can significantly outperform SDcard, so I don't think it makes sense to try to use this as any kind of accelerator for ZFS.

October 27, 2009 at 7:12 AM

Blogger Doug said...

I had given some thought to using and SDcard as a root device with ZFS. Performance wouldn't have been a concern since there wouldn't be much in the way of writes for the application I was looking at (an embedded system). Then I found that you can't boot with ZFS on removable media due to the drivers not setting up the deviceID.

November 2, 2009 at 10:16 AM

OpenID Watkins said...

I'm going to try it on Open Pandora for non-root filesystem. If it's a choice between ext4 on SD versus ZFS on SD, I'm guessing ZFS is going to win as it's more efficient. Not sure how well it would work with limited RAM and storage though, we'll see...

July 28, 2012 at 4:46 AM

OpenID Watkins said...

I'm going to try it on Open Pandora for non-root filesystem. If it's a choice between ext4 on SD versus ZFS on SD, I'm guessing ZFS is going to win as it's more efficient. Not sure how well it would work with limited RAM and storage though, we'll see...

July 28, 2012 at 4:53 AM

Blogger Stefano Rossi said...

I was wondering, would it be a good idea to use ZFS on a SDXC card, to have the checksumming features of ZFS, for low-cost backup purposes? And what do you think of having two SD cards in "RAID", to be able to recover the data in case of a card becoming corrupted?

July 29, 2013 at 4:27 AM