Btrfs Mount Options On Ubuntu Linux Testing various Btrfs file-system mount options from an early Linux 3.7 development kernel. Benchmarking for a future article on Phoronix.com by Michael Larabel. Stock: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 nodatacow: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 nobarrier: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 compress=zlib: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 compress=lzo: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 discard: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 nospace_cache: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 clear_cache: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 inode_cache: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 noatime: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: nouveau 1.0.2, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: GCC 4.7, File-System: btrfs, Screen Resolution: 1600x900 Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Seconds (Run Time) < Lower Is Better Stock ......... 724.41 |================================================= nodatacow ..... 661.77 |============================================= nobarrier ..... 715.79 |================================================ compress=zlib . 721.72 |================================================= compress=lzo .. 713.95 |================================================ discard ....... 816.52 |======================================================= nospace_cache . 722.57 |================================================= clear_cache ... 721.05 |================================================= inode_cache ... 715.86 |================================================ noatime ....... 713.06 |================================================ FS-Mark 3.3 Test: 1000 Files, 1MB Size Files/s > Higher Is Better Stock ......... 65.37 |=================== nodatacow ..... 86.23 |========================= nobarrier ..... 70.83 |===================== compress=zlib . 101.13 |============================== compress=lzo .. 188.13 |======================================================= discard ....... 59.40 |================= nospace_cache . 66.03 |=================== clear_cache ... 65.50 |=================== inode_cache ... 66.20 |=================== noatime ....... 65.97 |=================== FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Files/s > Higher Is Better Stock ......... 93.23 |====== nodatacow ..... 99.10 |======= nobarrier ..... 93.87 |====== compress=zlib . 237.93 |================ compress=lzo .. 832.43 |======================================================= discard ....... 70.52 |===== nospace_cache . 93.83 |====== clear_cache ... 93.57 |====== inode_cache ... 93.57 |====== noatime ....... 93.90 |====== FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Files/s > Higher Is Better Stock ......... 64.00 |=================== nodatacow ..... 76.80 |======================= nobarrier ..... 68.97 |==================== compress=zlib . 99.07 |============================= compress=lzo .. 185.60 |======================================================= discard ....... 54.93 |================ nospace_cache . 63.80 |=================== clear_cache ... 63.90 |=================== inode_cache ... 63.90 |=================== noatime ....... 63.20 |=================== Dbench 4.0 Client Count: 1 MB/s > Higher Is Better Stock ......... 170.36 |================================================ nodatacow ..... 193.99 |======================================================= nobarrier ..... 181.87 |==================================================== compress=zlib . 169.11 |================================================ compress=lzo .. 187.59 |===================================================== discard ....... 148.72 |========================================== nospace_cache . 170.64 |================================================ clear_cache ... 169.72 |================================================ inode_cache ... 191.24 |====================================================== noatime ....... 168.49 |================================================ IOzone 3.405 Record Size: 1MB - File Size: 8GB - Disk Test: Read Performance MB/s > Higher Is Better Stock ......... 292.69 |=============== nodatacow ..... 278.89 |============== nobarrier ..... 288.37 |=============== compress=zlib . 1072.39 |====================================================== compress=lzo .. 1018.11 |=================================================== discard ....... 310.42 |================ nospace_cache . 302.79 |=============== clear_cache ... 287.90 |============== inode_cache ... 289.47 |=============== noatime ....... 259.74 |============= IOzone 3.405 Record Size: 4Kb - File Size: 8GB - Disk Test: Read Performance MB/s > Higher Is Better Stock ......... 286.04 |================================================= nodatacow ..... 274.59 |=============================================== nobarrier ..... 285.02 |================================================= compress=zlib . 309.67 |===================================================== compress=lzo .. 322.96 |======================================================= discard ....... 300.61 |=================================================== nospace_cache . 287.20 |================================================= clear_cache ... 292.42 |================================================== inode_cache ... 285.79 |================================================= noatime ....... 220.49 |====================================== IOzone 3.405 Record Size: 1MB - File Size: 8GB - Disk Test: Write Performance MB/s > Higher Is Better Stock ......... 102.44 |==== nodatacow ..... 103.05 |==== nobarrier ..... 103.01 |==== compress=zlib . 313.89 |============= compress=lzo .. 1285.86 |====================================================== discard ....... 102.83 |==== nospace_cache . 102.61 |==== clear_cache ... 102.63 |==== inode_cache ... 102.43 |==== noatime ....... 100.85 |==== IOzone 3.405 Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance MB/s > Higher Is Better Stock ......... 102.30 |========================== nodatacow ..... 102.97 |=========================== nobarrier ..... 102.48 |=========================== compress=zlib . 193.81 |================================================== compress=lzo .. 212.67 |======================================================= discard ....... 101.42 |========================== nospace_cache . 102.57 |=========================== clear_cache ... 102.82 |=========================== inode_cache ... 102.61 |=========================== noatime ....... 97.56 |========================= IOzone 3.405 Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance MB/s > Higher Is Better Stock ......... 294.92 |=============== nodatacow ..... 275.35 |============== nobarrier ..... 292.75 |=============== compress=zlib . 1048.39 |====================================================== compress=lzo .. 1029.06 |===================================================== discard ....... 320.97 |================= nospace_cache . 291.59 |=============== clear_cache ... 294.81 |=============== inode_cache ... 298.31 |=============== noatime ....... 232.97 |============ IOzone 3.405 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance MB/s > Higher Is Better Stock ......... 102.86 |==== nodatacow ..... 103.19 |==== nobarrier ..... 102.68 |==== compress=zlib . 326.80 |============== compress=lzo .. 1291.38 |====================================================== discard ....... 102.15 |==== nospace_cache . 102.88 |==== clear_cache ... 102.79 |==== inode_cache ... 102.79 |==== noatime ....... 101.20 |==== Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 32MB - Thread Count: 4 MB/s > Higher Is Better Stock ......... 75.10 |=========================================== nodatacow ..... 97.25 |======================================================== nobarrier ..... 67.72 |======================================= compress=zlib . 63.16 |==================================== compress=lzo .. 63.92 |===================================== discard ....... 75.62 |============================================ nospace_cache . 72.54 |========================================== clear_cache ... 73.31 |========================================== inode_cache ... 70.14 |======================================== noatime ....... 59.66 |================================== Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 32MB - Thread Count: 8 MB/s > Higher Is Better Stock ......... 75.00 |============================================ nodatacow ..... 96.21 |======================================================== nobarrier ..... 78.74 |============================================== compress=zlib . 62.57 |==================================== compress=lzo .. 69.41 |======================================== discard ....... 75.53 |============================================ nospace_cache . 77.34 |============================================= clear_cache ... 82.24 |================================================ inode_cache ... 81.62 |================================================ noatime ....... 73.41 |=========================================== Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 4 MB/s > Higher Is Better Stock ......... 74.26 |============================================ nodatacow ..... 93.61 |======================================================== nobarrier ..... 71.64 |=========================================== compress=zlib . 63.34 |====================================== compress=lzo .. 58.12 |=================================== discard ....... 68.89 |========================================= nospace_cache . 69.56 |========================================== clear_cache ... 72.94 |============================================ inode_cache ... 68.66 |========================================= noatime ....... 68.82 |========================================= Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 MB/s > Higher Is Better Stock ......... 77.23 |============================================== nodatacow ..... 93.33 |======================================================== nobarrier ..... 78.33 |=============================================== compress=zlib . 57.46 |================================== compress=lzo .. 57.60 |=================================== discard ....... 60.66 |==================================== nospace_cache . 79.95 |================================================ clear_cache ... 73.71 |============================================ inode_cache ... 68.78 |========================================= noatime ....... 79.89 |================================================ Compile Bench 0.6 Test: Compile MB/s > Higher Is Better Stock ......... 96.76 |======== nodatacow ..... 95.50 |======= nobarrier ..... 95.61 |======= compress=zlib . 210.26 |================ compress=lzo .. 705.81 |======================================================= discard ....... 98.50 |======== nospace_cache . 96.67 |======== clear_cache ... 96.58 |======== inode_cache ... 93.44 |======= noatime ....... 91.84 |======= Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better Stock ......... 59.11 |=============================================== nodatacow ..... 56.48 |============================================= nobarrier ..... 64.22 |=================================================== compress=zlib . 51.70 |========================================= compress=lzo .. 70.21 |======================================================== discard ....... 51.46 |========================================= nospace_cache . 65.73 |==================================================== clear_cache ... 61.87 |================================================= inode_cache ... 59.44 |=============================================== noatime ....... 62.97 |================================================== Unpacking The Linux Kernel linux-2.6.32.tar.bz2 Seconds < Lower Is Better Stock ......... 16.07 |================================= nodatacow ..... 15.73 |================================= nobarrier ..... 15.94 |================================= compress=zlib . 27.05 |======================================================== compress=lzo .. 19.15 |======================================== discard ....... 17.27 |==================================== nospace_cache . 15.84 |================================= clear_cache ... 16.21 |================================== inode_cache ... 16.05 |================================= noatime ....... 16.09 |================================= PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better Stock ......... 1594 |======================================= nodatacow ..... 2318 |========================================================= nobarrier ..... 1562 |====================================== compress=lzo .. 2003 |================================================= discard ....... 1597 |======================================= nospace_cache . 1597 |======================================= clear_cache ... 1562 |====================================== inode_cache ... 1562 |====================================== noatime ....... 1607 |========================================