<br><div class="gmail_quote">On Sat, May 16, 2009 at 10:54 PM, Chris Ball <span dir="ltr"><<a href="mailto:cjb@laptop.org">cjb@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ben,<br>
<div class="im"><br>
> Of course, this equation gets still more complicated depending on<br>
> whether we have MTD or FTL flash. Choosing a filesystem will be<br>
> an interesting exercise.<br>
<br>
</div>I think it's clear that we'll be using an FTL of some kind. (Which<br>
kind in particular will depend on more testing with the new A-Test<br>
board.)<br>
<br>
So, as a strawman, I'll suggest uncompressed ext2. Depending on the<br>
FTL, something else may be more reasonable instead.<br>
<font color="#888888"></font></blockquote><div><br>This is what I've been using on SD cards, USB drives, etc, with some success. Seems stable enough, while helping out with wear.<br><br>Ext3 might be used with some tweaks:<br>
<br><a href="http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/">http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/</a><br><br>From my experience XFS is more efficient for filesystems of only 4GB but would completely wear out flash a lot faster. Depending on the number of files you have, you may run out of inodes or space with ext2/3, while XFS, for instance, can make a better use of each block and dynamically allocate inodes.<br>
<br>I had a particular Gentoo install of about 2.8GB that couldn't fit in a 4GB USB drive with ext3 due to the number of files used (especially due to portage, lack of inodes IIRC). XFS saved me about 300-400MB of space and managed to fit everything there. It was slower as it was constantly optimizing the usage of blocks and was unusable on this particular drive due to the low random writes. Had to switch to an 8GB device with ext2, which was at least an order of magnitude faster.<br>
I have no idea if ext4 or something else are a better fit for this kind of applications.<br><br>My current XO is running a Gentoo install with portage read-only as a squashfs image, which takes up only 40MB, easily fitting the install in the 4GB SD card with ext2. No problems until now, haven't noticed any corruption although it does get rather slow when it needs to write many files at once.<br>
<br>Best regards,<br><br>Tiago Marques<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>
- Chris.<br>
</font><div class="im">--<br>
Chris Ball <<a href="mailto:cjb@laptop.org">cjb@laptop.org</a>><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>