Benchmarking disk write cache on a SATA2 NCQ capable configuration. I added a few generic CPU tests as a reference for the system performance. The tests are going to try different file systems with or without write barrier and w/ or w/out disk write cache. The default CFQ scheduler is being used.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1105175-GR-FILESYSTE14
Filesystem SATA NCQ,
"FS-Mark 3.3 - 1000 Files, 1MB Size",
Higher Results Are Better
"ext3-barrier-cache",13.6,14.8,11.4,14.8,15,14.7
"ext3-nobarrier-nocache",10.9,13.6,13.3,13.6,13.6,13.4
"ext4-barrier-cache",13.9,15.1,15.2,15.2,15,15.3
"ext4-nobarrier-nocache",18.7,19,18.4
"btrfs-cow-barrier-cache",13.9,14.4,15,15,14.8
"btrfs-nocow-nobarrier-nocache",16.7,16.7,16.8
"Compile Bench 0.6 - Test: Initial Create",
Higher Results Are Better
"ext3-barrier-cache",81.3,149.89,150.01,149.48,149.35,148.98
"ext3-nobarrier-nocache",134.03,132.01,124.49,124.66,146.25,144.69
"ext4-barrier-cache",178.33,208.35,209.83,188.57,206.56,211.27
"ext4-nobarrier-nocache",189.7,188.67,174.49,178.71,192.09,206.9
"btrfs-cow-barrier-cache",116.55,128.43,112.46,111.77,125.17,111.23
"btrfs-nocow-nobarrier-nocache",101.55,88.32,98.45,93.3,96.6,95.08
"IOzone 3.347 - 8GB Write Performance",
Higher Results Are Better
"ext3-barrier-cache",75.650390625,74.4267578125,74.19140625
"ext3-nobarrier-nocache",69.5537109375,72.6435546875,71.9638671875
"ext4-barrier-cache",122.7578125,121.8134765625,109.4345703125,111.9560546875,110.8876953125,106.05078125
"ext4-nobarrier-nocache",117.0078125,119.6171875,109.7900390625,109.0908203125,108.3720703125,103.3837890625
"btrfs-cow-barrier-cache",124.287109375,124.4609375,117.107421875
"btrfs-nocow-nobarrier-nocache",124.4599609375,125.146484375,125.2255859375
"IOzone 3.347 - 8GB Read Performance",
Higher Results Are Better
"ext3-barrier-cache",60.845703125,60.3046875,61.1826171875
"ext3-nobarrier-nocache",60.83984375,60.869140625,60.833984375
"ext4-barrier-cache",70.1982421875,66.26953125,63.603515625,58.8564453125,57.13671875,81.5615234375
"ext4-nobarrier-nocache",68.912109375,66.8134765625,64.0263671875,58.6220703125,55.9453125,82.2041015625
"btrfs-cow-barrier-cache",79.5537109375,79.9921875,80.0263671875
"btrfs-nocow-nobarrier-nocache",85.634765625,85.7353515625,85.205078125
"Dbench 4.0 - 1 Clients",
Higher Results Are Better
"ext3-barrier-cache",11.5436,11.552,11.5339
"ext3-nobarrier-nocache",10.3176,10.3055,10.3358
"ext4-barrier-cache",11.1909,11.239,11.2459
"ext4-nobarrier-nocache",10.7764,10.8549,10.8576
"btrfs-cow-barrier-cache",9.94525,9.93473,9.86202
"btrfs-nocow-nobarrier-nocache",10.4918,9.63459,9.52022,9.51948,9.47103,9.52981
"Dbench 4.0 - 12 Clients",
Higher Results Are Better
"ext3-barrier-cache",19.8387,20.1012,19.9303
"ext3-nobarrier-nocache",27.5074,45.3903,27.9711,46.4167,39.9069,41.4428
"ext4-barrier-cache",50.4707,50.5718,51.3494
"ext4-nobarrier-nocache",77.8315,77.7049,75.7669
"btrfs-cow-barrier-cache",50.9212,47.9236,43.8803,49.8871,45.3734,50.8751
"btrfs-nocow-nobarrier-nocache",28.806,29.8871,29.4242
"Dbench 4.0 - 48 Clients",
Higher Results Are Better
"ext3-barrier-cache",21.2569,21.0808,20.7866
"ext3-nobarrier-nocache",80.8527,78.4257,78.664
"ext4-barrier-cache",72.2176,71.4879,73.2495
"ext4-nobarrier-nocache",162.043,167.604,168.2
"btrfs-cow-barrier-cache",107.11,106.842,107.455
"btrfs-nocow-nobarrier-nocache",51.901,49.43,50.0593
"Dbench 4.0 - 128 Clients",
Higher Results Are Better
"ext3-barrier-cache",12.4184,11.854,14.2934,13.5568,16.5054,13.7637
"ext3-nobarrier-nocache",84.4478,76.9539,version
"ext4-barrier-cache",71.6684,70.6326,68.1232
"ext4-nobarrier-nocache",166.142,161.997,159.916
"btrfs-cow-barrier-cache",154.54,127.743,130.002,130.978,134.322,118.971
"btrfs-nocow-nobarrier-nocache",47.4634,46.5816,45.5797
"Threaded I/O Tester 0.3.3 - 64MB Random Read - 32 Threads",
Higher Results Are Better
"ext3-barrier-cache",6554.454,6563.402,6290.574,6551.019
"ext3-nobarrier-nocache",6529.461,6233.17,6532.532,6545.531
"ext4-barrier-cache",6229.753,6178.637,6510.417,6523.668
"ext4-nobarrier-nocache",6523.327,6506.012,6552.049,6545.531
"btrfs-cow-barrier-cache",6493.844,6446.622,6391.247,6527.756
"btrfs-nocow-nobarrier-nocache",6462.286,6471.319,6504.319,6488.114
"Threaded I/O Tester 0.3.3 - 64MB Random Write - 32 Threads",
Higher Results Are Better
"ext3-barrier-cache",2.353,2.397,2.354,2.333
"ext3-nobarrier-nocache",1.48,1.508,1.451,1.582,1.379,1.375,1.35,1.442
"ext4-barrier-cache",3.406,3.386,3.404,3.417
"ext4-nobarrier-nocache",1.734,1.718,1.748,1.724
"btrfs-cow-barrier-cache",51.916,50.345,52.463,45.326,53.393,51.385,56.831,51.915
"btrfs-nocow-nobarrier-nocache",1.722,1.683,1.707,1.687
"AIO-Stress 0.21 - Random Write",
Higher Results Are Better
"ext3-barrier-cache",1127.77,1228.15,1197.25,1098.62,1205.87,1092.57
"ext3-nobarrier-nocache",1150.93,1074.8,1114.65
"ext4-barrier-cache",1994.96,2033,2067.22
"ext4-nobarrier-nocache",2040.87,2002.24,2030.4
"7-Zip Compression 9.13 - Compress Speed Test",
Higher Results Are Better
"ext3-barrier-cache",8042,8035,8047
"ext3-nobarrier-nocache",8070,8071,8088
"ext4-barrier-cache",8091,8042,8095
"ext4-nobarrier-nocache",8092,8066,8098
"btrfs-cow-barrier-cache",8037,8071,8027
"btrfs-nocow-nobarrier-nocache",8022,8024,8049
"John The Ripper 1.7.3.1 - Test: Traditional DES",
Higher Results Are Better
"ext3-barrier-cache",3230000,3251000,3257000
"ext3-nobarrier-nocache",3248000,3246000,3252000
"ext4-barrier-cache",3245000,3243000,3241000
"ext4-nobarrier-nocache",3250000,3253000,3251000
"btrfs-cow-barrier-cache",3245000,3252000,3252000
"btrfs-nocow-nobarrier-nocache",3248000,3253000,3251000
"John The Ripper 1.7.3.1 - Test: MD5",
Higher Results Are Better
"ext3-barrier-cache",15286,15252,15280
"ext3-nobarrier-nocache",15270,15168,15130
"ext4-barrier-cache",15265,15259,15242
"ext4-nobarrier-nocache",15293,15272,15284
"btrfs-cow-barrier-cache",15294,15277,15264
"btrfs-nocow-nobarrier-nocache",15110,15291,15294
"John The Ripper 1.7.3.1 - Test: Blowfish",
Higher Results Are Better
"ext3-barrier-cache",899,898,895
"ext3-nobarrier-nocache",898,899,899
"ext4-barrier-cache",896,898,898
"ext4-nobarrier-nocache",899,898,899
"btrfs-cow-barrier-cache",899,898,898
"btrfs-nocow-nobarrier-nocache",899,896,899
"Apache Benchmark 2.2.17 - Static Web Page Serving",
Higher Results Are Better
"ext3-barrier-cache",12771.71,12305.64,11713.85,12381.96,12233.47
"ext3-nobarrier-nocache",12473.04,12294.97,11677.58
"ext4-barrier-cache",12374.51,12332.04,12706.85
"ext4-nobarrier-nocache",12943.84,11771.18,12053.77,11770.91,12216.79,12063.39
"btrfs-cow-barrier-cache",11933.51,11851.5,12049.39
"btrfs-nocow-nobarrier-nocache",12631.72,12258.52,12037.5
"OpenSSL 1.0.0a - RSA 4096-bit Performance",
Higher Results Are Better
"ext3-barrier-cache",53.2,53.4,53.4,53.5
"ext3-nobarrier-nocache",53.3,53.5,53.4,53.5
"ext4-barrier-cache",53.4,53.4,53.3,53.3
"ext4-nobarrier-nocache",53.3,53.4,53.4,53.4
"btrfs-cow-barrier-cache",53.2,53.5,53.5,53.4
"btrfs-nocow-nobarrier-nocache",53.4,53.4,53.4,53.4
"PostgreSQL pgbench 9.0.4 - TPC-B Transactions Per Second",
Higher Results Are Better
"ext3-barrier-cache",115.018251,116.792507,116.037032
"ext3-nobarrier-nocache",117.269317,99.514257,114.674012,115.004817,115.333451,116.331544
"ext4-barrier-cache",170.472521,169.558219,168.997559
"ext4-nobarrier-nocache",166.400085,165.77393,162.592666
"btrfs-cow-barrier-cache",33.008798,34.028199,34.30405
"btrfs-nocow-nobarrier-nocache",29.790858,29.325534,29.322012
"PostMark 1.51 - Disk Transaction Performance",
Higher Results Are Better
"ext3-barrier-cache",1923,1785,1923,1923,1923
"ext3-nobarrier-nocache",1666,1785,1785,1666,2777,1785,1666,1785,2777,1666
"ext4-barrier-cache",4166,4166,4166,4166,4166
"ext4-nobarrier-nocache",4166,4166,4166,4166,4166
"btrfs-cow-barrier-cache",2777,3125,3125,3125,3125,3125,3125,3125,3125,3125
"btrfs-nocow-nobarrier-nocache",3125,2777,3125,3125,3125,2777,3125,3125,3125,3125
"Gcrypt Library 1.4.4 - CAMELLIA256-ECB Cipher",
Lower Results Are Better
"ext3-barrier-cache",3440,3450,3440
"ext3-nobarrier-nocache",3450,3450,3440
"ext4-barrier-cache",3460,3440,3440
"ext4-nobarrier-nocache",3440,3440,3430
"btrfs-cow-barrier-cache",3440,3440,3440
"btrfs-nocow-nobarrier-nocache",3440,3430,3430
"Flexible IO Tester 1.21 - Intel IOMeter File Server Access Pattern",
Lower Results Are Better
"ext3-barrier-cache",94.771514892578,89.433471918106,87.165469169617,85.869642019272,85.865735054016,81.403563022614
"ext3-nobarrier-nocache",86.205650806427,90.64150595665,87.10923910141
"ext4-barrier-cache",51.504868030548,52.109801054001,54.598175048828
"ext4-nobarrier-nocache",61.215394973755,61.107881069183,61.350878000259
"btrfs-cow-barrier-cache",55.796587944031,56.921002864838,55.210468053818
"btrfs-nocow-nobarrier-nocache",50.652148962021,54.099071979523,50.183566093445,53.473340988159,50.386010169983,53.065444946289
"GnuPG 1.4.10 - 1GB File Encryption",
Lower Results Are Better
"ext3-barrier-cache",15.858401060104,15.849629878998,15.831685781479,15.827656030655
"ext3-nobarrier-nocache",16.202670097351,15.862478017807,15.820198059082,15.853282928467
"ext4-barrier-cache",15.877458095551,16.025946855545,15.881841897964,15.854123830795
"ext4-nobarrier-nocache",16.069828033447,15.851975917816,15.828366994858,15.835337162018
"btrfs-cow-barrier-cache",15.979205131531,16.201769828796,15.849807024002,15.855165958405
"btrfs-nocow-nobarrier-nocache",15.91092300415,15.890400886536,15.823511838913,15.843645095825
"Gzip Compression - 2GB File Compression",
Lower Results Are Better
"ext3-barrier-cache",14.39017701149,14.439984798431,14.242063045502
"ext3-nobarrier-nocache",14.967090845108,14.620254039764,14.260900020599
"ext4-barrier-cache",14.378362894058,14.226095914841,14.319128990173
"ext4-nobarrier-nocache",15.038612127304,14.263859033585,14.266592025757
"btrfs-cow-barrier-cache",14.414454936981,14.292332172394,14.281259775162
"btrfs-nocow-nobarrier-nocache",15.000802993774,14.225522041321,14.351511001587
"Parallel BZIP2 Compression 1.0.5 - 256MB File Compression",
Lower Results Are Better
"ext3-barrier-cache",19.958367109299,21.560044050217,21.55510020256,20.91518497467,20.962918996811
"ext3-nobarrier-nocache",20.559715032578,21.670536994934,20.156291007996,21.408921003342
"ext4-barrier-cache",21.019479990005,20.807200193405,20.678234100342
"ext4-nobarrier-nocache",21.027457952499,21.506702184677,21.777489185333
"btrfs-cow-barrier-cache",21.743545055389,21.565082073212,21.909852027893
"btrfs-nocow-nobarrier-nocache",19.654277086258,22.128540992737,19.717415094376,21.472899913788,20.609219074249,20.605778932571
"LZMA Compression - 256MB File Compression",
Lower Results Are Better
"ext3-barrier-cache",201.24426603317,201.2811589241,202.29225492477
"ext3-nobarrier-nocache",201.31426906586,201.20086312294,201.2192440033
"ext4-barrier-cache",200.60255503654,201.78522515297,200.57361006737
"ext4-nobarrier-nocache",200.83862900734,201.51829791069,201.53348994255
"btrfs-cow-barrier-cache",203.14588785172,201.12157797813,201.22438406944
"btrfs-nocow-nobarrier-nocache",201.88719892502,201.27911496162,201.25142192841
"SQLite 3.7.3 - 12,500 INSERTs",
Lower Results Are Better
"ext3-barrier-cache",905.18297195435,859.93835306168,875.87796497345
"ext3-nobarrier-nocache",861.86606001854,893.12862610817,822.15229296684,880.41204690933,863.72179985046
"ext4-barrier-cache",853.84151101112,859.70833301544,851.13286495209
"ext4-nobarrier-nocache",837.47370696068,833.31197094917,849.46683287621
"btrfs-cow-barrier-cache",1236.2683479786,1192.0087220669,1186.47352314
"btrfs-nocow-nobarrier-nocache",1494.5502479076,1449.3977780342,1512.4222691059
"Unpacking The Linux Kernel - linux-2.6.32.tar.bz2",
Lower Results Are Better
"ext3-barrier-cache",11.955904006958,10.238534927368,10.900928020477,10.528593063354,10.869220018387,13.790806055069,10.563053131104,10.330990076065
"ext3-nobarrier-nocache",11.707156896591,11.069122076035,10.860136985779,10.967062950134
"ext4-barrier-cache",10.916031122208,10.764303922653,10.64156293869,10.517635822296
"ext4-nobarrier-nocache",10.720731973648,11.010596036911,11.211047887802,10.603794813156
"btrfs-cow-barrier-cache",10.384066104889,11.078151226044,10.268733978271,11.251621961594,10.483478069305,10.357685089111,10.880577087402,10.665102005005
"btrfs-nocow-nobarrier-nocache",10.494358062744,10.707184076309,10.970028162003,10.859867095947