== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:16:38 (1787105798) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats=0 llite.lustre-ffff8b6a47d5a000.statahead_max=32 llite.lustre-ffff8b6a47d5a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats=0 total: 100 open/close in 0.83 seconds: 120.99 ops/second llite.lustre-ffff8b6a47d5a000.statahead_max=0 101 real 0m0.879s user 0m0.002s sys 0m0.294s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8b6a47d5a000.statahead_max=32 llite.lustre-ffff8b6a47d5a000.statahead_max=32 101 real 0m0.441s user 0m0.008s sys 0m0.216s 'ls -l' 100 files with statahead: 1 sec statahead total: 101 statahead wrong: 2 agl total: 91 list_total: 30 fname_total: 66 hit_total: 14131 miss_total: 1446 swrong=2 ewrong=2 total: 900 open/close in 3.77 seconds: 238.74 ops/second llite.lustre-ffff8b6a47d5a000.statahead_max=0 1001 real 0m8.304s user 0m0.039s sys 0m2.690s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff8b6a47d5a000.statahead_max=32 llite.lustre-ffff8b6a47d5a000.statahead_max=32 1001 real 0m3.879s user 0m0.017s sys 0m1.985s 'ls -l' 1000 files with statahead: 4 sec statahead total: 102 statahead wrong: 2 agl total: 92 list_total: 31 fname_total: 66 hit_total: 15130 miss_total: 1447 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff8b6a47d5a000.statahead_stats= statahead total: 102 statahead wrong: 2 agl total: 92 list_total: 31 fname_total: 66 hit_total: 15130 miss_total: 1447 mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats= snapshot_time: 1787105831.191145629 secs.nsecs start_time: 1787105799.998757146 secs.nsecs elapsed_time: 31.192388483 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 3179 (time 1787105842.25 total 10.01 last 317.66) - open/close 6405 (time 1787105852.26 total 20.01 last 322.51) - open/close 9564 (time 1787105862.26 total 30.01 last 315.83) total: 10000 open/close in 31.32 seconds: 319.31 ops/second llite.lustre-ffff8b6a47d5a000.statahead_batch_max=0 llite.lustre-ffff8b6a47d5a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.488s user 0m0.229s sys 0m31.615s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b6a47d5a000.statahead_batch_max=32 llite.lustre-ffff8b6a47d5a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.016s user 0m0.185s sys 0m21.090s batched statahead RPC= hit count=9995 mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats= snapshot_time: 1787105948.177114365 secs.nsecs start_time: 1787105901.390211705 secs.nsecs elapsed_time: 46.786902660 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-ffff8b6a47d5a000.batch_stats=0 llite.lustre-ffff8b6a47d5a000.statahead_max=2048 llite.lustre-ffff8b6a47d5a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats=0 total: 100 open/close in 0.90 seconds: 111.34 ops/second llite.lustre-ffff8b6a47d5a000.statahead_max=0 101 real 0m0.777s user 0m0.004s sys 0m0.280s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8b6a47d5a000.statahead_max=2048 llite.lustre-ffff8b6a47d5a000.statahead_max=2048 101 real 0m0.386s user 0m0.007s sys 0m0.207s '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: 10094 miss_total: 6 swrong=0 ewrong=0 total: 900 open/close in 2.61 seconds: 344.65 ops/second llite.lustre-ffff8b6a47d5a000.statahead_max=0 1001 real 0m7.707s user 0m0.033s sys 0m2.655s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff8b6a47d5a000.statahead_max=2048 llite.lustre-ffff8b6a47d5a000.statahead_max=2048 1001 real 0m3.208s user 0m0.018s sys 0m1.402s 'ls -l' 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11093 miss_total: 7 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff8b6a47d5a000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11093 miss_total: 7 mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats= snapshot_time: 1787106076.273893804 secs.nsecs start_time: 1787105949.043356121 secs.nsecs elapsed_time: 127.230537683 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 3541 (time 1787106087.08 total 10.00 last 354.03) - open/close 6983 (time 1787106097.09 total 20.00 last 344.13) total: 10000 open/close in 27.93 seconds: 358.10 ops/second llite.lustre-ffff8b6a47d5a000.statahead_batch_max=0 llite.lustre-ffff8b6a47d5a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.862s user 0m0.183s sys 0m27.063s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b6a47d5a000.statahead_batch_max=256 llite.lustre-ffff8b6a47d5a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.086s user 0m0.144s sys 0m18.835s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8b6a47d5a000.batch_stats= snapshot_time: 1787106173.623170299 secs.nsecs start_time: 1787106140.176799511 secs.nsecs elapsed_time: 33.446370788 secs.nsecs subreqs per batch batches %% cum %% 1: 292 61 61 2: 62 13 74 4: 49 10 84 8: 10 2 86 16: 5 1 87 32: 23 4 92 64: 0 0 92 128: 0 0 92 256: 35 7 100 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-ffff8b6a47d5a000.statahead_batch_max=64 llite.lustre-ffff8b6a47d5a000.statahead_max=128