Filesystem SATA NCQ

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.

HTML result view exported from: https://openbenchmarking.org/result/1105175-GR-FILESYSTE14&grs&rdt.

Filesystem SATA NCQProcessorMotherboardChipsetMemoryDiskGraphicsOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutionext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocacheIntel Core i5 650 @ 3.19GHz (4 Cores)LENOVO 5852CB6Intel Core7680MB320GB Western Digital WDC WD3200AAKX-0Intel Core IGP 256MBSUSE LINUX 112.6.32.12-0.7-default (x86_64)GNOME 2.28.2X Server 1.6.5intel 2.10.01.4 (2.1 Mesa 7.7)GCC 4.3ext31680x1050ext2/ext3BtrfsOpenBenchmarking.orgSystem Details- Disk Scheduler: CFQ. Python 2.6. Intel SpeedStep was enabled.

Filesystem SATA NCQdbench: 48 Clientspgbench: TPC-B Transactions Per Secondtiobench: 64MB Rand Write - 32 Threadsdbench: 12 Clientspostmark: Disk Transaction Performanceaio-stress: Rand Writesqlite: 12,500 INSERTsiozone: 8GB Write Performancefio: Intel IOMeter File Server Access Patternfs-mark: 1000 Files, 1MB Sizeiozone: 8GB Read Performancedbench: 1 Clientscompress-pbzip2: 256MB File Compressionunpack-linux: linux-2.6.32.tar.bz2apache: Static Web Page Servingtiobench: 64MB Rand Read - 32 Threadscompress-gzip: 2GB File Compressiongnupg: 1GB File Encryptioncompress-7zip: Compress Speed Testjohn-the-ripper: MD5compress-lzma: 256MB File Compressiongcrypt: CAMELLIA256-ECB Cipherjohn-the-ripper: Traditional DESjohn-the-ripper: Blowfishopenssl: RSA 4096-bit Performancedbench: 128 Clientscompilebench: Initial Createext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache21.04115.952.3619.9618951158.37880.3374.7687.4214.0560.7811.5420.9911.1512281.336489.8614.3615.84804115273201.613443324600089753.3813.73138.1779.31113.021.4538.1119361113.46864.2671.3987.9913.0760.8510.3220.9511.1512148.536460.1714.6215.93807615189201.243447324866789953.4380.70134.3572.32169.683.4050.8041662031.73854.89113.8252.7414.9566.2711.2320.8310.7112471.136360.6214.3115.91807615255200.993447324300089753.3570.14200.49165.95164.921.7377.1041662024.50840.08111.2161.2218.7066.0910.8321.4410.8912136.656531.7314.5215.90808515283201.303437325133389953.38162.69188.43107.1433.7851.7048.1430901204.92121.9555.9814.6279.869.9121.7410.6711944.806464.8714.3315.97804515278201.833440324966789853.40132.76117.6050.4629.481.7029.3730551485.46124.9451.9816.7385.539.6920.7010.7612309.256481.5114.5315.87803215232201.473433325066789853.4046.5495.55OpenBenchmarking.org

Dbench

48 Clients

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.048 Clientsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache4080120160200SE +/- 0.14, N = 3SE +/- 0.77, N = 3SE +/- 0.51, N = 3SE +/- 1.96, N = 3SE +/- 0.18, N = 3SE +/- 0.74, N = 321.0479.3172.32165.95107.1450.46

PostgreSQL pgbench

TPC-B Transactions Per Second

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.0.4TPC-B Transactions Per Secondext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache4080120160200SE +/- 0.51, N = 3SE +/- 2.73, N = 6SE +/- 0.43, N = 3SE +/- 1.18, N = 3SE +/- 0.39, N = 3SE +/- 0.16, N = 3115.95113.02169.68164.9233.7829.48

Threaded I/O Tester

64MB Random Write - 32 Threads

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.364MB Random Write - 32 Threadsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache1224364860SE +/- 0.01, N = 4SE +/- 0.03, N = 8SE +/- 0.01, N = 4SE +/- 0.01, N = 4SE +/- 1.14, N = 8SE +/- 0.01, N = 42.361.453.401.7351.701.70

