Benchmarking EXT4 and Btrfs on an old Pentium laptop. Then comparing various mount options of Btrfs. Comparison for a future article on Phoronix in September 2011.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1109031-LI-BTRFSOLDS83
Btrfs Old System
Benchmarking EXT4 and Btrfs on an old Pentium laptop. Then comparing various mount options of Btrfs. Comparison for a future article on Phoronix in September 2011.
EXT4:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: ext4, Screen Resolution: 1400x1050
Btrfs:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - compress=zlib:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - compress=lzo:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - space_cache:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - autodefrag:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - nodatasum:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - nodatacow:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
Btrfs - nobarrier:
Processor: Intel T2400 @ 1.83GHz (2 Cores), Motherboard: LENOVO 2613EJU, Chipset: Intel Mobile 945GM/PM/GMS + ICH7-M, Memory: 1024MB, Disk: 80GB Hitachi HTS541080G9SA00, Graphics: ATI Radeon Mobility X1400, Audio: Analog Devices AD1981, Network: Intel 82573L Gigabit + Intel PRO/Wireless
OS: Ubuntu 11.10, Kernel: 3.1.0-999-generic (i686), Desktop: Unity 4.10.2, Display Server: X Server 1.10.2.902 (1.10.3 RC 2), Display Driver: radeon 6.14.99, Compiler: GCC 4.6.1, File-System: btrfs, Screen Resolution: 1400x1050
FS-Mark 3.3
Test: 1000 Files, 1MB Size
Files/s > Higher Is Better
EXT4 .................. 11.00 |============================
Btrfs ................. 10.93 |============================
Btrfs - compress=zlib . 15.13 |=======================================
Btrfs - compress=lzo .. 17.87 |==============================================
Btrfs - space_cache ... 10.93 |============================
Btrfs - autodefrag .... 10.80 |============================
Btrfs - nodatasum ..... 11.50 |==============================
Btrfs - nodatacow ..... 11.40 |=============================
Btrfs - nobarrier ..... 18.57 |================================================
FS-Mark 3.3
Test: 1000 Files, 1MB Size, No Sync/FSync
Files/s > Higher Is Better
EXT4 .................. 21.73 |=====
Btrfs ................. 28.57 |=======
Btrfs - compress=zlib . 73.17 |==================
Btrfs - compress=lzo .. 194.93 |===============================================
Btrfs - space_cache ... 28.80 |=======
Btrfs - autodefrag .... 27.87 |=======
Btrfs - nodatasum ..... 28.67 |=======
Btrfs - nodatacow ..... 29.07 |=======
Btrfs - nobarrier ..... 28.97 |=======
FS-Mark 3.3
Test: 5000 Files, 1MB Size, 4 Threads
Files/s > Higher Is Better
EXT4 .................. 16.43 |===========================
Btrfs ................. 13.20 |======================
Btrfs - compress=zlib . 26.47 |===========================================
Btrfs - compress=lzo .. 29.40 |================================================
Btrfs - space_cache ... 13.07 |=====================
Btrfs - autodefrag .... 13.20 |======================
Btrfs - nodatasum ..... 14.00 |=======================
Btrfs - nodatacow ..... 14.00 |=======================
Btrfs - nobarrier ..... 17.20 |============================
FS-Mark 3.3
Test: 4000 Files, 32 Sub Dirs, 1MB Size
Files/s > Higher Is Better
EXT4 .................. 11.28 |==============================
Btrfs ................. 10.67 |============================
Btrfs - compress=zlib . 15.10 |========================================
Btrfs - compress=lzo .. 17.03 |=============================================
Btrfs - space_cache ... 10.70 |============================
Btrfs - autodefrag .... 10.77 |============================
Btrfs - nodatasum ..... 11.47 |==============================
Btrfs - nodatacow ..... 11.43 |==============================
Btrfs - nobarrier ..... 18.23 |================================================
Dbench 4.0
Client Count: 6
MB/s > Higher Is Better
EXT4 .................. 20.04 |==============
Btrfs ................. 28.16 |====================
Btrfs - compress=zlib . 30.44 |=====================
Btrfs - compress=lzo .. 31.20 |======================
Btrfs - space_cache ... 23.31 |================
Btrfs - autodefrag .... 27.83 |===================
Btrfs - nodatasum ..... 24.61 |=================
Btrfs - nodatacow ..... 24.62 |=================
Btrfs - nobarrier ..... 68.89 |================================================
IOzone 3.347
Record Size: 64Kb - File Size: 2GB - Disk Test: Write Performance
MB/s > Higher Is Better
EXT4 .................. 26.05 |======
Btrfs ................. 28.51 |=======
Btrfs - compress=zlib . 70.85 |==================
Btrfs - compress=lzo .. 189.30 |===============================================
Btrfs - space_cache ... 28.57 |=======
Btrfs - autodefrag .... 28.53 |=======
Btrfs - nodatasum ..... 28.72 |=======
Btrfs - nodatacow ..... 28.82 |=======
Btrfs - nobarrier ..... 28.27 |=======
IOzone 3.347
Record Size: 64Kb - File Size: 2GB - Disk Test: Read Performance
MB/s > Higher Is Better
EXT4 .................. 25.32 |======
Btrfs ................. 26.37 |=======
Btrfs - compress=zlib . 167.22 |==========================================
Btrfs - compress=lzo .. 187.43 |===============================================
Btrfs - space_cache ... 27.35 |=======
Btrfs - autodefrag .... 27.39 |=======
Btrfs - nodatasum ..... 27.41 |=======
Btrfs - nodatacow ..... 28.04 |=======
Btrfs - nobarrier ..... 26.88 |=======
PostgreSQL pgbench 9.0.4
TPC-B Transactions Per Second
TPS > Higher Is Better
EXT4 .................. 82.60 |================================================
Btrfs ................. 18.68 |===========
Btrfs - compress=zlib . 18.26 |===========
Btrfs - compress=lzo .. 18.30 |===========
Btrfs - space_cache ... 17.87 |==========
Btrfs - autodefrag .... 18.54 |===========
Btrfs - nodatasum ..... 18.33 |===========
Btrfs - nodatacow ..... 19.81 |============
Btrfs - nobarrier ..... 82.61 |================================================
PostMark 1.51
Disk Transaction Performance
TPS > Higher Is Better
EXT4 .................. 90 |======================================
Btrfs ................. 103 |===========================================
Btrfs - compress=zlib . 87 |====================================
Btrfs - compress=lzo .. 120 |==================================================
Btrfs - space_cache ... 102 |===========================================
Btrfs - autodefrag .... 120 |==================================================
Btrfs - nodatasum ..... 114 |================================================
Btrfs - nodatacow ..... 113 |===============================================
Btrfs - nobarrier ..... 105 |============================================
SQLite 3.7.3
Test Target: Default Test Directory
Seconds < Lower Is Better
EXT4 .................. 970.83 |============================
Btrfs ................. 1484.29 |============================================
Btrfs - compress=zlib . 1480.00 |===========================================
Btrfs - compress=lzo .. 1462.10 |===========================================
Btrfs - space_cache ... 1477.81 |===========================================
Btrfs - autodefrag .... 1459.90 |===========================================
Btrfs - nodatasum ..... 1471.37 |===========================================
Btrfs - nodatacow ..... 1568.78 |==============================================
Btrfs - nobarrier ..... 205.33 |======