== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:15:57 (1786814157) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=0 llite.lustre-ffff8fe6c9e4a000.statahead_max=32 llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.69 seconds: 59.03 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_max=0 101 real 0m1.635s user 0m0.007s sys 0m0.308s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8fe6c9e4a000.statahead_max=32 llite.lustre-ffff8fe6c9e4a000.statahead_max=32 101 real 0m0.686s user 0m0.003s sys 0m0.193s 'ls -l' 100 files with statahead: 1 sec statahead total: 121 statahead wrong: 2 agl total: 116 list_total: 31 fname_total: 90 hit_total: 3694 miss_total: 1621 swrong=2 ewrong=2 total: 900 open/close in 8.69 seconds: 103.62 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_max=0 1001 real 0m18.236s user 0m0.029s sys 0m3.037s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8fe6c9e4a000.statahead_max=32 llite.lustre-ffff8fe6c9e4a000.statahead_max=32 1001 real 0m6.376s user 0m0.020s sys 0m1.632s 'ls -l' 1000 files with statahead: 7 sec statahead total: 122 statahead wrong: 2 agl total: 117 list_total: 32 fname_total: 90 hit_total: 4692 miss_total: 1623 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 14 seconds llite.lustre-ffff8fe6c9e4a000.statahead_stats= statahead total: 122 statahead wrong: 2 agl total: 117 list_total: 32 fname_total: 90 hit_total: 4692 miss_total: 1623 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814223.952593877 secs.nsecs start_time: 1786814161.096783429 secs.nsecs elapsed_time: 62.855810448 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 3 8 13 8: 1 2 16 16: 24 66 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814223.952656367 secs.nsecs start_time: 1786814161.096887949 secs.nsecs elapsed_time: 62.855768418 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 14 35 46 32: 21 53 100 - open/close 1025 (time 1786814235.59 total 10.00 last 102.50) - open/close 2097 (time 1786814245.59 total 20.01 last 107.12) - open/close 3041 (time 1786814255.60 total 30.02 last 94.33) - open/close 4009 (time 1786814265.61 total 40.02 last 96.74) - open/close 4982 (time 1786814275.62 total 50.04 last 97.17) - open/close 5836 (time 1786814285.64 total 60.05 last 85.28) - open/close 6738 (time 1786814295.64 total 70.06 last 90.14) - open/close 7577 (time 1786814305.66 total 80.07 last 83.76) - open/close 8310 (time 1786814315.67 total 90.09 last 73.21) - open/close 9190 (time 1786814325.67 total 100.09 last 87.97) total: 10000 open/close in 109.38 seconds: 91.43 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=0 llite.lustre-ffff8fe6c9e4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.365s user 0m0.288s sys 0m16.450s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=32 llite.lustre-ffff8fe6c9e4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m55.225s user 0m0.290s sys 0m15.460s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814543.645441971 secs.nsecs start_time: 1786814412.719344725 secs.nsecs elapsed_time: 130.926097246 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 1 32: 313 98 100 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814543.645505390 secs.nsecs start_time: 1786814412.719736907 secs.nsecs elapsed_time: 130.925768483 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=0 llite.lustre-ffff8fe6c9e4a000.statahead_max=2048 llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.04 seconds: 49.08 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_max=0 101 real 0m1.887s user 0m0.005s sys 0m0.324s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8fe6c9e4a000.statahead_max=2048 llite.lustre-ffff8fe6c9e4a000.statahead_max=2048 101 real 0m0.747s user 0m0.003s sys 0m0.210s '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: 10085 miss_total: 15 swrong=0 ewrong=0 total: 900 open/close in 9.48 seconds: 94.91 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_max=0 1001 real 0m19.143s user 0m0.025s sys 0m3.127s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8fe6c9e4a000.statahead_max=2048 llite.lustre-ffff8fe6c9e4a000.statahead_max=2048 1001 real 0m6.429s user 0m0.026s sys 0m1.660s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8fe6c9e4a000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814871.567786853 secs.nsecs start_time: 1786814546.529572674 secs.nsecs elapsed_time: 325.038214179 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786814871.568103819 secs.nsecs start_time: 1786814546.529705144 secs.nsecs elapsed_time: 325.038398675 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 1 12 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 - open/close 931 (time 1786814883.85 total 10.01 last 93.04) - open/close 1859 (time 1786814893.85 total 20.01 last 92.79) - open/close 2856 (time 1786814903.86 total 30.01 last 99.64) - open/close 3824 (time 1786814913.86 total 40.02 last 96.77) - open/close 4767 (time 1786814923.86 total 50.02 last 94.30) - open/close 5726 (time 1786814933.87 total 60.03 last 95.82) - open/close 6687 (time 1786814943.88 total 70.03 last 96.02) - open/close 7565 (time 1786814953.88 total 80.03 last 87.79) - open/close 8525 (time 1786814963.88 total 90.04 last 95.96) - open/close 9445 (time 1786814973.89 total 100.04 last 91.97) total: 10000 open/close in 105.86 seconds: 94.46 ops/second llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=0 llite.lustre-ffff8fe6c9e4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.841s user 0m0.272s sys 0m18.059s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8fe6c9e4a000.statahead_batch_max=256 llite.lustre-ffff8fe6c9e4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.stats=clear mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.175s user 0m0.281s sys 0m15.899s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786815125.408137782 secs.nsecs start_time: 1786815042.511442662 secs.nsecs elapsed_time: 82.896695120 secs.nsecs subreqs per batch batches %% cum %% 1: 209 50 50 2: 44 10 61 4: 43 10 71 8: 36 8 80 16: 24 5 85 32: 21 5 91 64: 4 0 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff8fe6c9e4a000.batch_stats= snapshot_time: 1786815125.408194090 secs.nsecs start_time: 1786815042.511524513 secs.nsecs elapsed_time: 82.896669577 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-ffff8fe6c9e4a000.statahead_batch_max=64 llite.lustre-ffff8fe6c9e4a000.statahead_max=128