== sanity test 123ad: Verify batching statahead works correctly ========================================================== 04:06:28 (1786953988) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=0 llite.lustre-ffff9d4708c47800.statahead_max=32 llite.lustre-ffff9d4708c47800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=0 total: 100 open/close in 3.50 seconds: 28.55 ops/second llite.lustre-ffff9d4708c47800.statahead_max=0 101 real 0m3.610s user 0m0.009s sys 0m0.416s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9d4708c47800.statahead_max=32 llite.lustre-ffff9d4708c47800.statahead_max=32 101 real 0m1.452s user 0m0.008s sys 0m0.224s 'ls -l' 100 files with statahead: 2 sec statahead total: 139 statahead wrong: 2 agl total: 132 list_total: 30 fname_total: 99 hit_total: 4014 miss_total: 1611 swrong=2 ewrong=2 - open/close 519 (time 1786954024.17 total 10.01 last 51.87) total: 900 open/close in 16.10 seconds: 55.90 ops/second llite.lustre-ffff9d4708c47800.statahead_max=0 1001 real 0m31.195s user 0m0.047s sys 0m3.810s 'ls -l' 1000 files without statahead: 31 sec llite.lustre-ffff9d4708c47800.statahead_max=32 llite.lustre-ffff9d4708c47800.statahead_max=32 1001 real 0m15.776s user 0m0.034s sys 0m1.697s 'ls -l' 1000 files with statahead: 16 sec statahead total: 140 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 99 hit_total: 5011 miss_total: 1614 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 31 seconds llite.lustre-ffff9d4708c47800.statahead_stats= statahead total: 140 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 99 hit_total: 5011 miss_total: 1614 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats= snapshot_time: 1786954125.688332169 secs.nsecs start_time: 1786953995.912041190 secs.nsecs elapsed_time: 129.776290979 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 464 (time 1786954139.79 total 10.01 last 46.36) - open/close 1002 (time 1786954149.79 total 20.02 last 53.75) - open/close 1553 (time 1786954159.81 total 30.03 last 55.02) - open/close 2154 (time 1786954169.81 total 40.04 last 60.09) - open/close 2776 (time 1786954179.82 total 50.04 last 62.15) - open/close 3360 (time 1786954189.83 total 60.05 last 58.33) - open/close 3886 (time 1786954199.84 total 70.07 last 52.53) - open/close 4396 (time 1786954209.85 total 80.07 last 50.97) - open/close 4943 (time 1786954219.86 total 90.08 last 54.66) - open/close 5509 (time 1786954229.86 total 100.09 last 56.58) - open/close 6028 (time 1786954239.87 total 110.09 last 51.87) - open/close 6557 (time 1786954249.87 total 120.10 last 52.87) - open/close 7077 (time 1786954259.87 total 130.10 last 51.99) - open/close 7568 (time 1786954269.88 total 140.10 last 49.08) - open/close 8151 (time 1786954279.88 total 150.10 last 58.29) - open/close 8742 (time 1786954289.88 total 160.11 last 59.07) - open/close 9339 (time 1786954299.89 total 170.12 last 59.64) - open/close 9947 (time 1786954309.91 total 180.13 last 60.72) total: 10000 open/close in 181.04 seconds: 55.24 ops/second llite.lustre-ffff9d4708c47800.statahead_batch_max=0 llite.lustre-ffff9d4708c47800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.255s user 0m0.416s sys 0m18.800s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d4708c47800.statahead_batch_max=32 llite.lustre-ffff9d4708c47800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m4.273s user 0m0.371s sys 0m17.041s batched statahead RPC= hit count=9989 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats= snapshot_time: 1786954547.199909171 secs.nsecs start_time: 1786954405.016398554 secs.nsecs elapsed_time: 142.183510617 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=0 llite.lustre-ffff9d4708c47800.statahead_max=2048 llite.lustre-ffff9d4708c47800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=0 total: 100 open/close in 3.07 seconds: 32.60 ops/second llite.lustre-ffff9d4708c47800.statahead_max=0 101 real 0m2.984s user 0m0.006s sys 0m0.353s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9d4708c47800.statahead_max=2048 llite.lustre-ffff9d4708c47800.statahead_max=2048 101 real 0m1.199s user 0m0.008s sys 0m0.212s '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: 10088 miss_total: 12 swrong=0 ewrong=0 - open/close 596 (time 1786954930.01 total 10.00 last 59.57) total: 900 open/close in 14.65 seconds: 61.43 ops/second llite.lustre-ffff9d4708c47800.statahead_max=0 1001 real 0m29.519s user 0m0.036s sys 0m3.393s 'ls -l' 1000 files without statahead: 29 sec llite.lustre-ffff9d4708c47800.statahead_max=2048 llite.lustre-ffff9d4708c47800.statahead_max=2048 1001 real 0m9.898s user 0m0.035s sys 0m1.626s 'ls -l' 1000 files with statahead: 10 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11087 miss_total: 13 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9d4708c47800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11087 miss_total: 13 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats= snapshot_time: 1786955014.846125082 secs.nsecs start_time: 1786954550.513853093 secs.nsecs elapsed_time: 464.332271989 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 673 (time 1786955027.38 total 10.02 last 67.15) - open/close 1272 (time 1786955037.38 total 20.02 last 59.89) - open/close 1965 (time 1786955047.40 total 30.04 last 69.20) - open/close 2622 (time 1786955057.41 total 40.05 last 65.64) - open/close 3278 (time 1786955067.41 total 50.05 last 65.56) - open/close 3882 (time 1786955077.42 total 60.06 last 60.37) - open/close 4466 (time 1786955087.42 total 70.06 last 58.37) - open/close 4985 (time 1786955097.44 total 80.08 last 51.79) - open/close 5502 (time 1786955107.50 total 90.15 last 51.38) - open/close 6015 (time 1786955117.54 total 100.18 last 51.13) - open/close 6506 (time 1786955127.56 total 110.20 last 48.99) - open/close 7055 (time 1786955137.57 total 120.21 last 54.84) - open/close 7597 (time 1786955147.58 total 130.22 last 54.15) - open/close 8181 (time 1786955157.58 total 140.22 last 58.40) - open/close 8803 (time 1786955167.59 total 150.23 last 62.13) - open/close 9364 (time 1786955177.59 total 160.24 last 56.08) - open/close 9899 (time 1786955187.60 total 170.25 last 53.44) total: 10000 open/close in 171.83 seconds: 58.20 ops/second llite.lustre-ffff9d4708c47800.statahead_batch_max=0 llite.lustre-ffff9d4708c47800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.173s user 0m0.426s sys 0m18.186s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d4708c47800.statahead_batch_max=256 llite.lustre-ffff9d4708c47800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d4708c47800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.399s user 0m0.390s sys 0m18.068s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d4708c47800.batch_stats= snapshot_time: 1786955359.861730043 secs.nsecs start_time: 1786955273.253440848 secs.nsecs elapsed_time: 86.608289195 secs.nsecs subreqs per batch batches %% cum %% 1: 263 55 55 2: 69 14 70 4: 41 8 79 8: 30 6 85 16: 17 3 89 32: 13 2 92 64: 2 0 92 128: 1 0 92 256: 34 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-ffff9d4708c47800.statahead_batch_max=64 llite.lustre-ffff9d4708c47800.statahead_max=128