== sanity test 123ad: Verify batching statahead works correctly ========================================================== 08:34:38 (1775046878) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=0 llite.lustre-ffff95b4c7e87800.statahead_max=32 llite.lustre-ffff95b4c7e87800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.64 seconds: 156.24 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 101 real 0m0.621s user 0m0.003s sys 0m0.246s ls -l 100 files without statahead: 0 sec llite.lustre-ffff95b4c7e87800.statahead_max=32 32 101 real 0m0.411s user 0m0.002s sys 0m0.248s ls -l 100 files with statahead: 0 sec statahead total: 88 statahead wrong: 1 agl total: 83 list_total: 32 fname_total: 56 hit_total: 33550 miss_total: 229 total: 900 open/close in 1.80 seconds: 500.61 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 1001 real 0m5.857s user 0m0.021s sys 0m2.280s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff95b4c7e87800.statahead_max=32 32 1001 real 0m3.744s user 0m0.023s sys 0m1.807s ls -l 1000 files with statahead: 4 sec statahead total: 89 statahead wrong: 1 agl total: 84 list_total: 33 fname_total: 56 hit_total: 34549 miss_total: 230 - open/close 4143 (time 1775046908.51 total 10.00 last 414.23) - open/close 8289 (time 1775046918.51 total 20.00 last 414.53) total: 9000 open/close in 21.48 seconds: 419.01 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 10001 real 1m6.834s user 0m0.171s sys 0m24.832s ls -l 10000 files without statahead: 67 sec llite.lustre-ffff95b4c7e87800.statahead_max=32 32 10001 real 0m37.132s user 0m0.139s sys 0m17.823s ls -l 10000 files with statahead: 38 sec statahead total: 90 statahead wrong: 1 agl total: 85 list_total: 34 fname_total: 56 hit_total: 44548 miss_total: 231 ls -l done rm -r /mnt/lustre/d123ad.sanity: 59 seconds llite.lustre-ffff95b4c7e87800.statahead_stats= statahead total: 90 statahead wrong: 1 agl total: 85 list_total: 34 fname_total: 56 hit_total: 44548 miss_total: 231 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047096.222914401 secs.nsecs start_time: 1775046880.228327415 secs.nsecs elapsed_time: 215.994586986 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 4 1 1 8: 5 1 2 16: 198 55 58 32: 146 41 100 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047096.222961989 secs.nsecs start_time: 1775046880.228401886 secs.nsecs elapsed_time: 215.994560103 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 4 1 1 8: 6 1 3 16: 187 52 55 32: 156 44 100 - open/close 4998 (time 1775047107.18 total 10.00 last 499.75) - open/close 9514 (time 1775047117.18 total 20.00 last 451.56) total: 10000 open/close in 20.97 seconds: 476.95 ops/second llite.lustre-ffff95b4c7e87800.statahead_batch_max=0 llite.lustre-ffff95b4c7e87800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.193s user 0m0.133s sys 0m34.263s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95b4c7e87800.statahead_batch_max=32 llite.lustre-ffff95b4c7e87800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.942s user 0m0.126s sys 0m20.447s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047202.397668233 secs.nsecs start_time: 1775047157.165225898 secs.nsecs elapsed_time: 45.232442335 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-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047202.397726483 secs.nsecs start_time: 1775047157.165306383 secs.nsecs elapsed_time: 45.232420100 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=0 llite.lustre-ffff95b4c7e87800.statahead_max=2048 llite.lustre-ffff95b4c7e87800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 0.87 seconds: 115.15 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 101 real 0m0.696s user 0m0.004s sys 0m0.254s ls -l 100 files without statahead: 1 sec llite.lustre-ffff95b4c7e87800.statahead_max=2048 2048 101 real 0m0.429s user 0m0.003s sys 0m0.287s 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 3.00 seconds: 299.69 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 1001 real 0m8.982s user 0m0.018s sys 0m3.337s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff95b4c7e87800.statahead_max=2048 2048 1001 real 0m3.192s user 0m0.014s sys 0m1.700s 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 3307 (time 1775047330.87 total 10.00 last 330.66) total: 4000 open/close in 12.48 seconds: 320.58 ops/second llite.lustre-ffff95b4c7e87800.statahead_max=0 5001 real 0m41.259s user 0m0.135s sys 0m14.666s ls -l 5000 files without statahead: 42 sec llite.lustre-ffff95b4c7e87800.statahead_max=2048 2048 5001 real 0m16.145s user 0m0.064s sys 0m9.840s ls -l 5000 files with statahead: 16 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 36 seconds llite.lustre-ffff95b4c7e87800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047435.767532625 secs.nsecs start_time: 1775047203.241419198 secs.nsecs elapsed_time: 232.526113427 secs.nsecs subreqs per batch batches % cum % 1: 96 67 67 2: 16 11 78 4: 13 9 88 8: 1 0 88 16: 1 0 89 32: 0 0 89 64: 0 0 89 128: 0 0 89 256: 15 10 100 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047435.767588276 secs.nsecs start_time: 1775047203.241528558 secs.nsecs elapsed_time: 232.526059718 secs.nsecs subreqs per batch batches % cum % 1: 108 70 70 2: 15 9 79 4: 8 5 85 8: 4 2 87 16: 1 0 88 32: 0 0 88 64: 2 1 89 128: 1 0 90 256: 15 9 100 - open/close 3539 (time 1775047446.56 total 10.00 last 353.85) - open/close 6546 (time 1775047456.56 total 20.00 last 300.68) - open/close 9968 (time 1775047466.56 total 30.00 last 342.19) total: 10000 open/close in 30.06 seconds: 332.62 ops/second llite.lustre-ffff95b4c7e87800.statahead_batch_max=0 llite.lustre-ffff95b4c7e87800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.344s user 0m0.136s sys 0m28.741s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95b4c7e87800.statahead_batch_max=256 llite.lustre-ffff95b4c7e87800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.stats=clear mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.770s user 0m0.125s sys 0m19.826s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047537.814956087 secs.nsecs start_time: 1775047504.250261011 secs.nsecs elapsed_time: 33.564695076 secs.nsecs subreqs per batch batches % cum % 1: 341 63 63 2: 97 18 82 4: 31 5 87 8: 3 0 88 16: 3 0 88 32: 24 4 93 64: 1 0 93 128: 0 0 93 256: 34 6 100 mdc.lustre-MDT0001-mdc-ffff95b4c7e87800.batch_stats= snapshot_time: 1775047537.815001455 secs.nsecs start_time: 1775047504.250312806 secs.nsecs elapsed_time: 33.564688649 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-ffff95b4c7e87800.statahead_batch_max=64 llite.lustre-ffff95b4c7e87800.statahead_max=128