== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:47:19 (1787568439) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=0 llite.lustre-ffff8eaf6ee85800.statahead_max=32 llite.lustre-ffff8eaf6ee85800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.62 seconds: 38.11 ops/second llite.lustre-ffff8eaf6ee85800.statahead_max=0 101 real 0m2.440s user 0m0.004s sys 0m0.293s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8eaf6ee85800.statahead_max=32 llite.lustre-ffff8eaf6ee85800.statahead_max=32 101 real 0m1.076s user 0m0.004s sys 0m0.180s 'ls -l' 100 files with statahead: 1 sec statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 94 hit_total: 4235 miss_total: 761 swrong=2 ewrong=2 - open/close 813 (time 1787568467.32 total 10.00 last 81.28) total: 900 open/close in 11.58 seconds: 77.72 ops/second llite.lustre-ffff8eaf6ee85800.statahead_max=0 1001 real 0m21.619s user 0m0.031s sys 0m2.874s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8eaf6ee85800.statahead_max=32 llite.lustre-ffff8eaf6ee85800.statahead_max=32 1001 real 0m8.027s user 0m0.028s sys 0m1.343s 'ls -l' 1000 files with statahead: 8 sec statahead total: 140 statahead wrong: 2 agl total: 134 list_total: 32 fname_total: 94 hit_total: 5232 miss_total: 764 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8eaf6ee85800.statahead_stats= statahead total: 140 statahead wrong: 2 agl total: 134 list_total: 32 fname_total: 94 hit_total: 5232 miss_total: 764 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787568529.956586553 secs.nsecs start_time: 1787568444.177949076 secs.nsecs elapsed_time: 85.778637477 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 1 2 13 4: 1 2 15 8: 4 10 26 16: 23 60 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787568529.956679248 secs.nsecs start_time: 1787568444.178100873 secs.nsecs elapsed_time: 85.778578375 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 2 5 12 16: 15 37 50 32: 20 50 100 - open/close 825 (time 1787568542.76 total 10.00 last 82.47) - open/close 1641 (time 1787568552.78 total 20.02 last 81.44) - open/close 2355 (time 1787568562.79 total 30.03 last 71.33) - open/close 3105 (time 1787568572.83 total 40.08 last 74.68) - open/close 3919 (time 1787568582.84 total 50.08 last 81.36) - open/close 4770 (time 1787568592.84 total 60.08 last 85.09) - open/close 5683 (time 1787568602.84 total 70.09 last 91.27) - open/close 6605 (time 1787568612.87 total 80.11 last 92.00) - open/close 7390 (time 1787568622.87 total 90.11 last 78.48) - open/close 8287 (time 1787568632.88 total 100.12 last 89.64) - open/close 9173 (time 1787568642.88 total 110.12 last 88.56) total: 10000 open/close in 119.98 seconds: 83.35 ops/second llite.lustre-ffff8eaf6ee85800.statahead_batch_max=0 llite.lustre-ffff8eaf6ee85800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.556s user 0m0.269s sys 0m14.832s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8eaf6ee85800.statahead_batch_max=32 llite.lustre-ffff8eaf6ee85800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.024s user 0m0.300s sys 0m13.801s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787568841.550498406 secs.nsecs start_time: 1787568731.096967828 secs.nsecs elapsed_time: 110.453530578 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-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787568841.551971565 secs.nsecs start_time: 1787568731.097120089 secs.nsecs elapsed_time: 110.454851476 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=0 llite.lustre-ffff8eaf6ee85800.statahead_max=2048 llite.lustre-ffff8eaf6ee85800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.33 seconds: 42.86 ops/second llite.lustre-ffff8eaf6ee85800.statahead_max=0 101 real 0m2.081s user 0m0.007s sys 0m0.294s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8eaf6ee85800.statahead_max=2048 llite.lustre-ffff8eaf6ee85800.statahead_max=2048 101 real 0m0.879s user 0m0.005s sys 0m0.163s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 860 (time 1787569132.76 total 10.01 last 85.95) total: 900 open/close in 10.61 seconds: 84.80 ops/second llite.lustre-ffff8eaf6ee85800.statahead_max=0 1001 real 0m21.238s user 0m0.033s sys 0m2.831s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8eaf6ee85800.statahead_max=2048 llite.lustre-ffff8eaf6ee85800.statahead_max=2048 1001 real 0m6.507s user 0m0.031s sys 0m1.402s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8eaf6ee85800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787569190.638851657 secs.nsecs start_time: 1787568843.855533591 secs.nsecs elapsed_time: 346.783318066 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787569190.638915787 secs.nsecs start_time: 1787568843.859109125 secs.nsecs elapsed_time: 346.779806662 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 0 0 33 16: 2 22 55 32: 1 11 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 953 (time 1787569203.14 total 10.01 last 95.18) - open/close 1863 (time 1787569213.14 total 20.02 last 90.95) - open/close 2731 (time 1787569223.15 total 30.03 last 86.72) - open/close 3529 (time 1787569233.15 total 40.03 last 79.80) - open/close 4425 (time 1787569243.16 total 50.04 last 89.51) - open/close 5333 (time 1787569253.17 total 60.04 last 90.75) - open/close 6138 (time 1787569263.17 total 70.04 last 80.49) - open/close 6970 (time 1787569273.17 total 80.05 last 83.17) - open/close 7828 (time 1787569283.17 total 90.05 last 85.77) - open/close 8722 (time 1787569293.18 total 100.06 last 89.33) - open/close 9637 (time 1787569303.20 total 110.07 last 91.34) total: 10000 open/close in 115.00 seconds: 86.96 ops/second llite.lustre-ffff8eaf6ee85800.statahead_batch_max=0 llite.lustre-ffff8eaf6ee85800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.003s user 0m0.278s sys 0m15.933s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8eaf6ee85800.statahead_batch_max=256 llite.lustre-ffff8eaf6ee85800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.stats=clear mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.589s user 0m0.295s sys 0m14.949s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787569436.449197143 secs.nsecs start_time: 1787569376.637625023 secs.nsecs elapsed_time: 59.811572120 secs.nsecs subreqs per batch batches %% cum %% 1: 118 43 43 2: 36 13 57 4: 30 11 68 8: 16 5 74 16: 11 4 78 32: 14 5 83 64: 9 3 86 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff8eaf6ee85800.batch_stats= snapshot_time: 1787569436.449269379 secs.nsecs start_time: 1787569376.638016481 secs.nsecs elapsed_time: 59.811252898 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-ffff8eaf6ee85800.statahead_batch_max=64 llite.lustre-ffff8eaf6ee85800.statahead_max=128