== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:14:43 (1786824883) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=0 llite.lustre-ffff9995c9532000.statahead_max=32 llite.lustre-ffff9995c9532000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.85 seconds: 54.16 ops/second llite.lustre-ffff9995c9532000.statahead_max=0 101 real 0m2.632s user 0m0.005s sys 0m0.347s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9995c9532000.statahead_max=32 llite.lustre-ffff9995c9532000.statahead_max=32 101 real 0m1.012s user 0m0.002s sys 0m0.206s 'ls -l' 100 files with statahead: 1 sec statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 30 fname_total: 87 hit_total: 3974 miss_total: 1168 swrong=2 ewrong=2 total: 900 open/close in 9.13 seconds: 98.61 ops/second llite.lustre-ffff9995c9532000.statahead_max=0 1001 real 0m16.842s user 0m0.028s sys 0m3.063s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff9995c9532000.statahead_max=32 llite.lustre-ffff9995c9532000.statahead_max=32 1001 real 0m8.875s user 0m0.029s sys 0m1.463s 'ls -l' 1000 files with statahead: 9 sec statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 31 fname_total: 87 hit_total: 4970 miss_total: 1172 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9995c9532000.statahead_stats= statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 31 fname_total: 87 hit_total: 4970 miss_total: 1172 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786824964.649094159 secs.nsecs start_time: 1786824887.143502408 secs.nsecs elapsed_time: 77.505591751 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 2 5 15 8: 3 7 23 16: 24 63 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786824964.649199278 secs.nsecs start_time: 1786824887.143909442 secs.nsecs elapsed_time: 77.505289836 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 11 28 36 32: 24 63 100 - open/close 1131 (time 1786824977.29 total 10.00 last 113.05) - open/close 2218 (time 1786824987.30 total 20.01 last 108.63) - open/close 3231 (time 1786824997.31 total 30.03 last 101.13) - open/close 4256 (time 1786825007.32 total 40.03 last 102.45) - open/close 5127 (time 1786825017.32 total 50.04 last 87.06) - open/close 6305 (time 1786825027.33 total 60.04 last 117.73) - open/close 7245 (time 1786825037.33 total 70.04 last 94.00) - open/close 8137 (time 1786825047.34 total 80.05 last 89.13) - open/close 9184 (time 1786825057.34 total 90.06 last 104.64) total: 10000 open/close in 98.66 seconds: 101.36 ops/second llite.lustre-ffff9995c9532000.statahead_batch_max=0 llite.lustre-ffff9995c9532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.251s user 0m0.293s sys 0m16.799s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9995c9532000.statahead_batch_max=32 llite.lustre-ffff9995c9532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.001s user 0m0.334s sys 0m15.469s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786825265.296803224 secs.nsecs start_time: 1786825140.878515789 secs.nsecs elapsed_time: 124.418287435 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-ffff9995c9532000.batch_stats= snapshot_time: 1786825265.296875523 secs.nsecs start_time: 1786825140.878889724 secs.nsecs elapsed_time: 124.417985799 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=0 llite.lustre-ffff9995c9532000.statahead_max=2048 llite.lustre-ffff9995c9532000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.94 seconds: 51.57 ops/second llite.lustre-ffff9995c9532000.statahead_max=0 101 real 0m1.658s user 0m0.003s sys 0m0.326s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9995c9532000.statahead_max=2048 llite.lustre-ffff9995c9532000.statahead_max=2048 101 real 0m0.894s user 0m0.004s sys 0m0.179s 'ls -l' 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10082 miss_total: 18 swrong=0 ewrong=0 total: 900 open/close in 8.35 seconds: 107.85 ops/second llite.lustre-ffff9995c9532000.statahead_max=0 1001 real 0m20.642s user 0m0.033s sys 0m3.028s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9995c9532000.statahead_max=2048 llite.lustre-ffff9995c9532000.statahead_max=2048 1001 real 0m6.613s user 0m0.028s sys 0m1.510s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9995c9532000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786825575.443380291 secs.nsecs start_time: 1786825267.149140332 secs.nsecs elapsed_time: 308.294239959 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 3 50 66 8: 0 0 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-ffff9995c9532000.batch_stats= snapshot_time: 1786825575.443446993 secs.nsecs start_time: 1786825267.149275902 secs.nsecs elapsed_time: 308.294171091 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 33 33 16: 1 11 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 1098 (time 1786825587.79 total 10.00 last 109.79) - open/close 2162 (time 1786825597.79 total 20.01 last 106.33) - open/close 3325 (time 1786825607.80 total 30.01 last 116.23) - open/close 4377 (time 1786825617.80 total 40.01 last 105.20) - open/close 5409 (time 1786825627.80 total 50.01 last 103.19) - open/close 6262 (time 1786825637.80 total 60.02 last 85.26) - open/close 7302 (time 1786825647.81 total 70.02 last 103.97) - open/close 8307 (time 1786825657.82 total 80.04 last 100.33) - open/close 9301 (time 1786825667.83 total 90.04 last 99.37) total: 10000 open/close in 97.23 seconds: 102.85 ops/second llite.lustre-ffff9995c9532000.statahead_batch_max=0 llite.lustre-ffff9995c9532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.559s user 0m0.339s sys 0m16.977s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9995c9532000.statahead_batch_max=256 llite.lustre-ffff9995c9532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c9532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9995c9532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.450s user 0m0.325s sys 0m15.440s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786825829.861136932 secs.nsecs start_time: 1786825753.390991159 secs.nsecs elapsed_time: 76.470145773 secs.nsecs subreqs per batch batches %% cum %% 1: 228 52 52 2: 62 14 66 4: 43 9 76 8: 28 6 83 16: 17 3 87 32: 15 3 90 64: 8 1 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff9995c9532000.batch_stats= snapshot_time: 1786825829.861204867 secs.nsecs start_time: 1786825753.391149033 secs.nsecs elapsed_time: 76.470055834 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-ffff9995c9532000.statahead_batch_max=64 llite.lustre-ffff9995c9532000.statahead_max=128