View previous topic :: View next topic |
What's the best file system for SD card? |
FAT32 |
|
66% |
[ 4 ] |
NTFS |
|
0% |
[ 0 ] |
EXT2 |
|
16% |
[ 1 ] |
EXT3 |
|
0% |
[ 0 ] |
EXT4 |
|
16% |
[ 1 ] |
exFAT |
|
0% |
[ 0 ] |
|
Total Votes : 6 |
|
Author |
Message |
pigsboss n00b
Joined: 27 Dec 2011 Posts: 20
|
Posted: Thu Jul 05, 2012 6:48 am Post subject: What is the best filesystem for SD card? |
|
|
I put my OS in SSD and my backup & archives & ISOs in HDD.
I'm now planning to put my work directories (lots of small codes) in SD cards so that I can manage them conveniently.
What is the best filesystem for SD card? I will access my SD cards through a built-in cardreader in my laptop. Because I have to access them both in Windows and in Gentoo, so I think I have only several choises.
I performed several tests using fs_mark on a SanDisk 16GB SD card (Class10, w/r up to 30MB/s and 45MB/s).
Here is some results:
1, NTFS, block(cluster) size=32kiB, libntfs-3g v2012-1-15, 1MiB*1000: 1.9 files/sec
2, ext4, block size=4kiB, (kernel: 3.2.12), 1MiB*1000: 12.9 files/sec
3, FAT32, block(cluster) size=32kiB, 1MiB*1000: 11.8 files/sec
4, exFat, cluster size=32kiB, 1MiB*1000: 245.3 files/sec
I think results from both ext4 test and vfat test are really reaonable. However the results of NTFS test and exFat test are really strange!
What's your opinion? What are you using with your SD card? _________________ Pig's Boss / 猪头 |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu Jul 05, 2012 8:37 am Post subject: |
|
|
My opinion is :
Code: |
G64_SSDP = {
features = ^has_journal,ext_attr,^resize_inode,dir_index,filetype,^extent,^flex_bg,sparse_super,large_file,^huge_file,^uninit_bg,^dir_nlink,^extra_isize
blocksize = 4096
inode_ratio = 32768
inode_size = 128
}
G64_SSDJ = {
features = has_journal,ext_attr,^resize_inode,dir_index,filetype,extent,flex_bg,sparse_super,large_file,^huge_file,uninit_bg,^dir_nlink,^extra_isize
blocksize = 4096
inode_ratio = 262144
inode_size = 128
} |
SSDP is ext2 like, if yoursystem is battery-powered, you do not need journaling.
SSDJ is ext4 journaled like.
Of course I do not need extensive xattrs, nor have enough space for huge files.
BTW, I use cfdisk to create the partition and use its maximize facility.
All in all, I manage to lower the €/Mo ratio... _________________
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Jul 05, 2012 5:11 pm Post subject: |
|
|
UDF. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|