== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:06:33 (1787861193) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=0 llite.lustre-ffff89b048214000.statahead_max=32 llite.lustre-ffff89b048214000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.27 seconds: 44.02 ops/second llite.lustre-ffff89b048214000.statahead_max=0 101 real 0m2.118s user 0m0.003s sys 0m0.295s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89b048214000.statahead_max=32 llite.lustre-ffff89b048214000.statahead_max=32 101 real 0m0.821s user 0m0.005s sys 0m0.161s 'ls -l' 100 files with statahead: 1 sec statahead total: 140 statahead wrong: 2 agl total: 134 list_total: 31 fname_total: 94 hit_total: 4414 miss_total: 777 swrong=2 ewrong=2 total: 900 open/close in 9.19 seconds: 97.91 ops/second llite.lustre-ffff89b048214000.statahead_max=0 1001 real 0m20.914s user 0m0.033s sys 0m2.845s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff89b048214000.statahead_max=32 llite.lustre-ffff89b048214000.statahead_max=32 1001 real 0m8.728s user 0m0.033s sys 0m1.328s 'ls -l' 1000 files with statahead: 9 sec statahead total: 141 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 94 hit_total: 5412 miss_total: 779 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff89b048214000.statahead_stats= statahead total: 141 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 94 hit_total: 5412 miss_total: 779 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787861277.449481659 secs.nsecs start_time: 1787861198.354624530 secs.nsecs elapsed_time: 79.094857129 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 2 5 12 8: 3 7 20 16: 18 45 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787861277.449562117 secs.nsecs start_time: 1787861198.354721136 secs.nsecs elapsed_time: 79.094840981 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 - open/close 955 (time 1787861290.06 total 10.00 last 95.46) - open/close 1846 (time 1787861300.06 total 20.01 last 89.08) - open/close 2844 (time 1787861310.07 total 30.01 last 99.76) - open/close 3847 (time 1787861320.07 total 40.02 last 100.23) - open/close 4758 (time 1787861330.08 total 50.02 last 91.08) - open/close 5770 (time 1787861340.08 total 60.02 last 101.16) - open/close 6699 (time 1787861350.10 total 70.04 last 92.71) - open/close 7656 (time 1787861360.11 total 80.05 last 95.64) - open/close 8675 (time 1787861370.12 total 90.06 last 101.80) - open/close 9622 (time 1787861380.12 total 100.06 last 94.67) total: 10000 open/close in 104.15 seconds: 96.01 ops/second llite.lustre-ffff89b048214000.statahead_batch_max=0 llite.lustre-ffff89b048214000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.765s user 0m0.289s sys 0m14.351s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89b048214000.statahead_batch_max=32 llite.lustre-ffff89b048214000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.282s user 0m0.269s sys 0m13.144s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787861550.383811592 secs.nsecs start_time: 1787861445.281830028 secs.nsecs elapsed_time: 105.101981564 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-ffff89b048214000.batch_stats= snapshot_time: 1787861550.383877154 secs.nsecs start_time: 1787861445.281905694 secs.nsecs elapsed_time: 105.101971460 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=0 llite.lustre-ffff89b048214000.statahead_max=2048 llite.lustre-ffff89b048214000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.37 seconds: 42.11 ops/second llite.lustre-ffff89b048214000.statahead_max=0 101 real 0m1.999s user 0m0.009s sys 0m0.298s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89b048214000.statahead_max=2048 llite.lustre-ffff89b048214000.statahead_max=2048 101 real 0m0.664s user 0m0.004s sys 0m0.179s '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: 10080 miss_total: 20 swrong=0 ewrong=0 - open/close 855 (time 1787861811.74 total 10.00 last 85.46) total: 900 open/close in 10.55 seconds: 85.32 ops/second llite.lustre-ffff89b048214000.statahead_max=0 1001 real 0m18.141s user 0m0.023s sys 0m2.749s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff89b048214000.statahead_max=2048 llite.lustre-ffff89b048214000.statahead_max=2048 1001 real 0m5.763s user 0m0.025s sys 0m1.453s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff89b048214000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787861865.510933669 secs.nsecs start_time: 1787861552.973135168 secs.nsecs elapsed_time: 312.537798501 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 2 33 50 8: 1 16 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787861865.510999187 secs.nsecs start_time: 1787861552.973267630 secs.nsecs elapsed_time: 312.537731557 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 1 12 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 775 (time 1787861878.07 total 10.01 last 77.46) - open/close 1644 (time 1787861888.09 total 20.03 last 86.72) - open/close 2566 (time 1787861898.09 total 30.03 last 92.18) - open/close 3498 (time 1787861908.10 total 40.03 last 93.17) - open/close 4469 (time 1787861918.10 total 50.04 last 97.04) - open/close 5323 (time 1787861928.11 total 60.04 last 85.35) - open/close 6269 (time 1787861938.11 total 70.05 last 94.55) - open/close 7226 (time 1787861948.12 total 80.05 last 95.67) - open/close 8188 (time 1787861958.12 total 90.06 last 96.14) - open/close 9206 (time 1787861968.13 total 100.07 last 101.68) - open/close 9995 (time 1787861978.14 total 110.07 last 78.86) total: 10000 open/close in 110.16 seconds: 90.78 ops/second llite.lustre-ffff89b048214000.statahead_batch_max=0 llite.lustre-ffff89b048214000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.386s user 0m0.269s sys 0m14.313s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89b048214000.statahead_batch_max=256 llite.lustre-ffff89b048214000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89b048214000.stats=clear mdc.lustre-MDT0001-mdc-ffff89b048214000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.452s user 0m0.287s sys 0m13.746s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787862119.231126475 secs.nsecs start_time: 1787862060.369124465 secs.nsecs elapsed_time: 58.862002010 secs.nsecs subreqs per batch batches %% cum %% 1: 115 43 43 2: 37 13 57 4: 28 10 67 8: 16 6 73 16: 17 6 80 32: 11 4 84 64: 6 2 86 128: 2 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff89b048214000.batch_stats= snapshot_time: 1787862119.231188158 secs.nsecs start_time: 1787862060.369248515 secs.nsecs elapsed_time: 58.861939643 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-ffff89b048214000.statahead_batch_max=64 llite.lustre-ffff89b048214000.statahead_max=128