== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:20:00 (1758828000) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=0 llite.lustre-ffff9902c731b800.statahead_max=32 llite.lustre-ffff9902c731b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.70 seconds: 142.80 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 101 real 0m1.132s user 0m0.004s sys 0m0.385s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9902c731b800.statahead_max=32 32 101 real 0m0.490s user 0m0.004s sys 0m0.258s ls -l 100 files with statahead: 0 sec statahead total: 73 statahead wrong: 1 agl total: 67 list_total: 29 fname_total: 44 hit_total: 33786 miss_total: 205 total: 900 open/close in 3.52 seconds: 255.58 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 1001 real 0m9.983s user 0m0.028s sys 0m3.385s ls -l 1000 files without statahead: 10 sec llite.lustre-ffff9902c731b800.statahead_max=32 32 1001 real 0m4.560s user 0m0.016s sys 0m1.815s ls -l 1000 files with statahead: 4 sec statahead total: 74 statahead wrong: 1 agl total: 68 list_total: 30 fname_total: 44 hit_total: 34785 miss_total: 206 - open/close 2290 (time 1758828039.58 total 10.00 last 228.95) total: 4000 open/close in 17.45 seconds: 229.18 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 5001 real 0m51.693s user 0m0.149s sys 0m17.259s ls -l 5000 files without statahead: 52 sec llite.lustre-ffff9902c731b800.statahead_max=32 32 5001 real 0m21.995s user 0m0.078s sys 0m8.667s ls -l 5000 files with statahead: 22 sec statahead total: 75 statahead wrong: 1 agl total: 69 list_total: 31 fname_total: 44 hit_total: 39784 miss_total: 207 ls -l done rm -r /mnt/lustre/d123ad.sanity: 39 seconds llite.lustre-ffff9902c731b800.statahead_stats= statahead total: 75 statahead wrong: 1 agl total: 69 list_total: 31 fname_total: 44 hit_total: 39784 miss_total: 207 mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828167.888040486 secs.nsecs start_time: 1758828002.165807953 secs.nsecs elapsed_time: 165.722232533 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 2 1 1 4: 2 1 2 8: 6 3 5 16: 102 51 57 32: 85 42 100 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828167.888088393 secs.nsecs start_time: 1758828002.165863852 secs.nsecs elapsed_time: 165.722224541 secs.nsecs subreqs per batch batches % cum % 1: 2 1 1 2: 1 0 1 4: 3 1 3 8: 5 2 5 16: 106 53 58 32: 82 41 100 - open/close 2676 (time 1758828178.89 total 10.00 last 267.57) - open/close 5422 (time 1758828188.89 total 20.00 last 274.59) - open/close 8052 (time 1758828198.90 total 30.01 last 262.87) total: 10000 open/close in 36.34 seconds: 275.15 ops/second llite.lustre-ffff9902c731b800.statahead_batch_max=0 llite.lustre-ffff9902c731b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.916s user 0m0.153s sys 0m33.272s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9902c731b800.statahead_batch_max=32 llite.lustre-ffff9902c731b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.284s user 0m0.135s sys 0m19.377s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828280.987824773 secs.nsecs start_time: 1758828242.537771917 secs.nsecs elapsed_time: 38.450052856 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-ffff9902c731b800.batch_stats= snapshot_time: 1758828280.987938129 secs.nsecs start_time: 1758828242.537822879 secs.nsecs elapsed_time: 38.450115250 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=0 llite.lustre-ffff9902c731b800.statahead_max=2048 llite.lustre-ffff9902c731b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.57 seconds: 174.22 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 101 real 0m0.545s user 0m0.003s sys 0m0.193s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9902c731b800.statahead_max=2048 2048 101 real 0m0.346s user 0m0.003s sys 0m0.232s 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.96 seconds: 459.10 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 1001 real 0m5.305s user 0m0.023s sys 0m1.716s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff9902c731b800.statahead_max=2048 2048 1001 real 0m2.888s user 0m0.011s sys 0m1.028s 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 4791 (time 1758828403.73 total 10.00 last 479.00) total: 9000 open/close in 18.76 seconds: 479.66 ops/second llite.lustre-ffff9902c731b800.statahead_max=0 10001 real 1m1.873s user 0m0.158s sys 0m20.019s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff9902c731b800.statahead_max=2048 2048 10001 real 0m25.687s user 0m0.128s sys 0m18.217s ls -l 10000 files with statahead: 25 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: 67 seconds llite.lustre-ffff9902c731b800.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-ffff9902c731b800.batch_stats= snapshot_time: 1758828579.190864817 secs.nsecs start_time: 1758828282.106637042 secs.nsecs elapsed_time: 297.084227775 secs.nsecs subreqs per batch batches % cum % 1: 85 62 62 2: 10 7 70 4: 4 2 73 8: 3 2 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 5 3 79 256: 28 20 100 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828579.190948520 secs.nsecs start_time: 1758828282.106754699 secs.nsecs elapsed_time: 297.084193821 secs.nsecs subreqs per batch batches % cum % 1: 89 63 63 2: 11 7 71 4: 0 0 71 8: 4 2 74 16: 0 0 74 32: 0 0 74 64: 1 0 75 128: 2 1 76 256: 33 23 100 - open/close 3195 (time 1758828590.36 total 10.00 last 319.46) - open/close 7861 (time 1758828600.36 total 20.00 last 466.56) total: 10000 open/close in 24.57 seconds: 406.93 ops/second llite.lustre-ffff9902c731b800.statahead_batch_max=0 llite.lustre-ffff9902c731b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.920s user 0m0.150s sys 0m28.465s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9902c731b800.statahead_batch_max=256 llite.lustre-ffff9902c731b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9902c731b800.stats=clear mdc.lustre-MDT0001-mdc-ffff9902c731b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.240s user 0m0.133s sys 0m18.928s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828669.905219628 secs.nsecs start_time: 1758828640.198256468 secs.nsecs elapsed_time: 29.706963160 secs.nsecs subreqs per batch batches % cum % 1: 112 48 48 2: 30 12 61 4: 19 8 69 8: 7 3 72 16: 3 1 73 32: 22 9 83 64: 4 1 84 128: 0 0 84 256: 35 15 100 mdc.lustre-MDT0001-mdc-ffff9902c731b800.batch_stats= snapshot_time: 1758828669.905272445 secs.nsecs start_time: 1758828640.198338636 secs.nsecs elapsed_time: 29.706933809 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-ffff9902c731b800.statahead_batch_max=64 llite.lustre-ffff9902c731b800.statahead_max=128