File-System Benchmarks on USB Flash: VFAT vs NTFS vs HFS+ vs Ext2 vs Ext4 vs F2FS vs Btrfs vs XFS

USB Flash devices – one of the most popular electronic devices today. In this benchmark series I want to show which file-systems is better at work and compare with most popular FS in USB Flash add SD-cards – VFAT. Remember that Microsoft has some patents for VFAT.
Very interested results of F2FS – flash file system developed by Samsung for the NAND flash devices.

Software:

  • Fedora Rawhide (24)
  • Linux kernel kernel-4.4.0 comliled by GCC 5.2.1
  • e2fsprogs 1.42.13
  • dosfstools 3.0.28
  • hfsplus-tools 540.1
  • f2fs-tools 1.4.1
  • xfsprogs 4.2.0
  • btrfs-progs 4.2.2
  • gnome-disk-utility 3.18.2

Part 1 – Kingston DataTraveler G4 USB 3.0

Sample Size – 10 M
File-System Read, MB/s Write, MB/s Access, ms
vfat 97.1 4.8 0.47
ext2 96.7 7.8 0.46
ext4 96.2 10 0.47
hfs+ 97.1 5.1 0.46
ntfs 90.7 5.3 0.41
btrfs 97 6.1 0.52
xfs 96.4 7.1 0.52
f2fs 96.8 9.3 0.48
Sample Size – 1 M
File-System Read, MB/s Write, MB/s Access, ms
vfat 90.5 954 kb/s 0.45
ext2 95.6 1.5 0.46
ext4 94.9 1.9 0.47
hfs+ 96.3 882.1 kb/s 0.47
ntfs 88.8 1.5 0.42
btrfs 86.6 955.9 kb/s 0.52
xfs 87.8 1.5 0.51
f2fs 91.5 1.9 0.42

Part 2 – Transcend JetFlash TS2GJFV30

Sample Size – 10 M
File-System Read, MB/s Write, MB/s Access, ms
vfat 25.9 8 3.61
ext2 25.7 7.9 3.71
ext4 25.9 7.9 3.66
hfs+ 26.2 7.7 3.65
ntfs 26.3 7.9 3.73
btrfs 26.2 8 3.71
xfs 26.2 7.8 3.67
f2fs 26.2 8.1 3.90
Sample Size – 1 M
File-System Read, MB/s Write, MB/s Access, ms
vfat 26.1 5.6 3.64
ext2 25.8 5.5 3.57
ext4 26 5.6 3.60
hfs+ 25 5.6 3.80
ntfs 26.2 5.5 3.62
btrfs 26.1 5.7 3.88
xfs 26 5.6 3.63
f2fs 26 5.7 3.59

Part 3 – Graphics

VFAT
VFAT
EXT2
EXT2
EXT4
EXT4
HFS+
HFS+
NTFS
NTFS
Btrfs
Btrfs
XFS
XFS
F2FS
F2FS

Resume

Most interested results in the F2FS and Btrfs tests, F2FS has the highest recording speed. In Part 1 the VFAT tests have a very small writing speed. The NTFS and HFS+ file-systems works very nicely in Linux. So if you can see the VFAT isn’t non-alternative file-system and has now some real rivals. See in the next chapters the extended benchmarks with SSD and HDD.

Read more:

Github’s Atom vs Microsoft’s Visual Studio Code: Comparison, Review and Voting

Top 40 of The Best Quotes of Linus Torvalds: Money, Hardware, Source Code And Most Important Things For All

Let’s Encrypt And WoSign – How To Get A Valid SSL Certificate Absolutely Free

Ubuntu, Fedora, Mint, Elementary and Others in One USB Flash – How To Create MultiUSB Drive