== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:01:41 (1786068101) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=0 llite.lustre-ffff8963c8563800.statahead_max=32 llite.lustre-ffff8963c8563800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.33 seconds: 30.02 ops/second llite.lustre-ffff8963c8563800.statahead_max=0 101 real 0m2.421s user 0m0.006s sys 0m0.323s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8963c8563800.statahead_max=32 llite.lustre-ffff8963c8563800.statahead_max=32 101 real 0m1.485s user 0m0.004s sys 0m0.187s 'ls -l' 100 files with statahead: 2 sec statahead total: 116 statahead wrong: 2 agl total: 109 list_total: 31 fname_total: 77 hit_total: 3963 miss_total: 1651 swrong=2 ewrong=2 total: 900 open/close in 8.67 seconds: 103.85 ops/second llite.lustre-ffff8963c8563800.statahead_max=0 1001 real 0m16.891s user 0m0.032s sys 0m3.058s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8963c8563800.statahead_max=32 llite.lustre-ffff8963c8563800.statahead_max=32 1001 real 0m8.134s user 0m0.031s sys 0m1.404s 'ls -l' 1000 files with statahead: 8 sec statahead total: 117 statahead wrong: 2 agl total: 110 list_total: 32 fname_total: 77 hit_total: 4961 miss_total: 1653 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8963c8563800.statahead_stats= statahead total: 117 statahead wrong: 2 agl total: 110 list_total: 32 fname_total: 77 hit_total: 4961 miss_total: 1653 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068193.146274401 secs.nsecs start_time: 1786068108.998871385 secs.nsecs elapsed_time: 84.147403016 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 4 10 12 8: 2 5 17 16: 16 40 57 32: 17 42 100 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068193.146338846 secs.nsecs start_time: 1786068108.999090113 secs.nsecs elapsed_time: 84.147248733 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 4 10 15 16: 20 51 66 32: 13 33 100 - open/close 854 (time 1786068206.08 total 10.00 last 85.40) - open/close 1822 (time 1786068216.08 total 20.00 last 96.77) - open/close 2764 (time 1786068226.09 total 30.01 last 94.10) - open/close 3718 (time 1786068236.11 total 40.03 last 95.24) - open/close 4514 (time 1786068246.11 total 50.03 last 79.59) - open/close 5334 (time 1786068256.12 total 60.04 last 81.94) - open/close 6180 (time 1786068266.12 total 70.04 last 84.57) - open/close 6770 (time 1786068276.13 total 80.05 last 58.94) - open/close 7550 (time 1786068286.14 total 90.06 last 77.92) - open/close 8375 (time 1786068296.14 total 100.06 last 82.48) - open/close 9282 (time 1786068306.16 total 110.08 last 90.59) total: 10000 open/close in 117.40 seconds: 85.18 ops/second llite.lustre-ffff8963c8563800.statahead_batch_max=0 llite.lustre-ffff8963c8563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.322s user 0m0.323s sys 0m15.664s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8963c8563800.statahead_batch_max=32 llite.lustre-ffff8963c8563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m51.052s user 0m0.329s sys 0m15.424s batched statahead RPC= hit count=9974 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068516.008489069 secs.nsecs start_time: 1786068388.654754766 secs.nsecs elapsed_time: 127.353734303 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068516.008550874 secs.nsecs start_time: 1786068388.654897378 secs.nsecs elapsed_time: 127.353653496 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=0 llite.lustre-ffff8963c8563800.statahead_max=2048 llite.lustre-ffff8963c8563800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.87 seconds: 53.35 ops/second llite.lustre-ffff8963c8563800.statahead_max=0 101 real 0m2.228s user 0m0.007s sys 0m0.353s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8963c8563800.statahead_max=2048 llite.lustre-ffff8963c8563800.statahead_max=2048 101 real 0m1.375s user 0m0.004s sys 0m0.212s '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: 10073 miss_total: 27 swrong=0 ewrong=0 - open/close 842 (time 1786068814.63 total 10.02 last 84.04) total: 900 open/close in 11.11 seconds: 80.99 ops/second llite.lustre-ffff8963c8563800.statahead_max=0 1001 real 0m21.312s user 0m0.026s sys 0m3.233s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8963c8563800.statahead_max=2048 llite.lustre-ffff8963c8563800.statahead_max=2048 1001 real 0m5.886s user 0m0.033s sys 0m1.609s '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: 11072 miss_total: 28 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8963c8563800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11072 miss_total: 28 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068872.859743029 secs.nsecs start_time: 1786068518.205693704 secs.nsecs elapsed_time: 354.654049325 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 0 0 14 4: 2 28 42 8: 1 14 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786068872.859811451 secs.nsecs start_time: 1786068518.205991402 secs.nsecs elapsed_time: 354.653820049 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: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 777 (time 1786068885.12 total 10.03 last 77.49) - open/close 1757 (time 1786068895.13 total 20.03 last 97.92) - open/close 2659 (time 1786068905.13 total 30.04 last 90.15) - open/close 3428 (time 1786068915.14 total 40.04 last 76.87) - open/close 4250 (time 1786068925.14 total 50.05 last 82.16) - open/close 5125 (time 1786068935.15 total 60.06 last 87.42) - open/close 6051 (time 1786068945.15 total 70.06 last 92.60) - open/close 6854 (time 1786068955.15 total 80.06 last 80.27) - open/close 7645 (time 1786068965.17 total 90.08 last 78.95) - open/close 8548 (time 1786068975.17 total 100.08 last 90.30) - open/close 9419 (time 1786068985.18 total 110.08 last 87.08) total: 10000 open/close in 117.04 seconds: 85.44 ops/second llite.lustre-ffff8963c8563800.statahead_batch_max=0 llite.lustre-ffff8963c8563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.593s user 0m0.318s sys 0m16.225s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8963c8563800.statahead_batch_max=256 llite.lustre-ffff8963c8563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8963c8563800.stats=clear mdc.lustre-MDT0001-mdc-ffff8963c8563800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.724s user 0m0.320s sys 0m16.217s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786069151.300631636 secs.nsecs start_time: 1786069068.484830781 secs.nsecs elapsed_time: 82.815800855 secs.nsecs subreqs per batch batches %% cum %% 1: 265 53 53 2: 88 17 70 4: 48 9 80 8: 24 4 85 16: 16 3 88 32: 22 4 92 64: 3 0 93 128: 0 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff8963c8563800.batch_stats= snapshot_time: 1786069151.300703389 secs.nsecs start_time: 1786069068.484922164 secs.nsecs elapsed_time: 82.815781225 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-ffff8963c8563800.statahead_batch_max=64 llite.lustre-ffff8963c8563800.statahead_max=128