== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:45:11 (1786805111) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=0 llite.lustre-ffff93dd45cfa800.statahead_max=32 llite.lustre-ffff93dd45cfa800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.43 seconds: 41.09 ops/second llite.lustre-ffff93dd45cfa800.statahead_max=0 101 real 0m2.066s user 0m0.009s sys 0m0.334s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff93dd45cfa800.statahead_max=32 llite.lustre-ffff93dd45cfa800.statahead_max=32 101 real 0m1.199s user 0m0.002s sys 0m0.158s 'ls -l' 100 files with statahead: 1 sec statahead total: 127 statahead wrong: 2 agl total: 120 list_total: 31 fname_total: 90 hit_total: 4560 miss_total: 774 swrong=2 ewrong=2 - open/close 689 (time 1786805139.40 total 10.01 last 68.86) total: 900 open/close in 13.44 seconds: 66.98 ops/second llite.lustre-ffff93dd45cfa800.statahead_max=0 1001 real 0m26.137s user 0m0.035s sys 0m3.299s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff93dd45cfa800.statahead_max=32 llite.lustre-ffff93dd45cfa800.statahead_max=32 1001 real 0m10.571s user 0m0.036s sys 0m1.566s 'ls -l' 1000 files with statahead: 10 sec statahead total: 128 statahead wrong: 2 agl total: 121 list_total: 32 fname_total: 90 hit_total: 5558 miss_total: 776 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff93dd45cfa800.statahead_stats= statahead total: 128 statahead wrong: 2 agl total: 121 list_total: 32 fname_total: 90 hit_total: 5558 miss_total: 776 mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805216.589216039 secs.nsecs start_time: 1786805116.689177401 secs.nsecs elapsed_time: 99.900038638 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 3 7 12 8: 1 2 15 16: 21 52 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805216.589320797 secs.nsecs start_time: 1786805116.689278579 secs.nsecs elapsed_time: 99.900042218 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 13 16: 15 39 52 32: 18 47 100 - open/close 629 (time 1786805229.43 total 10.01 last 62.83) - open/close 1323 (time 1786805239.43 total 20.01 last 69.38) - open/close 2049 (time 1786805249.44 total 30.02 last 72.53) - open/close 2846 (time 1786805259.46 total 40.04 last 79.55) - open/close 3693 (time 1786805269.46 total 50.05 last 84.67) - open/close 4557 (time 1786805279.47 total 60.05 last 86.36) - open/close 5392 (time 1786805289.48 total 70.06 last 83.40) - open/close 6218 (time 1786805299.49 total 80.08 last 82.49) - open/close 6932 (time 1786805309.50 total 90.08 last 71.34) - open/close 7666 (time 1786805319.51 total 100.09 last 73.35) - open/close 8449 (time 1786805329.51 total 110.10 last 78.25) - open/close 9229 (time 1786805339.52 total 120.11 last 77.94) total: 10000 open/close in 128.38 seconds: 77.90 ops/second llite.lustre-ffff93dd45cfa800.statahead_batch_max=0 llite.lustre-ffff93dd45cfa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.192s user 0m0.320s sys 0m16.216s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93dd45cfa800.statahead_batch_max=32 llite.lustre-ffff93dd45cfa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.533s user 0m0.308s sys 0m15.565s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805548.480918120 secs.nsecs start_time: 1786805422.873315111 secs.nsecs elapsed_time: 125.607603009 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-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805548.481109291 secs.nsecs start_time: 1786805422.873443666 secs.nsecs elapsed_time: 125.607665625 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=0 llite.lustre-ffff93dd45cfa800.statahead_max=2048 llite.lustre-ffff93dd45cfa800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.60 ops/second llite.lustre-ffff93dd45cfa800.statahead_max=0 101 real 0m2.328s user 0m0.004s sys 0m0.366s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff93dd45cfa800.statahead_max=2048 llite.lustre-ffff93dd45cfa800.statahead_max=2048 101 real 0m0.898s user 0m0.006s sys 0m0.183s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 797 (time 1786805859.76 total 10.02 last 79.57) total: 900 open/close in 11.28 seconds: 79.82 ops/second llite.lustre-ffff93dd45cfa800.statahead_max=0 1001 real 0m25.729s user 0m0.026s sys 0m3.251s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff93dd45cfa800.statahead_max=2048 llite.lustre-ffff93dd45cfa800.statahead_max=2048 1001 real 0m7.273s user 0m0.021s sys 0m1.543s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff93dd45cfa800.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-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805934.228644079 secs.nsecs start_time: 1786805550.902618329 secs.nsecs elapsed_time: 383.326025750 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 2 33 50 8: 1 16 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-ffff93dd45cfa800.batch_stats= snapshot_time: 1786805934.228721289 secs.nsecs start_time: 1786805550.902767763 secs.nsecs elapsed_time: 383.325953526 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 2 22 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 862 (time 1786805946.98 total 10.00 last 86.16) - open/close 1618 (time 1786805956.99 total 20.01 last 75.53) - open/close 2403 (time 1786805967.02 total 30.04 last 78.27) - open/close 3135 (time 1786805977.03 total 40.05 last 73.14) - open/close 3974 (time 1786805987.04 total 50.06 last 83.81) - open/close 4798 (time 1786805997.04 total 60.06 last 82.38) - open/close 5736 (time 1786806007.04 total 70.07 last 93.75) - open/close 6635 (time 1786806017.05 total 80.07 last 89.87) - open/close 7395 (time 1786806027.05 total 90.08 last 75.97) - open/close 8206 (time 1786806037.07 total 100.09 last 80.96) - open/close 8981 (time 1786806047.09 total 110.11 last 77.34) - open/close 9670 (time 1786806057.10 total 120.12 last 68.84) total: 10000 open/close in 123.87 seconds: 80.73 ops/second llite.lustre-ffff93dd45cfa800.statahead_batch_max=0 llite.lustre-ffff93dd45cfa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.582s user 0m0.337s sys 0m16.504s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93dd45cfa800.statahead_batch_max=256 llite.lustre-ffff93dd45cfa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.stats=clear mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.307s user 0m0.290s sys 0m16.743s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93dd45cfa800.batch_stats= snapshot_time: 1786806214.513241610 secs.nsecs start_time: 1786806136.842710821 secs.nsecs elapsed_time: 77.670530789 secs.nsecs subreqs per batch batches %% cum %% 1: 201 53 53 2: 52 13 66 4: 40 10 77 8: 18 4 82 16: 11 2 84 32: 16 4 89 64: 7 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff93dd45cfa800.batch_stats= snapshot_time: 1786806214.513310419 secs.nsecs start_time: 1786806136.842854906 secs.nsecs elapsed_time: 77.670455513 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-ffff93dd45cfa800.statahead_batch_max=64 llite.lustre-ffff93dd45cfa800.statahead_max=128