== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:48:09 (1786938489) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=0 llite.lustre-ffff91a5901c2800.statahead_max=32 llite.lustre-ffff91a5901c2800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=0 total: 100 open/close in 0.67 seconds: 150.10 ops/second llite.lustre-ffff91a5901c2800.statahead_max=0 101 real 0m0.588s user 0m0.002s sys 0m0.209s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff91a5901c2800.statahead_max=32 llite.lustre-ffff91a5901c2800.statahead_max=32 101 real 0m0.395s user 0m0.001s sys 0m0.213s 'ls -l' 100 files with statahead: 0 sec statahead total: 61 statahead wrong: 2 agl total: 57 list_total: 27 fname_total: 34 hit_total: 13547 miss_total: 1440 swrong=2 ewrong=2 total: 900 open/close in 2.04 seconds: 441.55 ops/second llite.lustre-ffff91a5901c2800.statahead_max=0 1001 real 0m6.992s user 0m0.027s sys 0m2.307s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff91a5901c2800.statahead_max=32 llite.lustre-ffff91a5901c2800.statahead_max=32 1001 real 0m4.810s user 0m0.020s sys 0m2.398s 'ls -l' 1000 files with statahead: 5 sec statahead total: 62 statahead wrong: 2 agl total: 58 list_total: 28 fname_total: 34 hit_total: 14546 miss_total: 1441 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff91a5901c2800.statahead_stats= statahead total: 62 statahead wrong: 2 agl total: 58 list_total: 28 fname_total: 34 hit_total: 14546 miss_total: 1441 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats= snapshot_time: 1786938521.174145789 secs.nsecs start_time: 1786938490.456043762 secs.nsecs elapsed_time: 30.718102027 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 2380 (time 1786938532.23 total 10.00 last 238.00) - open/close 4596 (time 1786938542.23 total 20.00 last 221.55) - open/close 6856 (time 1786938552.23 total 30.00 last 225.99) - open/close 9483 (time 1786938562.23 total 40.00 last 262.68) total: 10000 open/close in 42.29 seconds: 236.44 ops/second llite.lustre-ffff91a5901c2800.statahead_batch_max=0 llite.lustre-ffff91a5901c2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.474s user 0m0.149s sys 0m49.764s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff91a5901c2800.statahead_batch_max=32 llite.lustre-ffff91a5901c2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.849s user 0m0.159s sys 0m27.641s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats= snapshot_time: 1786938683.346069345 secs.nsecs start_time: 1786938621.928902228 secs.nsecs elapsed_time: 61.417167117 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=0 llite.lustre-ffff91a5901c2800.statahead_max=2048 llite.lustre-ffff91a5901c2800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=0 total: 100 open/close in 1.01 seconds: 99.40 ops/second llite.lustre-ffff91a5901c2800.statahead_max=0 101 real 0m1.235s user 0m0.005s sys 0m0.466s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff91a5901c2800.statahead_max=2048 llite.lustre-ffff91a5901c2800.statahead_max=2048 101 real 0m0.537s user 0m0.001s sys 0m0.352s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 4.60 seconds: 195.49 ops/second llite.lustre-ffff91a5901c2800.statahead_max=0 1001 real 0m8.278s user 0m0.016s sys 0m2.991s 'ls -l' 1000 files without statahead: 9 sec llite.lustre-ffff91a5901c2800.statahead_max=2048 llite.lustre-ffff91a5901c2800.statahead_max=2048 1001 real 0m5.462s user 0m0.016s sys 0m1.670s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff91a5901c2800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats= snapshot_time: 1786938864.696750938 secs.nsecs start_time: 1786938684.519356020 secs.nsecs elapsed_time: 180.177394918 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 1218 (time 1786938875.84 total 10.00 last 121.76) - open/close 4173 (time 1786938885.84 total 20.00 last 295.49) - open/close 8116 (time 1786938895.85 total 30.01 last 394.21) total: 10000 open/close in 34.36 seconds: 291.05 ops/second llite.lustre-ffff91a5901c2800.statahead_batch_max=0 llite.lustre-ffff91a5901c2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.991s user 0m0.186s sys 0m35.499s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff91a5901c2800.statahead_batch_max=256 llite.lustre-ffff91a5901c2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff91a5901c2800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.913s user 0m0.169s sys 0m20.053s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff91a5901c2800.batch_stats= snapshot_time: 1786938980.785460828 secs.nsecs start_time: 1786938946.163212583 secs.nsecs elapsed_time: 34.622248245 secs.nsecs subreqs per batch batches %% cum %% 1: 422 65 65 2: 98 15 80 4: 54 8 88 8: 14 2 90 16: 2 0 91 32: 24 3 94 64: 0 0 94 128: 0 0 94 256: 34 5 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-ffff91a5901c2800.statahead_batch_max=64 llite.lustre-ffff91a5901c2800.statahead_max=128