== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:57:36 (1786953456) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=0 llite.lustre-ffff995288524800.statahead_max=32 llite.lustre-ffff995288524800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.26 seconds: 30.68 ops/second llite.lustre-ffff995288524800.statahead_max=0 101 real 0m2.269s user 0m0.006s sys 0m0.384s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff995288524800.statahead_max=32 llite.lustre-ffff995288524800.statahead_max=32 101 real 0m1.235s user 0m0.006s sys 0m0.188s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 136 list_total: 31 fname_total: 106 hit_total: 3764 miss_total: 1546 swrong=2 ewrong=2 - open/close 741 (time 1786953488.61 total 10.00 last 74.09) total: 900 open/close in 12.77 seconds: 70.50 ops/second llite.lustre-ffff995288524800.statahead_max=0 1001 real 0m27.160s user 0m0.036s sys 0m3.478s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff995288524800.statahead_max=32 llite.lustre-ffff995288524800.statahead_max=32 1001 real 0m10.639s user 0m0.031s sys 0m1.674s 'ls -l' 1000 files with statahead: 11 sec statahead total: 144 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 106 hit_total: 4762 miss_total: 1548 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff995288524800.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 106 hit_total: 4762 miss_total: 1548 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats= snapshot_time: 1786953566.576750983 secs.nsecs start_time: 1786953464.291071408 secs.nsecs elapsed_time: 102.285679575 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 8 11 8: 4 11 22 16: 24 66 88 32: 4 11 100 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats= snapshot_time: 1786953566.578126310 secs.nsecs start_time: 1786953464.291164198 secs.nsecs elapsed_time: 102.286962112 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 11 28 38 32: 24 61 100 - open/close 772 (time 1786953579.87 total 10.00 last 77.17) - open/close 1469 (time 1786953589.88 total 20.01 last 69.65) - open/close 2287 (time 1786953599.88 total 30.02 last 81.75) - open/close 3055 (time 1786953609.88 total 40.02 last 76.80) - open/close 3809 (time 1786953619.89 total 50.03 last 75.32) - open/close 4445 (time 1786953629.90 total 60.04 last 63.56) - open/close 5120 (time 1786953639.90 total 70.04 last 67.47) - open/close 5843 (time 1786953649.91 total 80.04 last 72.28) - open/close 6466 (time 1786953659.91 total 90.04 last 62.30) - open/close 7088 (time 1786953669.92 total 100.06 last 62.11) - open/close 7693 (time 1786953679.93 total 110.06 last 60.46) - open/close 8404 (time 1786953689.94 total 120.07 last 71.03) - open/close 9145 (time 1786953699.94 total 130.08 last 74.06) - open/close 9897 (time 1786953709.94 total 140.08 last 75.20) total: 10000 open/close in 141.47 seconds: 70.69 ops/second llite.lustre-ffff995288524800.statahead_batch_max=0 llite.lustre-ffff995288524800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m20.994s user 0m0.350s sys 0m17.863s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff995288524800.statahead_batch_max=32 llite.lustre-ffff995288524800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m14.415s user 0m0.350s sys 0m16.990s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats= snapshot_time: 1786953952.474582162 secs.nsecs start_time: 1786953803.084768099 secs.nsecs elapsed_time: 149.389814063 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats= snapshot_time: 1786953952.474650167 secs.nsecs start_time: 1786953803.084856254 secs.nsecs elapsed_time: 149.389793913 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=0 llite.lustre-ffff995288524800.statahead_max=2048 llite.lustre-ffff995288524800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.76 ops/second llite.lustre-ffff995288524800.statahead_max=0 101 real 0m2.578s user 0m0.010s sys 0m0.422s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff995288524800.statahead_max=2048 llite.lustre-ffff995288524800.statahead_max=2048 101 real 0m1.688s user 0m0.004s sys 0m0.243s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 741 (time 1786954306.86 total 10.00 last 74.06) total: 900 open/close in 12.36 seconds: 72.83 ops/second llite.lustre-ffff995288524800.statahead_max=0 1001 real 0m26.058s user 0m0.040s sys 0m3.345s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff995288524800.statahead_max=2048 llite.lustre-ffff995288524800.statahead_max=2048 1001 real 0m8.476s user 0m0.023s sys 0m1.571s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff995288524800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats= snapshot_time: 1786954378.686863895 secs.nsecs start_time: 1786953955.339729179 secs.nsecs elapsed_time: 423.347134716 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 16 16 8: 3 50 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats= snapshot_time: 1786954378.686939608 secs.nsecs start_time: 1786953955.339885018 secs.nsecs elapsed_time: 423.347054590 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 2 20 30 16: 2 20 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 760 (time 1786954391.73 total 10.01 last 75.90) - open/close 1497 (time 1786954401.74 total 20.02 last 73.67) - open/close 2298 (time 1786954411.74 total 30.02 last 80.09) - open/close 3019 (time 1786954421.74 total 40.03 last 72.05) - open/close 3839 (time 1786954431.75 total 50.03 last 81.94) - open/close 4609 (time 1786954441.77 total 60.05 last 76.86) - open/close 5372 (time 1786954451.78 total 70.06 last 76.20) - open/close 6149 (time 1786954461.78 total 80.07 last 77.70) - open/close 6826 (time 1786954471.80 total 90.08 last 67.57) - open/close 7333 (time 1786954481.81 total 100.09 last 50.69) - open/close 7842 (time 1786954491.82 total 110.10 last 50.84) - open/close 8569 (time 1786954501.83 total 120.11 last 72.59) - open/close 9196 (time 1786954511.85 total 130.13 last 62.60) - open/close 9911 (time 1786954521.85 total 140.13 last 71.48) total: 10000 open/close in 141.13 seconds: 70.86 ops/second llite.lustre-ffff995288524800.statahead_batch_max=0 llite.lustre-ffff995288524800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.453s user 0m0.355s sys 0m18.308s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff995288524800.statahead_batch_max=256 llite.lustre-ffff995288524800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff995288524800.stats=clear mdc.lustre-MDT0001-mdc-ffff995288524800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.863s user 0m0.346s sys 0m17.121s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff995288524800.batch_stats= snapshot_time: 1786954690.227072088 secs.nsecs start_time: 1786954603.919170689 secs.nsecs elapsed_time: 86.307901399 secs.nsecs subreqs per batch batches %% cum %% 1: 178 48 48 2: 54 14 63 4: 37 10 73 8: 30 8 81 16: 16 4 85 32: 16 4 89 64: 2 0 90 128: 1 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff995288524800.batch_stats= snapshot_time: 1786954690.227149683 secs.nsecs start_time: 1786954603.919292289 secs.nsecs elapsed_time: 86.307857394 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff995288524800.statahead_batch_max=64 llite.lustre-ffff995288524800.statahead_max=128