== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:53:41 (1786316021) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=0 llite.lustre-ffff88f0c6cd2800.statahead_max=32 llite.lustre-ffff88f0c6cd2800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.81 seconds: 35.61 ops/second llite.lustre-ffff88f0c6cd2800.statahead_max=0 101 real 0m1.960s user 0m0.003s sys 0m0.338s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff88f0c6cd2800.statahead_max=32 llite.lustre-ffff88f0c6cd2800.statahead_max=32 101 real 0m1.212s user 0m0.007s sys 0m0.202s 'ls -l' 100 files with statahead: 1 sec statahead total: 155 statahead wrong: 2 agl total: 149 list_total: 31 fname_total: 124 hit_total: 3872 miss_total: 1149 swrong=2 ewrong=2 - open/close 875 (time 1786316049.22 total 10.01 last 87.43) total: 900 open/close in 10.22 seconds: 88.10 ops/second llite.lustre-ffff88f0c6cd2800.statahead_max=0 1001 real 0m19.698s user 0m0.035s sys 0m3.219s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff88f0c6cd2800.statahead_max=32 llite.lustre-ffff88f0c6cd2800.statahead_max=32 1001 real 0m8.766s user 0m0.025s sys 0m1.472s 'ls -l' 1000 files with statahead: 8 sec statahead total: 156 statahead wrong: 2 agl total: 150 list_total: 32 fname_total: 124 hit_total: 4870 miss_total: 1151 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff88f0c6cd2800.statahead_stats= statahead total: 156 statahead wrong: 2 agl total: 150 list_total: 32 fname_total: 124 hit_total: 4870 miss_total: 1151 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316109.652042250 secs.nsecs start_time: 1786316026.277481175 secs.nsecs elapsed_time: 83.374561075 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316109.652226532 secs.nsecs start_time: 1786316026.277557821 secs.nsecs elapsed_time: 83.374668711 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 1 2 10 8: 4 10 20 16: 17 42 62 32: 15 37 100 - open/close 954 (time 1786316121.92 total 10.02 last 95.23) - open/close 1958 (time 1786316131.93 total 20.03 last 100.29) - open/close 2865 (time 1786316141.93 total 30.03 last 90.66) - open/close 3810 (time 1786316151.94 total 40.04 last 94.43) - open/close 4756 (time 1786316161.94 total 50.04 last 94.57) - open/close 5648 (time 1786316171.95 total 60.05 last 89.13) - open/close 6625 (time 1786316181.96 total 70.06 last 97.57) - open/close 7644 (time 1786316191.96 total 80.07 last 101.87) - open/close 8419 (time 1786316201.97 total 90.07 last 77.44) - open/close 9261 (time 1786316211.98 total 100.08 last 84.17) total: 10000 open/close in 108.56 seconds: 92.12 ops/second llite.lustre-ffff88f0c6cd2800.statahead_batch_max=0 llite.lustre-ffff88f0c6cd2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.200s user 0m0.325s sys 0m16.902s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88f0c6cd2800.statahead_batch_max=32 llite.lustre-ffff88f0c6cd2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.756s user 0m0.287s sys 0m15.357s batched statahead RPC= hit count=9988 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316398.236063243 secs.nsecs start_time: 1786316287.185996391 secs.nsecs elapsed_time: 111.050066852 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316398.236138649 secs.nsecs start_time: 1786316287.186189343 secs.nsecs elapsed_time: 111.049949306 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=0 llite.lustre-ffff88f0c6cd2800.statahead_max=2048 llite.lustre-ffff88f0c6cd2800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.49 seconds: 40.14 ops/second llite.lustre-ffff88f0c6cd2800.statahead_max=0 101 real 0m2.222s user 0m0.009s sys 0m0.367s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff88f0c6cd2800.statahead_max=2048 llite.lustre-ffff88f0c6cd2800.statahead_max=2048 101 real 0m0.896s user 0m0.003s sys 0m0.181s '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: 10087 miss_total: 13 swrong=0 ewrong=0 total: 900 open/close in 9.50 seconds: 94.72 ops/second llite.lustre-ffff88f0c6cd2800.statahead_max=0 1001 real 0m19.817s user 0m0.028s sys 0m3.225s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff88f0c6cd2800.statahead_max=2048 llite.lustre-ffff88f0c6cd2800.statahead_max=2048 1001 real 0m8.525s user 0m0.039s sys 0m1.630s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff88f0c6cd2800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316769.897583121 secs.nsecs start_time: 1786316401.513930596 secs.nsecs elapsed_time: 368.383652525 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786316769.897822909 secs.nsecs start_time: 1786316401.514288022 secs.nsecs elapsed_time: 368.383534887 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 786 (time 1786316782.51 total 10.00 last 78.58) - open/close 1613 (time 1786316792.52 total 20.01 last 82.63) - open/close 2425 (time 1786316802.52 total 30.01 last 81.19) - open/close 3327 (time 1786316812.52 total 40.02 last 90.15) - open/close 4135 (time 1786316822.53 total 50.03 last 80.71) - open/close 5037 (time 1786316832.54 total 60.03 last 90.18) - open/close 5917 (time 1786316842.54 total 70.04 last 87.96) - open/close 6766 (time 1786316852.56 total 80.05 last 84.76) - open/close 7698 (time 1786316862.56 total 90.06 last 93.17) - open/close 8614 (time 1786316872.58 total 100.07 last 91.45) - open/close 9439 (time 1786316882.58 total 110.08 last 82.45) total: 10000 open/close in 117.54 seconds: 85.08 ops/second llite.lustre-ffff88f0c6cd2800.statahead_batch_max=0 llite.lustre-ffff88f0c6cd2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.102s user 0m0.312s sys 0m16.220s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88f0c6cd2800.statahead_batch_max=256 llite.lustre-ffff88f0c6cd2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.stats=clear mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.381s user 0m0.336s sys 0m16.548s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786317050.007486511 secs.nsecs start_time: 1786316971.690911288 secs.nsecs elapsed_time: 78.316575223 secs.nsecs subreqs per batch batches %% cum %% 1: 175 47 47 2: 50 13 61 4: 42 11 73 8: 31 8 81 16: 13 3 85 32: 13 3 88 64: 4 1 89 128: 4 1 90 256: 33 9 100 mdc.lustre-MDT0001-mdc-ffff88f0c6cd2800.batch_stats= snapshot_time: 1786317050.007556254 secs.nsecs start_time: 1786316971.690977506 secs.nsecs elapsed_time: 78.316578748 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88f0c6cd2800.statahead_batch_max=64 llite.lustre-ffff88f0c6cd2800.statahead_max=128