Btrfs Linux 3.14 Testing Btrfs file-system tuning of different mount options after fresh Btrfs formatting each time and using a Linux 3.14 kernel in development stage. Benchmarks by Michael Larabel for a future article on Phoronix.com. Default Mount Options: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 LZO Compression: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 Zlib Compression: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (270/324MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: nouveau 1.0.10, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 Space Cache: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 Noatime: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 Nodatacow: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 SSD_spread: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 Discard: Processor: Intel Core i7-3517U @ 3.00GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB, Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.14.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: nouveau 1.0.10, OpenGL: 3.3 Mesa 10.0.1, Compiler: GCC 4.8, File-System: btrfs, Screen Resolution: 1920x1080 AIO-Stress 0.21 Test: Random Write MB/s > Higher Is Better Default Mount Options . 275.82 |============================================= LZO Compression ....... 287.28 |=============================================== Zlib Compression ...... 277.60 |============================================= Space Cache ........... 282.63 |============================================== Noatime ............... 282.70 |============================================== Nodatacow ............. 193.61 |================================ SSD_spread ............ 286.25 |=============================================== Discard ............... 281.68 |============================================== Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Seconds (Run Time) < Lower Is Better Default Mount Options . 254.06 |============================================= LZO Compression ....... 253.29 |============================================= Zlib Compression ...... 250.44 |============================================ Space Cache ........... 243.33 |=========================================== Noatime ............... 244.66 |=========================================== Nodatacow ............. 254.56 |============================================= SSD_spread ............ 247.27 |============================================ Discard ............... 266.37 |=============================================== FS-Mark 3.3 Test: 1000 Files, 1MB Size Files/s > Higher Is Better Default Mount Options . 53.14 |==================== LZO Compression ....... 121.85 |=============================================== Zlib Compression ...... 93.70 |==================================== Space Cache ........... 53.38 |===================== Noatime ............... 52.88 |==================== Nodatacow ............. 54.93 |===================== SSD_spread ............ 53.03 |==================== Discard ............... 50.52 |=================== FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Files/s > Higher Is Better Default Mount Options . 89.97 |================== LZO Compression ....... 230.30 |=============================================== Zlib Compression ...... 188.63 |====================================== Space Cache ........... 88.50 |================== Noatime ............... 89.67 |================== Nodatacow ............. 94.37 |=================== SSD_spread ............ 89.87 |================== Discard ............... 89.93 |================== Dbench 4.0 Client Count: 1 MB/s > Higher Is Better Default Mount Options . 57.62 |======================================= LZO Compression ....... 65.15 |============================================ Zlib Compression ...... 69.62 |=============================================== Space Cache ........... 58.33 |======================================= Noatime ............... 58.69 |======================================= Nodatacow ............. 65.23 |============================================ SSD_spread ............ 58.80 |======================================== Discard ............... 71.41 |================================================ IOzone 3.405 Record Size: 64Kb - File Size: 4GB - Disk Test: Read Performance MB/s > Higher Is Better Default Mount Options . 437.78 |================ LZO Compression ....... 1000.35 |===================================== Zlib Compression ...... 1255.85 |============================================== Space Cache ........... 431.64 |================ Noatime ............... 433.00 |================ Nodatacow ............. 432.96 |================ SSD_spread ............ 431.02 |================ Discard ............... 355.67 |============= IOzone 3.405 Record Size: 64Kb - File Size: 4GB - Disk Test: Write Performance MB/s > Higher Is Better Default Mount Options . 286.80 |======= LZO Compression ....... 1929.18 |============================================== Zlib Compression ...... 483.05 |============ Space Cache ........... 261.20 |====== Noatime ............... 266.97 |====== Nodatacow ............. 253.44 |====== SSD_spread ............ 273.39 |======= Discard ............... 319.69 |======== Compile Bench 0.6 Test: Compile MB/s > Higher Is Better Default Mount Options . 245.79 |========= LZO Compression ....... 1200.22 |============================================== Zlib Compression ...... 352.89 |============== Space Cache ........... 245.39 |========= Noatime ............... 255.21 |========== Nodatacow ............. 253.43 |========== SSD_spread ............ 263.38 |========== Discard ............... 247.38 |========= Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better Default Mount Options . 142.82 |=============================================== LZO Compression ....... 143.83 |=============================================== Zlib Compression ...... 143.74 |=============================================== Space Cache ........... 133.73 |============================================ Noatime ............... 132.83 |=========================================== Nodatacow ............. 133.65 |============================================ SSD_spread ............ 134.65 |============================================ Discard ............... 118.28 |======================================= PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better Default Mount Options . 1439 |============================== LZO Compression ....... 1476 |=============================== Zlib Compression ...... 2348 |================================================= Space Cache ........... 1562 |================================= Noatime ............... 1575 |================================= Nodatacow ............. 1842 |====================================== SSD_spread ............ 1572 |================================= Discard ............... 1479 |===============================