== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:31:14 (1763159474) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=0 llite.lustre-ffff93a188ff8000.statahead_max=32 llite.lustre-ffff93a188ff8000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.65 seconds: 154.89 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 101 real 0m0.610s user 0m0.008s sys 0m0.216s ls -l 100 files without statahead: 1 sec llite.lustre-ffff93a188ff8000.statahead_max=32 32 101 real 0m0.540s user 0m0.002s sys 0m0.241s ls -l 100 files with statahead: 1 sec statahead total: 104 statahead wrong: 2 agl total: 99 list_total: 34 fname_total: 70 hit_total: 20844 miss_total: 1664 total: 900 open/close in 1.97 seconds: 456.92 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 1001 real 0m6.149s user 0m0.022s sys 0m2.286s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff93a188ff8000.statahead_max=32 32 1001 real 0m4.634s user 0m0.019s sys 0m2.329s ls -l 1000 files with statahead: 5 sec statahead total: 105 statahead wrong: 2 agl total: 100 list_total: 35 fname_total: 70 hit_total: 21843 miss_total: 1665 - open/close 4475 (time 1763159505.70 total 10.00 last 447.45) - open/close 8945 (time 1763159515.71 total 20.00 last 446.97) total: 9000 open/close in 20.16 seconds: 446.51 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 10001 real 1m0.484s user 0m0.227s sys 0m21.692s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff93a188ff8000.statahead_max=32 32 10001 real 0m39.243s user 0m0.170s sys 0m17.653s ls -l 10000 files with statahead: 39 sec statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 36 fname_total: 70 hit_total: 31842 miss_total: 1666 ls -l done rm -r /mnt/lustre/d123ad.sanity: 65 seconds llite.lustre-ffff93a188ff8000.statahead_stats= statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 36 fname_total: 70 hit_total: 31842 miss_total: 1666 mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763159692.987522569 secs.nsecs start_time: 1763159475.658356124 secs.nsecs elapsed_time: 217.329166445 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 5 1 1 8: 5 1 3 16: 184 52 55 32: 158 44 100 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763159692.987585349 secs.nsecs start_time: 1763159475.658420487 secs.nsecs elapsed_time: 217.329164862 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 9 2 2 16: 202 57 59 32: 142 40 100 - open/close 4443 (time 1763159704.30 total 10.00 last 444.25) - open/close 8954 (time 1763159714.30 total 20.00 last 451.07) total: 10000 open/close in 22.28 seconds: 448.92 ops/second llite.lustre-ffff93a188ff8000.statahead_batch_max=0 llite.lustre-ffff93a188ff8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.813s user 0m0.150s sys 0m30.848s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93a188ff8000.statahead_batch_max=32 llite.lustre-ffff93a188ff8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.693s user 0m0.171s sys 0m19.475s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763159794.778939002 secs.nsecs start_time: 1763159753.049652887 secs.nsecs elapsed_time: 41.729286115 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-ffff93a188ff8000.batch_stats= snapshot_time: 1763159794.778982852 secs.nsecs start_time: 1763159753.049732539 secs.nsecs elapsed_time: 41.729250313 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=0 llite.lustre-ffff93a188ff8000.statahead_max=2048 llite.lustre-ffff93a188ff8000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.62 seconds: 160.39 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 101 real 0m0.594s user 0m0.002s sys 0m0.214s ls -l 100 files without statahead: 1 sec llite.lustre-ffff93a188ff8000.statahead_max=2048 2048 101 real 0m0.369s user 0m0.003s sys 0m0.224s 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: 10098 miss_total: 2 total: 900 open/close in 1.89 seconds: 475.41 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 1001 real 0m5.973s user 0m0.022s sys 0m2.131s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff93a188ff8000.statahead_max=2048 2048 1001 real 0m3.223s user 0m0.013s sys 0m1.408s 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 4642 (time 1763159909.96 total 10.00 last 464.20) total: 9000 open/close in 19.36 seconds: 464.85 ops/second llite.lustre-ffff93a188ff8000.statahead_max=0 10001 real 1m0.173s user 0m0.227s sys 0m21.681s ls -l 10000 files without statahead: 61 sec llite.lustre-ffff93a188ff8000.statahead_max=2048 2048 10001 real 0m23.756s user 0m0.130s sys 0m16.888s 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: 62 seconds llite.lustre-ffff93a188ff8000.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-ffff93a188ff8000.batch_stats= snapshot_time: 1763160076.947697168 secs.nsecs start_time: 1763159795.607618010 secs.nsecs elapsed_time: 281.340079158 secs.nsecs subreqs per batch batches % cum % 1: 118 62 62 2: 23 12 74 4: 15 7 82 8: 1 0 82 16: 1 0 83 32: 0 0 83 64: 0 0 83 128: 3 1 84 256: 29 15 100 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763160076.947740395 secs.nsecs start_time: 1763159795.607732604 secs.nsecs elapsed_time: 281.340007791 secs.nsecs subreqs per batch batches % cum % 1: 139 67 67 2: 12 5 73 4: 11 5 78 8: 8 3 82 16: 1 0 83 32: 1 0 83 64: 1 0 83 128: 1 0 84 256: 32 15 100 - open/close 4679 (time 1763160087.74 total 10.00 last 467.81) - open/close 9366 (time 1763160097.74 total 20.00 last 468.64) total: 10000 open/close in 21.34 seconds: 468.63 ops/second llite.lustre-ffff93a188ff8000.statahead_batch_max=0 llite.lustre-ffff93a188ff8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.781s user 0m0.166s sys 0m28.045s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93a188ff8000.statahead_batch_max=256 llite.lustre-ffff93a188ff8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93a188ff8000.stats=clear mdc.lustre-MDT0001-mdc-ffff93a188ff8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.615s user 0m0.161s sys 0m20.181s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763160166.714949565 secs.nsecs start_time: 1763160135.499946389 secs.nsecs elapsed_time: 31.215003176 secs.nsecs subreqs per batch batches % cum % 1: 186 60 60 2: 35 11 71 4: 22 7 78 8: 5 1 80 16: 2 0 80 32: 18 5 86 64: 7 2 88 128: 0 0 88 256: 35 11 100 mdc.lustre-MDT0001-mdc-ffff93a188ff8000.batch_stats= snapshot_time: 1763160166.715027728 secs.nsecs start_time: 1763160135.499999751 secs.nsecs elapsed_time: 31.215027977 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-ffff93a188ff8000.statahead_batch_max=64 llite.lustre-ffff93a188ff8000.statahead_max=128