Dbench

12 Clients

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.012 Clientsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache20406080100SE +/- 0.08, N = 3SE +/- 3.42, N = 6SE +/- 0.28, N = 3SE +/- 0.67, N = 3SE +/- 1.21, N = 6SE +/- 0.31, N = 319.9638.1150.8077.1048.1429.37

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction Performanceext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache9001800270036004500SE +/- 27.60, N = 5SE +/- 141.32, N = 10SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 34.80, N = 10SE +/- 46.40, N = 10189519364166416630903055

AIO-Stress

Random Write

OpenBenchmarking.orgMB/s, More Is BetterAIO-Stress 0.21Random Writeext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocache400800120016002000SE +/- 24.13, N = 6SE +/- 21.98, N = 3SE +/- 20.87, N = 3SE +/- 11.53, N = 31158.371113.462031.732024.50

SQLite

12,500 INSERTs

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.7.312,500 INSERTsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache30060090012001500SE +/- 13.25, N = 3SE +/- 11.99, N = 5SE +/- 2.53, N = 3SE +/- 4.84, N = 3SE +/- 15.76, N = 3SE +/- 18.75, N = 3880.33864.26854.89840.081204.921485.46

IOzone

8GB Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.3478GB Write Performanceext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache306090120150SE +/- 0.45, N = 3SE +/- 0.94, N = 3SE +/- 2.80, N = 6SE +/- 2.45, N = 6SE +/- 2.42, N = 3SE +/- 0.24, N = 374.7671.39113.82111.21121.95124.94

Flexible IO Tester

Intel IOMeter File Server Access Pattern

OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.21Intel IOMeter File Server Access Patternext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache20406080100SE +/- 1.82, N = 6SE +/- 1.35, N = 3SE +/- 0.95, N = 3SE +/- 0.07, N = 3SE +/- 0.50, N = 3SE +/- 0.72, N = 687.4287.9952.7461.2255.9851.98

FS-Mark

1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.31000 Files, 1MB Sizeext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache510152025SE +/- 0.57, N = 6SE +/- 0.44, N = 6SE +/- 0.21, N = 6SE +/- 0.17, N = 3SE +/- 0.21, N = 5SE +/- 0.03, N = 314.0513.0714.9518.7014.6216.73

IOzone

8GB Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.3478GB Read Performanceext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache20406080100SE +/- 0.26, N = 3SE +/- 0.01, N = 3SE +/- 3.63, N = 6SE +/- 3.79, N = 6SE +/- 0.15, N = 3SE +/- 0.16, N = 360.7860.8566.2766.0979.8685.53

Dbench

1 Clients

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.01 Clientsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache3691215SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.16, N = 611.5410.3211.2310.839.919.69

Parallel BZIP2 Compression

256MB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterParallel BZIP2 Compression 1.0.5256MB File Compressionext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache510152025SE +/- 0.29, N = 5SE +/- 0.35, N = 4SE +/- 0.10, N = 3SE +/- 0.22, N = 3SE +/- 0.10, N = 3SE +/- 0.40, N = 620.9920.9520.8321.4421.7420.70

Unpacking The Linux Kernel

linux-2.6.32.tar.bz2

OpenBenchmarking.orgSeconds, Fewer Is BetterUnpacking The Linux Kernellinux-2.6.32.tar.bz2ext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache3691215SE +/- 0.42, N = 8SE +/- 0.19, N = 4SE +/- 0.09, N = 4SE +/- 0.14, N = 4SE +/- 0.13, N = 8SE +/- 0.10, N = 411.1511.1510.7110.8910.6710.76

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.2.17Static Web Page Servingext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache3K6K9K12K15KSE +/- 169.63, N = 5SE +/- 241.02, N = 3SE +/- 118.49, N = 3SE +/- 176.78, N = 6SE +/- 57.40, N = 3SE +/- 173.40, N = 312281.3312148.5312471.1312136.6511944.8012309.25

Threaded I/O Tester

