== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:26:29 (1786814789) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats=0 llite.lustre-ffff89c5d0165800.statahead_max=32 llite.lustre-ffff89c5d0165800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats=0 total: 100 open/close in 3.56 seconds: 28.10 ops/second llite.lustre-ffff89c5d0165800.statahead_max=0 101 real 0m1.800s user 0m0.004s sys 0m0.324s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff89c5d0165800.statahead_max=32 llite.lustre-ffff89c5d0165800.statahead_max=32 101 real 0m1.158s user 0m0.005s sys 0m0.168s 'ls -l' 100 files with statahead: 1 sec statahead total: 108 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 74 hit_total: 4418 miss_total: 1285 swrong=2 ewrong=2 - open/close 781 (time 1786814817.43 total 10.01 last 78.02) total: 900 open/close in 12.46 seconds: 72.21 ops/second llite.lustre-ffff89c5d0165800.statahead_max=0 1001 real 0m21.085s user 0m0.032s sys 0m3.115s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff89c5d0165800.statahead_max=32 llite.lustre-ffff89c5d0165800.statahead_max=32 1001 real 0m10.892s user 0m0.033s sys 0m1.477s 'ls -l' 1000 files with statahead: 11 sec statahead total: 109 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 74 hit_total: 5414 miss_total: 1289 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff89c5d0165800.statahead_stats= statahead total: 109 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 74 hit_total: 5414 miss_total: 1289 mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats= snapshot_time: 1786814887.705934595 secs.nsecs start_time: 1786814793.949827284 secs.nsecs elapsed_time: 93.756107311 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 1 2 12 32: 34 87 100 - open/close 638 (time 1786814900.22 total 10.01 last 63.71) - open/close 1460 (time 1786814910.23 total 20.01 last 82.19) - open/close 2154 (time 1786814920.23 total 30.02 last 69.34) - open/close 2854 (time 1786814930.26 total 40.05 last 69.85) - open/close 3719 (time 1786814940.26 total 50.05 last 86.47) - open/close 4400 (time 1786814950.27 total 60.05 last 68.06) - open/close 5131 (time 1786814960.27 total 70.06 last 73.07) - open/close 6043 (time 1786814970.28 total 80.07 last 91.11) - open/close 6725 (time 1786814980.29 total 90.08 last 68.15) - open/close 7560 (time 1786814990.30 total 100.09 last 83.43) - open/close 8127 (time 1786815000.34 total 110.13 last 56.46) - open/close 8688 (time 1786815010.34 total 120.13 last 56.09) - open/close 9328 (time 1786815020.34 total 130.13 last 63.98) total: 10000 open/close in 139.54 seconds: 71.66 ops/second llite.lustre-ffff89c5d0165800.statahead_batch_max=0 llite.lustre-ffff89c5d0165800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.300s user 0m0.284s sys 0m15.199s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89c5d0165800.statahead_batch_max=32 llite.lustre-ffff89c5d0165800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.829s user 0m0.306s sys 0m14.822s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats= snapshot_time: 1786815221.951790563 secs.nsecs start_time: 1786815099.007935012 secs.nsecs elapsed_time: 122.943855551 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-ffff89c5d0165800.batch_stats=0 llite.lustre-ffff89c5d0165800.statahead_max=2048 llite.lustre-ffff89c5d0165800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats=0 total: 100 open/close in 3.26 seconds: 30.72 ops/second llite.lustre-ffff89c5d0165800.statahead_max=0 101 real 0m2.518s user 0m0.005s sys 0m0.328s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89c5d0165800.statahead_max=2048 llite.lustre-ffff89c5d0165800.statahead_max=2048 101 real 0m0.978s user 0m0.002s sys 0m0.194s '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: 10086 miss_total: 14 swrong=0 ewrong=0 - open/close 489 (time 1786815529.47 total 10.00 last 48.89) total: 900 open/close in 15.71 seconds: 57.27 ops/second llite.lustre-ffff89c5d0165800.statahead_max=0 1001 real 0m22.301s user 0m0.028s sys 0m3.149s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff89c5d0165800.statahead_max=2048 llite.lustre-ffff89c5d0165800.statahead_max=2048 1001 real 0m6.552s user 0m0.017s sys 0m1.625s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff89c5d0165800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats= snapshot_time: 1786815596.643457521 secs.nsecs start_time: 1786815224.799606560 secs.nsecs elapsed_time: 371.843850961 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 717 (time 1786815609.97 total 10.00 last 71.68) - open/close 1461 (time 1786815619.97 total 20.01 last 74.38) - open/close 2218 (time 1786815629.98 total 30.01 last 75.65) - open/close 3153 (time 1786815639.98 total 40.02 last 93.44) - open/close 4011 (time 1786815649.99 total 50.03 last 85.73) - open/close 4784 (time 1786815660.01 total 60.04 last 77.18) - open/close 5546 (time 1786815670.01 total 70.05 last 76.14) - open/close 6186 (time 1786815680.02 total 80.06 last 63.95) - open/close 6967 (time 1786815690.07 total 90.10 last 77.75) - open/close 7768 (time 1786815700.07 total 100.11 last 80.08) - open/close 8599 (time 1786815710.08 total 110.12 last 83.01) - open/close 9367 (time 1786815720.09 total 120.13 last 76.74) total: 10000 open/close in 128.78 seconds: 77.65 ops/second llite.lustre-ffff89c5d0165800.statahead_batch_max=0 llite.lustre-ffff89c5d0165800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.712s user 0m0.300s sys 0m15.394s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89c5d0165800.statahead_batch_max=256 llite.lustre-ffff89c5d0165800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89c5d0165800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.398s user 0m0.322s sys 0m16.248s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff89c5d0165800.batch_stats= snapshot_time: 1786815878.616874437 secs.nsecs start_time: 1786815801.847805927 secs.nsecs elapsed_time: 76.769068510 secs.nsecs subreqs per batch batches %% cum %% 1: 226 50 50 2: 72 16 66 4: 52 11 78 8: 25 5 83 16: 22 4 88 32: 13 2 91 64: 4 0 92 128: 1 0 92 256: 33 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-ffff89c5d0165800.statahead_batch_max=64 llite.lustre-ffff89c5d0165800.statahead_max=128