== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:00:12 (1732431612) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=0 llite.lustre-ffff88012d2a7800.statahead_max=32 llite.lustre-ffff88012d2a7800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.75 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 101 real 0m1.951s user 0m0.000s sys 0m0.417s ls -l 100 files without statahead: 2 sec llite.lustre-ffff88012d2a7800.statahead_max=32 32 101 real 0m0.614s user 0m0.007s sys 0m0.173s ls -l 100 files with statahead: 1 sec statahead total: 30 statahead wrong: 0 agl total: 30 list_total: 30 fname_total: 0 hit_total: 4541 miss_total: 142 - open/close 811 (time 1732431635.01 total 10.00 last 81.07) total: 900 open/close in 11.02 seconds: 81.67 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 1001 real 0m17.047s user 0m0.065s sys 0m3.314s ls -l 1000 files without statahead: 17 sec llite.lustre-ffff88012d2a7800.statahead_max=32 32 1001 real 0m5.766s user 0m0.059s sys 0m1.619s ls -l 1000 files with statahead: 6 sec statahead total: 31 statahead wrong: 0 agl total: 31 list_total: 31 fname_total: 0 hit_total: 5540 miss_total: 153 - open/close 783 (time 1732431674.34 total 10.00 last 78.29) total: 1000 open/close in 12.62 seconds: 79.24 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 2001 real 0m34.509s user 0m0.200s sys 0m6.808s ls -l 2000 files without statahead: 35 sec llite.lustre-ffff88012d2a7800.statahead_max=32 32 2001 real 0m8.347s user 0m0.103s sys 0m2.645s ls -l 2000 files with statahead: 8 sec statahead total: 32 statahead wrong: 0 agl total: 32 list_total: 32 fname_total: 0 hit_total: 7539 miss_total: 163 ls -l done rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff88012d2a7800.statahead_stats= statahead total: 32 statahead wrong: 0 agl total: 32 list_total: 32 fname_total: 0 hit_total: 7539 miss_total: 163 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732431751.133216829 secs.nsecs start_time: 1732431615.932007639 secs.nsecs elapsed_time: 135.201209190 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 3 2 2 4: 3 2 5 8: 4 3 9 16: 54 51 61 32: 40 38 100 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732431751.134182645 secs.nsecs start_time: 1732431615.932174390 secs.nsecs elapsed_time: 135.202008255 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 5 4 4 8: 4 3 8 16: 54 51 60 32: 41 39 100 - open/close 889 (time 1732431762.86 total 10.00 last 88.90) - open/close 1779 (time 1732431772.87 total 20.01 last 88.90) - open/close 2770 (time 1732431782.87 total 30.01 last 99.09) - open/close 3880 (time 1732431792.87 total 40.01 last 110.99) - open/close 4797 (time 1732431802.88 total 50.02 last 91.66) - open/close 5679 (time 1732431812.89 total 60.03 last 88.12) - open/close 6620 (time 1732431822.89 total 70.03 last 94.04) - open/close 7615 (time 1732431832.90 total 80.04 last 99.48) - open/close 8666 (time 1732431842.90 total 90.04 last 105.06) - open/close 9546 (time 1732431852.91 total 100.05 last 87.95) total: 10000 open/close in 105.12 seconds: 95.13 ops/second llite.lustre-ffff88012d2a7800.statahead_batch_max=0 llite.lustre-ffff88012d2a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.268s user 0m0.284s sys 0m10.623s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012d2a7800.statahead_batch_max=32 llite.lustre-ffff88012d2a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.901s user 0m0.480s sys 0m12.823s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732431947.702684978 secs.nsecs start_time: 1732431888.517172766 secs.nsecs elapsed_time: 59.185512212 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-ffff88012d2a7800.batch_stats= snapshot_time: 1732431947.704763224 secs.nsecs start_time: 1732431888.519322259 secs.nsecs elapsed_time: 59.185440965 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=0 llite.lustre-ffff88012d2a7800.statahead_max=2048 llite.lustre-ffff88012d2a7800.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.96 seconds: 51.13 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 101 real 0m1.843s user 0m0.011s sys 0m0.392s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012d2a7800.statahead_max=2048 2048 101 real 0m0.535s user 0m0.009s sys 0m0.164s 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: 90 total: 900 open/close in 9.73 seconds: 92.48 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 1001 real 0m16.121s user 0m0.072s sys 0m3.429s ls -l 1000 files without statahead: 16 sec llite.lustre-ffff88012d2a7800.statahead_max=2048 2048 1001 real 0m2.330s user 0m0.030s sys 0m1.141s ls -l 1000 files with statahead: 2 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 91 - open/close 935 (time 1732432199.86 total 10.01 last 93.42) - open/close 1841 (time 1732432209.87 total 20.02 last 90.50) total: 2000 open/close in 21.70 seconds: 92.18 ops/second llite.lustre-ffff88012d2a7800.statahead_max=0 3001 real 0m48.160s user 0m0.309s sys 0m10.314s ls -l 3000 files without statahead: 48 sec llite.lustre-ffff88012d2a7800.statahead_max=2048 2048 3001 real 0m7.286s user 0m0.143s sys 0m3.749s ls -l 3000 files with statahead: 7 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 92 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff88012d2a7800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 92 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732432309.523805810 secs.nsecs start_time: 1732431949.918644625 secs.nsecs elapsed_time: 359.605161185 secs.nsecs subreqs per batch batches % cum % 1: 5 17 17 2: 2 6 24 4: 4 13 37 8: 6 20 58 16: 2 6 65 32: 0 0 65 64: 1 3 68 128: 0 0 68 256: 9 31 100 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732432309.524029396 secs.nsecs start_time: 1732431949.918837141 secs.nsecs elapsed_time: 359.605192255 secs.nsecs subreqs per batch batches % cum % 1: 4 13 13 2: 4 13 27 4: 6 20 48 8: 2 6 55 16: 2 6 62 32: 1 3 65 64: 1 3 68 128: 1 3 72 256: 8 27 100 - open/close 992 (time 1732432321.19 total 10.01 last 99.14) - open/close 2120 (time 1732432331.20 total 20.01 last 112.75) - open/close 3171 (time 1732432341.20 total 30.01 last 105.07) - open/close 4083 (time 1732432351.21 total 40.02 last 91.10) - open/close 5031 (time 1732432361.21 total 50.03 last 94.78) - open/close 6073 (time 1732432371.22 total 60.03 last 104.18) - open/close 7268 (time 1732432381.22 total 70.03 last 119.47) - open/close 8251 (time 1732432391.23 total 80.04 last 98.19) - open/close 9157 (time 1732432401.24 total 90.05 last 90.51) total: 10000 open/close in 99.12 seconds: 100.88 ops/second llite.lustre-ffff88012d2a7800.statahead_batch_max=0 llite.lustre-ffff88012d2a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m23.169s user 0m0.363s sys 0m10.363s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012d2a7800.statahead_batch_max=256 llite.lustre-ffff88012d2a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d2a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d2a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m18.629s user 0m0.391s sys 0m11.840s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732432460.730038364 secs.nsecs start_time: 1732432437.463383746 secs.nsecs elapsed_time: 23.266654618 secs.nsecs subreqs per batch batches % cum % 1: 129 55 55 2: 9 3 58 4: 18 7 66 8: 8 3 70 16: 15 6 76 32: 15 6 82 64: 4 1 84 128: 1 0 85 256: 35 14 100 mdc.lustre-MDT0001-mdc-ffff88012d2a7800.batch_stats= snapshot_time: 1732432460.732651043 secs.nsecs start_time: 1732432437.463581881 secs.nsecs elapsed_time: 23.269069162 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=33554431 seq.cli-lustre-OST0001-super.width=33554431 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012d2a7800.statahead_batch_max=64 llite.lustre-ffff88012d2a7800.statahead_max=128