64MB Random Read - 32 Threads

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.364MB Random Read - 32 Threadsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache14002800420056007000SE +/- 66.48, N = 4SE +/- 75.75, N = 4SE +/- 90.95, N = 4SE +/- 10.55, N = 4SE +/- 29.65, N = 4SE +/- 9.30, N = 46489.866460.176360.626531.736464.876481.51

Gzip Compression

2GB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterGzip Compression2GB File Compressionext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache48121620SE +/- 0.06, N = 3SE +/- 0.20, N = 3SE +/- 0.04, N = 3SE +/- 0.26, N = 3SE +/- 0.04, N = 3SE +/- 0.24, N = 314.3614.6214.3114.5214.3314.53

GnuPG

1GB File Encryption

OpenBenchmarking.orgSeconds, Fewer Is BetterGnuPG 1.4.101GB File Encryptionext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache48121620SE +/- 0.01, N = 4SE +/- 0.09, N = 4SE +/- 0.04, N = 4SE +/- 0.06, N = 4SE +/- 0.08, N = 4SE +/- 0.02, N = 415.8415.9315.9115.9015.9715.87

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.13Compress Speed Testext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache2K4K6K8K10KSE +/- 3.48, N = 3SE +/- 5.84, N = 3SE +/- 17.04, N = 3SE +/- 9.82, N = 3SE +/- 13.32, N = 3SE +/- 8.69, N = 3804180768076808580458032

John The Ripper

Test: MD5

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.3.1Test: MD5ext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache3K6K9K12K15KSE +/- 10.48, N = 3SE +/- 41.80, N = 3SE +/- 6.89, N = 3SE +/- 6.08, N = 3SE +/- 8.69, N = 3SE +/- 60.84, N = 3152731518915255152831527815232

LZMA Compression

256MB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterLZMA Compression256MB File Compressionext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache4080120160200SE +/- 0.34, N = 3SE +/- 0.04, N = 3SE +/- 0.40, N = 3SE +/- 0.23, N = 3SE +/- 0.66, N = 3SE +/- 0.21, N = 3201.61201.24200.99201.30201.83201.47

Gcrypt Library

CAMELLIA256-ECB Cipher

OpenBenchmarking.orgMicroseconds, Fewer Is BetterGcrypt Library 1.4.4CAMELLIA256-ECB Cipherext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache7001400210028003500SE +/- 3.33, N = 3SE +/- 3.33, N = 3SE +/- 6.67, N = 3SE +/- 3.33, N = 3SE +/- 0.00, N = 3SE +/- 3.33, N = 3344334473447343734403433

John The Ripper

Test: Traditional DES

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.3.1Test: Traditional DESext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache700K1400K2100K2800K3500KSE +/- 8185.35, N = 3SE +/- 1763.83, N = 3SE +/- 1154.70, N = 3SE +/- 881.92, N = 3SE +/- 2333.33, N = 3SE +/- 1452.97, N = 3324600032486673243000325133332496673250667

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.3.1Test: Blowfishext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache2004006008001000SE +/- 1.20, N = 3SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 1.00, N = 3897899897899898898

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.0aRSA 4096-bit Performanceext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache1224364860SE +/- 0.06, N = 4SE +/- 0.05, N = 4SE +/- 0.03, N = 4SE +/- 0.03, N = 4SE +/- 0.07, N = 4SE +/- 0.00, N = 453.3853.4353.3553.3853.4053.40

Dbench

128 Clients

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0128 Clientsext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache4080120160200SE +/- 0.67, N = 6SE +/- 3.75, N = 3SE +/- 1.05, N = 3SE +/- 1.83, N = 3SE +/- 4.84, N = 6SE +/- 0.54, N = 313.7380.7070.14162.69132.7646.54

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial Createext3-barrier-cacheext3-nobarrier-nocacheext4-barrier-cacheext4-nobarrier-nocachebtrfs-cow-barrier-cachebtrfs-nocow-nobarrier-nocache4080120160200SE +/- 11.37, N = 6SE +/- 3.85, N = 6SE +/- 5.58, N = 6SE +/- 4.64, N = 6SE +/- 3.04, N = 6SE +/- 1.85, N = 6138.17134.35200.49188.43117.6095.55


Phoronix Test Suite v10.8.5