== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:34:14 (1786754054) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=0 llite.lustre-ffff9b32080db000.statahead_max=32 llite.lustre-ffff9b32080db000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.40 seconds: 41.69 ops/second llite.lustre-ffff9b32080db000.statahead_max=0 101 real 0m2.406s user 0m0.005s sys 0m0.333s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9b32080db000.statahead_max=32 llite.lustre-ffff9b32080db000.statahead_max=32 101 real 0m1.065s user 0m0.006s sys 0m0.187s 'ls -l' 100 files with statahead: 1 sec statahead total: 145 statahead wrong: 2 agl total: 138 list_total: 30 fname_total: 100 hit_total: 4210 miss_total: 752 swrong=2 ewrong=2 - open/close 831 (time 1786754081.68 total 10.00 last 83.08) total: 900 open/close in 10.93 seconds: 82.31 ops/second llite.lustre-ffff9b32080db000.statahead_max=0 1001 real 0m19.416s user 0m0.040s sys 0m3.303s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff9b32080db000.statahead_max=32 llite.lustre-ffff9b32080db000.statahead_max=32 1001 real 0m8.791s user 0m0.031s sys 0m1.473s 'ls -l' 1000 files with statahead: 9 sec statahead total: 146 statahead wrong: 2 agl total: 139 list_total: 31 fname_total: 100 hit_total: 5208 miss_total: 754 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9b32080db000.statahead_stats= statahead total: 146 statahead wrong: 2 agl total: 139 list_total: 31 fname_total: 100 hit_total: 5208 miss_total: 754 mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786754142.893395262 secs.nsecs start_time: 1786754058.736864249 secs.nsecs elapsed_time: 84.156531013 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 2 5 11 8: 2 5 16 16: 25 69 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786754142.893468902 secs.nsecs start_time: 1786754058.736995646 secs.nsecs elapsed_time: 84.156473256 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 2 5 12 16: 11 27 40 32: 24 60 100 - open/close 749 (time 1786754156.30 total 10.00 last 74.87) - open/close 1602 (time 1786754166.31 total 20.01 last 85.25) - open/close 2373 (time 1786754176.31 total 30.01 last 77.10) - open/close 3195 (time 1786754186.32 total 40.02 last 82.09) - open/close 3954 (time 1786754196.33 total 50.03 last 75.81) - open/close 4810 (time 1786754206.33 total 60.04 last 85.56) - open/close 5741 (time 1786754216.34 total 70.04 last 93.08) - open/close 6680 (time 1786754226.34 total 80.05 last 93.85) - open/close 7601 (time 1786754236.35 total 90.05 last 92.06) - open/close 8489 (time 1786754246.35 total 100.06 last 88.74) - open/close 9319 (time 1786754256.36 total 110.06 last 82.98) total: 10000 open/close in 119.19 seconds: 83.90 ops/second llite.lustre-ffff9b32080db000.statahead_batch_max=0 llite.lustre-ffff9b32080db000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.476s user 0m0.304s sys 0m16.100s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b32080db000.statahead_batch_max=32 llite.lustre-ffff9b32080db000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m38.569s user 0m0.300s sys 0m15.729s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786754454.442978870 secs.nsecs start_time: 1786754341.810888896 secs.nsecs elapsed_time: 112.632089974 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-ffff9b32080db000.batch_stats= snapshot_time: 1786754454.443049421 secs.nsecs start_time: 1786754341.811084408 secs.nsecs elapsed_time: 112.631965013 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=0 llite.lustre-ffff9b32080db000.statahead_max=2048 llite.lustre-ffff9b32080db000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.74 seconds: 57.31 ops/second llite.lustre-ffff9b32080db000.statahead_max=0 101 real 0m1.705s user 0m0.005s sys 0m0.309s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9b32080db000.statahead_max=2048 llite.lustre-ffff9b32080db000.statahead_max=2048 101 real 0m0.692s user 0m0.007s sys 0m0.190s '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 total: 900 open/close in 9.72 seconds: 92.62 ops/second llite.lustre-ffff9b32080db000.statahead_max=0 1001 real 0m18.122s user 0m0.031s sys 0m3.263s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9b32080db000.statahead_max=2048 llite.lustre-ffff9b32080db000.statahead_max=2048 1001 real 0m6.871s user 0m0.033s sys 0m1.700s 'ls -l' 1000 files with statahead: 7 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-ffff9b32080db000.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-ffff9b32080db000.batch_stats= snapshot_time: 1786754800.311215381 secs.nsecs start_time: 1786754456.613395619 secs.nsecs elapsed_time: 343.697819762 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 1 11 44 16: 3 33 77 32: 0 0 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786754800.311336848 secs.nsecs start_time: 1786754456.613577354 secs.nsecs elapsed_time: 343.697759494 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 1008 (time 1786754813.23 total 10.00 last 100.76) - open/close 1775 (time 1786754823.25 total 20.02 last 76.55) - open/close 2492 (time 1786754833.25 total 30.02 last 71.70) - open/close 3432 (time 1786754843.25 total 40.03 last 93.98) - open/close 4303 (time 1786754853.25 total 50.03 last 87.10) - open/close 5166 (time 1786754863.28 total 60.06 last 86.05) - open/close 6023 (time 1786754873.29 total 70.06 last 85.66) - open/close 6953 (time 1786754883.29 total 80.07 last 92.95) - open/close 7855 (time 1786754893.30 total 90.07 last 90.16) - open/close 8674 (time 1786754903.30 total 100.08 last 81.85) - open/close 9585 (time 1786754913.31 total 110.08 last 91.05) total: 10000 open/close in 114.27 seconds: 87.51 ops/second llite.lustre-ffff9b32080db000.statahead_batch_max=0 llite.lustre-ffff9b32080db000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.312s user 0m0.283s sys 0m16.621s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b32080db000.statahead_batch_max=256 llite.lustre-ffff9b32080db000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b32080db000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b32080db000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.799s user 0m0.309s sys 0m16.528s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786755060.551144737 secs.nsecs start_time: 1786754991.634687429 secs.nsecs elapsed_time: 68.916457308 secs.nsecs subreqs per batch batches %% cum %% 1: 229 57 57 2: 56 13 71 4: 36 8 80 8: 13 3 83 16: 11 2 86 32: 16 3 90 64: 6 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff9b32080db000.batch_stats= snapshot_time: 1786755060.551618755 secs.nsecs start_time: 1786754991.634782334 secs.nsecs elapsed_time: 68.916836421 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-ffff9b32080db000.statahead_batch_max=64 llite.lustre-ffff9b32080db000.statahead_max=128