== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:18:46 (1769761126) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=0 llite.lustre-ffff8ea798290800.statahead_max=32 llite.lustre-ffff8ea798290800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.79 seconds: 126.29 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 101 real 0m0.659s user 0m0.004s sys 0m0.239s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8ea798290800.statahead_max=32 32 101 real 0m0.385s user 0m0.002s sys 0m0.217s ls -l 100 files with statahead: 0 sec statahead total: 141 statahead wrong: 2 agl total: 134 list_total: 35 fname_total: 106 hit_total: 19749 miss_total: 1421 total: 900 open/close in 1.96 seconds: 460.10 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 1001 real 0m6.135s user 0m0.019s sys 0m2.184s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8ea798290800.statahead_max=32 32 1001 real 0m3.551s user 0m0.013s sys 0m1.653s ls -l 1000 files with statahead: 4 sec statahead total: 142 statahead wrong: 2 agl total: 135 list_total: 36 fname_total: 106 hit_total: 20748 miss_total: 1422 - open/close 3466 (time 1769761156.80 total 10.00 last 346.46) - open/close 7674 (time 1769761166.80 total 20.01 last 420.76) total: 9000 open/close in 24.01 seconds: 374.77 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 10001 real 1m5.492s user 0m0.239s sys 0m22.399s ls -l 10000 files without statahead: 65 sec llite.lustre-ffff8ea798290800.statahead_max=32 32 10001 real 0m35.722s user 0m0.185s sys 0m15.645s ls -l 10000 files with statahead: 35 sec statahead total: 143 statahead wrong: 2 agl total: 136 list_total: 37 fname_total: 106 hit_total: 30747 miss_total: 1423 ls -l done rm -r /mnt/lustre/d123ad.sanity: 66 seconds llite.lustre-ffff8ea798290800.statahead_stats= statahead total: 143 statahead wrong: 2 agl total: 136 list_total: 37 fname_total: 106 hit_total: 30747 miss_total: 1423 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761349.561124327 secs.nsecs start_time: 1769761128.038921236 secs.nsecs elapsed_time: 221.522203091 secs.nsecs subreqs per batch batches % cum % 1: 2 0 0 2: 1 0 0 4: 4 1 1 8: 5 1 3 16: 224 63 67 32: 115 32 100 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761349.561164007 secs.nsecs start_time: 1769761128.038992523 secs.nsecs elapsed_time: 221.522171484 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 0 0 8: 4 1 1 16: 159 45 46 32: 188 53 100 - open/close 4274 (time 1769761360.32 total 10.00 last 427.33) - open/close 8845 (time 1769761370.32 total 20.00 last 457.09) total: 10000 open/close in 22.54 seconds: 443.64 ops/second llite.lustre-ffff8ea798290800.statahead_batch_max=0 llite.lustre-ffff8ea798290800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.527s user 0m0.186s sys 0m28.633s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ea798290800.statahead_batch_max=32 llite.lustre-ffff8ea798290800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.372s user 0m0.148s sys 0m18.991s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761444.339207971 secs.nsecs start_time: 1769761405.192684222 secs.nsecs elapsed_time: 39.146523749 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761444.339269054 secs.nsecs start_time: 1769761405.192748952 secs.nsecs elapsed_time: 39.146520102 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=0 llite.lustre-ffff8ea798290800.statahead_max=2048 llite.lustre-ffff8ea798290800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.64 seconds: 156.93 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 101 real 0m0.564s user 0m0.004s sys 0m0.207s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8ea798290800.statahead_max=2048 2048 101 real 0m0.338s user 0m0.003s sys 0m0.177s ls -l 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 2 total: 900 open/close in 1.72 seconds: 522.28 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 1001 real 0m5.229s user 0m0.021s sys 0m1.942s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8ea798290800.statahead_max=2048 2048 1001 real 0m3.008s user 0m0.013s sys 0m1.516s ls -l 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 5209 (time 1769761553.10 total 10.00 last 520.87) total: 9000 open/close in 17.06 seconds: 527.70 ops/second llite.lustre-ffff8ea798290800.statahead_max=0 10001 real 0m53.656s user 0m0.203s sys 0m19.509s ls -l 10000 files without statahead: 53 sec llite.lustre-ffff8ea798290800.statahead_max=2048 2048 10001 real 0m24.658s user 0m0.128s sys 0m17.292s ls -l 10000 files with statahead: 24 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 55 seconds llite.lustre-ffff8ea798290800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761703.730961074 secs.nsecs start_time: 1769761445.214443881 secs.nsecs elapsed_time: 258.516517193 secs.nsecs subreqs per batch batches % cum % 1: 74 51 51 2: 14 9 61 4: 17 11 72 8: 5 3 76 16: 0 0 76 32: 0 0 76 64: 1 0 77 128: 5 3 80 256: 28 19 100 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761703.731004441 secs.nsecs start_time: 1769761445.214597308 secs.nsecs elapsed_time: 258.516407133 secs.nsecs subreqs per batch batches % cum % 1: 79 54 54 2: 15 10 64 4: 13 8 73 8: 4 2 76 16: 0 0 76 32: 0 0 76 64: 1 0 77 128: 2 1 78 256: 31 21 100 - open/close 5518 (time 1769761714.89 total 10.00 last 551.74) total: 10000 open/close in 18.46 seconds: 541.78 ops/second llite.lustre-ffff8ea798290800.statahead_batch_max=0 llite.lustre-ffff8ea798290800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.265s user 0m0.173s sys 0m25.830s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ea798290800.statahead_batch_max=256 llite.lustre-ffff8ea798290800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea798290800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea798290800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m24.104s user 0m0.146s sys 0m17.845s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761784.012166205 secs.nsecs start_time: 1769761755.189267586 secs.nsecs elapsed_time: 28.822898619 secs.nsecs subreqs per batch batches % cum % 1: 184 58 58 2: 26 8 67 4: 25 8 75 8: 13 4 79 16: 4 1 80 32: 19 6 86 64: 6 1 88 128: 0 0 88 256: 35 11 100 mdc.lustre-MDT0001-mdc-ffff8ea798290800.batch_stats= snapshot_time: 1769761784.012230866 secs.nsecs start_time: 1769761755.189334168 secs.nsecs elapsed_time: 28.822896698 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8ea798290800.statahead_batch_max=64 llite.lustre-ffff8ea798290800.statahead_max=128