== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:10:37 (1785460237) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=0 llite.lustre-ffff99939a618000.statahead_max=32 llite.lustre-ffff99939a618000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.30 seconds: 30.30 ops/second llite.lustre-ffff99939a618000.statahead_max=0 101 real 0m3.367s user 0m0.005s sys 0m0.327s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff99939a618000.statahead_max=32 llite.lustre-ffff99939a618000.statahead_max=32 101 real 0m1.552s user 0m0.004s sys 0m0.183s 'ls -l' 100 files with statahead: 1 sec statahead total: 151 statahead wrong: 2 agl total: 145 list_total: 34 fname_total: 115 hit_total: 4454 miss_total: 1282 swrong=2 ewrong=2 - open/close 588 (time 1785460269.68 total 10.01 last 58.76) total: 900 open/close in 15.37 seconds: 58.55 ops/second llite.lustre-ffff99939a618000.statahead_max=0 1001 real 0m41.075s user 0m0.038s sys 0m3.116s 'ls -l' 1000 files without statahead: 41 sec llite.lustre-ffff99939a618000.statahead_max=32 llite.lustre-ffff99939a618000.statahead_max=32 1001 real 0m12.421s user 0m0.017s sys 0m1.433s 'ls -l' 1000 files with statahead: 12 sec statahead total: 152 statahead wrong: 2 agl total: 146 list_total: 35 fname_total: 115 hit_total: 5449 miss_total: 1287 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 30 seconds llite.lustre-ffff99939a618000.statahead_stats= statahead total: 152 statahead wrong: 2 agl total: 146 list_total: 35 fname_total: 115 hit_total: 5449 miss_total: 1287 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785460377.482260477 secs.nsecs start_time: 1785460243.068425013 secs.nsecs elapsed_time: 134.413835464 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 8 11 8: 1 2 13 16: 26 72 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785460377.482328424 secs.nsecs start_time: 1785460243.068566798 secs.nsecs elapsed_time: 134.413761626 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 0 0 7 4: 1 2 9 8: 3 7 17 16: 8 19 36 32: 26 63 100 - open/close 669 (time 1785460390.76 total 10.01 last 66.85) - open/close 1116 (time 1785460400.79 total 20.04 last 44.58) - open/close 1846 (time 1785460410.80 total 30.04 last 72.93) - open/close 2773 (time 1785460420.80 total 40.05 last 92.67) - open/close 3589 (time 1785460430.81 total 50.05 last 81.55) - open/close 4176 (time 1785460440.81 total 60.06 last 58.68) - open/close 4658 (time 1785460450.81 total 70.06 last 48.19) - open/close 5105 (time 1785460460.83 total 80.07 last 44.64) - open/close 5688 (time 1785460470.84 total 90.08 last 58.26) - open/close 6279 (time 1785460480.84 total 100.08 last 59.09) - open/close 7107 (time 1785460490.84 total 110.09 last 82.76) - open/close 7711 (time 1785460500.88 total 120.13 last 60.16) - open/close 8172 (time 1785460510.89 total 130.13 last 46.07) - open/close 8645 (time 1785460520.89 total 140.14 last 47.29) - open/close 9141 (time 1785460530.90 total 150.14 last 49.55) - open/close 9727 (time 1785460540.91 total 160.15 last 58.56) total: 10000 open/close in 165.82 seconds: 60.31 ops/second llite.lustre-ffff99939a618000.statahead_batch_max=0 llite.lustre-ffff99939a618000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.068s user 0m0.288s sys 0m15.601s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99939a618000.statahead_batch_max=32 llite.lustre-ffff99939a618000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m36.459s user 0m0.244s sys 0m14.940s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785460835.531391489 secs.nsecs start_time: 1785460657.726186987 secs.nsecs elapsed_time: 177.805204502 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785460835.531461339 secs.nsecs start_time: 1785460657.726266556 secs.nsecs elapsed_time: 177.805194783 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=0 llite.lustre-ffff99939a618000.statahead_max=2048 llite.lustre-ffff99939a618000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.36 seconds: 42.43 ops/second llite.lustre-ffff99939a618000.statahead_max=0 101 real 0m1.862s user 0m0.008s sys 0m0.318s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99939a618000.statahead_max=2048 llite.lustre-ffff99939a618000.statahead_max=2048 101 real 0m0.749s user 0m0.005s sys 0m0.168s 'ls -l' 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10075 miss_total: 25 swrong=0 ewrong=0 - open/close 567 (time 1785461200.87 total 10.02 last 56.61) total: 900 open/close in 16.05 seconds: 56.06 ops/second llite.lustre-ffff99939a618000.statahead_max=0 1001 real 0m25.931s user 0m0.031s sys 0m3.083s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff99939a618000.statahead_max=2048 llite.lustre-ffff99939a618000.statahead_max=2048 1001 real 0m9.407s user 0m0.026s sys 0m1.519s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff99939a618000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785461284.004210924 secs.nsecs start_time: 1785460839.235804232 secs.nsecs elapsed_time: 444.768406692 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 33 33 16: 3 33 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785461284.004301759 secs.nsecs start_time: 1785460839.235989329 secs.nsecs elapsed_time: 444.768312430 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 2 22 33 8: 1 11 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 502 (time 1785461298.16 total 10.05 last 49.96) - open/close 1200 (time 1785461308.20 total 20.09 last 69.53) - open/close 1729 (time 1785461318.21 total 30.10 last 52.85) - open/close 2284 (time 1785461328.24 total 40.13 last 55.30) - open/close 2794 (time 1785461338.28 total 50.17 last 50.82) - open/close 3402 (time 1785461348.30 total 60.18 last 60.70) - open/close 4091 (time 1785461358.35 total 70.24 last 68.54) - open/close 4501 (time 1785461368.38 total 80.27 last 40.85) - open/close 5008 (time 1785461378.39 total 90.28 last 50.68) - open/close 5720 (time 1785461388.41 total 100.30 last 71.03) - open/close 6383 (time 1785461398.42 total 110.31 last 66.27) - open/close 7026 (time 1785461408.42 total 120.31 last 64.29) - open/close 7512 (time 1785461418.44 total 130.33 last 48.49) - open/close 8340 (time 1785461428.44 total 140.33 last 82.79) - open/close 8900 (time 1785461438.45 total 150.34 last 55.95) - open/close 9484 (time 1785461448.45 total 160.34 last 58.38) total: 10000 open/close in 169.81 seconds: 58.89 ops/second llite.lustre-ffff99939a618000.statahead_batch_max=0 llite.lustre-ffff99939a618000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m32.023s user 0m0.276s sys 0m15.515s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99939a618000.statahead_batch_max=256 llite.lustre-ffff99939a618000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99939a618000.stats=clear mdc.lustre-MDT0001-mdc-ffff99939a618000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m25.994s user 0m0.265s sys 0m15.793s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785461674.343273441 secs.nsecs start_time: 1785461571.012502467 secs.nsecs elapsed_time: 103.330770974 secs.nsecs subreqs per batch batches %% cum %% 1: 188 42 42 2: 97 21 63 4: 64 14 78 8: 26 5 84 16: 16 3 87 32: 17 3 91 64: 5 1 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff99939a618000.batch_stats= snapshot_time: 1785461674.343348174 secs.nsecs start_time: 1785461571.012653520 secs.nsecs elapsed_time: 103.330694654 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-ffff99939a618000.statahead_batch_max=64 llite.lustre-ffff99939a618000.statahead_max=128