== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:58:00 (1766419080) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=0 llite.lustre-ffff99c845b4a800.statahead_max=32 llite.lustre-ffff99c845b4a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=0 total: 100 open/close in 1.09 seconds: 92.16 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 101 real 0m0.939s user 0m0.004s sys 0m0.313s ls -l 100 files without statahead: 1 sec llite.lustre-ffff99c845b4a800.statahead_max=32 32 101 real 0m0.474s user 0m0.002s sys 0m0.279s ls -l 100 files with statahead: 0 sec statahead total: 102 statahead wrong: 2 agl total: 97 list_total: 32 fname_total: 70 hit_total: 33786 miss_total: 814 total: 900 open/close in 3.50 seconds: 257.04 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 1001 real 0m9.274s user 0m0.020s sys 0m2.959s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff99c845b4a800.statahead_max=32 32 1001 real 0m4.150s user 0m0.015s sys 0m1.946s ls -l 1000 files with statahead: 4 sec statahead total: 103 statahead wrong: 2 agl total: 98 list_total: 33 fname_total: 70 hit_total: 34785 miss_total: 815 - open/close 2202 (time 1766419118.11 total 10.00 last 220.19) total: 4000 open/close in 17.65 seconds: 226.65 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 5001 real 0m48.157s user 0m0.123s sys 0m15.061s ls -l 5000 files without statahead: 49 sec llite.lustre-ffff99c845b4a800.statahead_max=32 32 5001 real 0m18.774s user 0m0.080s sys 0m9.859s ls -l 5000 files with statahead: 19 sec statahead total: 104 statahead wrong: 2 agl total: 99 list_total: 34 fname_total: 70 hit_total: 39784 miss_total: 816 ls -l done rm -r /mnt/lustre/d123ad.sanity: 36 seconds llite.lustre-ffff99c845b4a800.statahead_stats= statahead total: 104 statahead wrong: 2 agl total: 99 list_total: 34 fname_total: 70 hit_total: 39784 miss_total: 816 mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats= snapshot_time: 1766419236.033960828 secs.nsecs start_time: 1766419082.214926519 secs.nsecs elapsed_time: 153.819034309 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 1 8: 4 2 3 16: 3 1 4 32: 190 95 100 - open/close 2597 (time 1766419246.98 total 10.00 last 259.61) - open/close 4836 (time 1766419256.99 total 20.01 last 223.81) - open/close 7143 (time 1766419266.99 total 30.01 last 230.60) - open/close 9778 (time 1766419276.99 total 40.01 last 263.47) total: 10000 open/close in 40.87 seconds: 244.70 ops/second llite.lustre-ffff99c845b4a800.statahead_batch_max=0 llite.lustre-ffff99c845b4a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.491s user 0m0.134s sys 0m35.329s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99c845b4a800.statahead_batch_max=32 llite.lustre-ffff99c845b4a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.131s user 0m0.151s sys 0m20.658s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats= snapshot_time: 1766419359.606253589 secs.nsecs start_time: 1766419316.973443233 secs.nsecs elapsed_time: 42.632810356 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=0 llite.lustre-ffff99c845b4a800.statahead_max=2048 llite.lustre-ffff99c845b4a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=0 total: 100 open/close in 1.52 seconds: 65.59 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 101 real 0m0.567s user 0m0.003s sys 0m0.182s ls -l 100 files without statahead: 1 sec llite.lustre-ffff99c845b4a800.statahead_max=2048 2048 101 real 0m0.314s user 0m0.003s sys 0m0.205s 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.93 seconds: 466.68 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 1001 real 0m5.382s user 0m0.012s sys 0m1.736s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff99c845b4a800.statahead_max=2048 2048 1001 real 0m2.933s user 0m0.016s sys 0m1.014s 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 4651 (time 1766419479.60 total 10.00 last 465.06) total: 9000 open/close in 19.12 seconds: 470.79 ops/second llite.lustre-ffff99c845b4a800.statahead_max=0 10001 real 1m2.756s user 0m0.178s sys 0m20.949s ls -l 10000 files without statahead: 63 sec llite.lustre-ffff99c845b4a800.statahead_max=2048 2048 10001 real 0m33.235s user 0m0.134s sys 0m22.855s ls -l 10000 files with statahead: 33 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: 60 seconds llite.lustre-ffff99c845b4a800.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-ffff99c845b4a800.batch_stats= snapshot_time: 1766419655.481539441 secs.nsecs start_time: 1766419360.557169599 secs.nsecs elapsed_time: 294.924369842 secs.nsecs subreqs per batch batches % cum % 1: 134 48 48 2: 49 17 66 4: 13 4 71 8: 10 3 74 16: 4 1 76 32: 21 7 83 64: 4 1 85 128: 2 0 85 256: 39 14 100 - open/close 4721 (time 1766419666.24 total 10.00 last 472.00) - open/close 8874 (time 1766419676.24 total 20.00 last 415.28) total: 10000 open/close in 23.04 seconds: 434.04 ops/second llite.lustre-ffff99c845b4a800.statahead_batch_max=0 llite.lustre-ffff99c845b4a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.182s user 0m0.130s sys 0m26.255s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99c845b4a800.statahead_batch_max=256 llite.lustre-ffff99c845b4a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99c845b4a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.506s user 0m0.127s sys 0m17.795s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99c845b4a800.batch_stats= snapshot_time: 1766419743.783481031 secs.nsecs start_time: 1766419713.335195406 secs.nsecs elapsed_time: 30.448285625 secs.nsecs subreqs per batch batches % cum % 1: 202 57 57 2: 53 15 72 4: 28 7 80 8: 7 1 82 16: 3 0 83 32: 23 6 89 64: 1 0 90 128: 0 0 90 256: 35 9 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff99c845b4a800.statahead_batch_max=64 llite.lustre-ffff99c845b4a800.statahead_max=128