Skip to contentSkip to conversation

dbench (sync open) max_latency regression in btrfs 6.7.0

DISCUSSION Wang Yugui 1 participant 1 message Jan 31, 2024 Btrfs file system

lore
Share & tools
lore

Wang Yugui

author
#0 lore raw

Hi,

I noticed a dbench max_latency regression in btrfs 6.7.0.

command:

	dbench -s -t 60 -D /mnt/test 4

result of 6.6.15(rc1)
Operation Count AvgLat MaxLat
----------------------------------------

 NTCreateX     430533     0.014    63.764
 Close         316239     0.002     0.029
 Rename         18242     0.080     0.340
 Unlink         86967     0.047     0.396
 Deltree            8     2.779     6.058
 Mkdir              4     0.005     0.007
 Qpathinfo     390364     0.007     0.105
 Qfileinfo      68334     0.002     0.029
 Qfsinfo        71601     0.003     0.037
 Sfileinfo      35072     0.006     0.039
 Find          150942     0.020     0.115
 WriteX        214235     0.978    86.843
 ReadX         675557     0.004     0.061
 LockX           1406     0.004     0.019
 UnlockX         1406     0.002     0.023
 Flush          30182     0.013     3.074

Throughput 225.11 MB/sec (sync open) 4 clients 4 procs max_latency=86.861 ms

result of 6.7.0
Operation Count AvgLat MaxLat
----------------------------------------

 NTCreateX     419186     0.013     0.266
 Close         307908     0.002     0.046
 Rename         17749     0.110   503.312
 Unlink         84625     0.049     0.400
 Deltree            8     3.125     7.249
 Mkdir              4     0.004     0.004
 Qpathinfo     380081     0.006     0.087
 Qfileinfo      66545     0.002     0.030
 Qfsinfo        69638     0.003     0.041
 Sfileinfo      34131     0.006     0.043
 Find          146925     0.019     0.114
 WriteX        208546     1.007   536.773
 ReadX         657303     0.004     0.042
 LockX           1366     0.004     0.023
 UnlockX         1366     0.002     0.015
 Flush          29357     0.018     3.076

Throughput 218.935 MB/sec (sync open) 4 clients 4 procs max_latency=536.777 ms

This regession is firstly found on 6.8.0-rc2,
Now bisect-ed to 6.6.15(rc1) ~ 6.7.0. and more bisect work to do.

Best Regards
Wang Yugui ([email protected])
2024/01/31