== sanity test 123ad: Verify batching statahead works correctly ========================================================== 08:16:09 (1787141769) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=0 llite.lustre-ffff8ebe37860800.statahead_max=32 llite.lustre-ffff8ebe37860800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.24 seconds: 44.65 ops/second llite.lustre-ffff8ebe37860800.statahead_max=0 101 real 0m2.325s user 0m0.002s sys 0m0.332s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ebe37860800.statahead_max=32 llite.lustre-ffff8ebe37860800.statahead_max=32 101 real 0m1.056s user 0m0.003s sys 0m0.183s 'ls -l' 100 files with statahead: 1 sec statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 60 hit_total: 4067 miss_total: 1625 swrong=2 ewrong=2 - open/close 850 (time 1787141795.71 total 10.01 last 84.94) total: 900 open/close in 10.61 seconds: 84.86 ops/second llite.lustre-ffff8ebe37860800.statahead_max=0 1001 real 0m23.667s user 0m0.032s sys 0m3.131s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8ebe37860800.statahead_max=32 llite.lustre-ffff8ebe37860800.statahead_max=32 1001 real 0m9.730s user 0m0.033s sys 0m1.591s 'ls -l' 1000 files with statahead: 10 sec statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 60 hit_total: 5065 miss_total: 1627 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8ebe37860800.statahead_stats= statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 60 hit_total: 5065 miss_total: 1627 mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787141863.050819827 secs.nsecs start_time: 1787141773.912854635 secs.nsecs elapsed_time: 89.137965192 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 2 5 12 8: 2 5 17 16: 18 45 62 32: 15 37 100 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787141863.050877490 secs.nsecs start_time: 1787141773.912971120 secs.nsecs elapsed_time: 89.137906370 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 4 10 15 16: 19 48 64 32: 14 35 100 - open/close 878 (time 1787141875.27 total 10.00 last 87.80) - open/close 1686 (time 1787141885.27 total 20.00 last 80.77) - open/close 2428 (time 1787141895.28 total 30.02 last 74.12) - open/close 3221 (time 1787141905.29 total 40.02 last 79.28) - open/close 3964 (time 1787141915.29 total 50.02 last 74.27) - open/close 4667 (time 1787141925.29 total 60.03 last 70.27) - open/close 5455 (time 1787141935.31 total 70.04 last 78.67) - open/close 6243 (time 1787141945.32 total 80.05 last 78.73) - open/close 6981 (time 1787141955.33 total 90.06 last 73.73) - open/close 7775 (time 1787141965.34 total 100.07 last 79.31) - open/close 8617 (time 1787141975.34 total 110.08 last 84.17) - open/close 9457 (time 1787141985.35 total 120.08 last 83.93) total: 10000 open/close in 126.69 seconds: 78.93 ops/second llite.lustre-ffff8ebe37860800.statahead_batch_max=0 llite.lustre-ffff8ebe37860800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.897s user 0m0.291s sys 0m17.566s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ebe37860800.statahead_batch_max=32 llite.lustre-ffff8ebe37860800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m44.663s user 0m0.289s sys 0m15.916s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787142186.122281989 secs.nsecs start_time: 1787142066.354268950 secs.nsecs elapsed_time: 119.768013039 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-ffff8ebe37860800.batch_stats= snapshot_time: 1787142186.122346429 secs.nsecs start_time: 1787142066.354584842 secs.nsecs elapsed_time: 119.767761587 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=0 llite.lustre-ffff8ebe37860800.statahead_max=2048 llite.lustre-ffff8ebe37860800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.49 seconds: 40.10 ops/second llite.lustre-ffff8ebe37860800.statahead_max=0 101 real 0m2.525s user 0m0.004s sys 0m0.319s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ebe37860800.statahead_max=2048 llite.lustre-ffff8ebe37860800.statahead_max=2048 101 real 0m0.747s user 0m0.004s sys 0m0.199s '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 - open/close 790 (time 1787142487.32 total 10.00 last 78.99) total: 900 open/close in 11.32 seconds: 79.52 ops/second llite.lustre-ffff8ebe37860800.statahead_max=0 1001 real 0m22.002s user 0m0.032s sys 0m3.151s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8ebe37860800.statahead_max=2048 llite.lustre-ffff8ebe37860800.statahead_max=2048 1001 real 0m7.138s user 0m0.030s sys 0m1.670s 'ls -l' 1000 files with statahead: 7 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: 19 seconds llite.lustre-ffff8ebe37860800.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-ffff8ebe37860800.batch_stats= snapshot_time: 1787142548.520048331 secs.nsecs start_time: 1787142188.721799432 secs.nsecs elapsed_time: 359.798248899 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 37 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 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787142548.520102222 secs.nsecs start_time: 1787142188.722138212 secs.nsecs elapsed_time: 359.797964010 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 - open/close 888 (time 1787142560.90 total 10.01 last 88.75) - open/close 1711 (time 1787142570.91 total 20.02 last 82.21) - open/close 2565 (time 1787142580.92 total 30.03 last 85.32) - open/close 3462 (time 1787142590.92 total 40.03 last 89.65) - open/close 4358 (time 1787142600.92 total 50.03 last 89.58) - open/close 5206 (time 1787142610.93 total 60.04 last 84.76) - open/close 6023 (time 1787142620.93 total 70.04 last 81.66) - open/close 6787 (time 1787142630.94 total 80.05 last 76.36) - open/close 7635 (time 1787142640.96 total 90.07 last 84.60) - open/close 8395 (time 1787142650.97 total 100.07 last 75.98) - open/close 9256 (time 1787142660.97 total 110.08 last 86.07) total: 10000 open/close in 119.44 seconds: 83.73 ops/second llite.lustre-ffff8ebe37860800.statahead_batch_max=0 llite.lustre-ffff8ebe37860800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.101s user 0m0.280s sys 0m17.965s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ebe37860800.statahead_batch_max=256 llite.lustre-ffff8ebe37860800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ebe37860800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ebe37860800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.819s user 0m0.286s sys 0m17.332s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787142810.336444446 secs.nsecs start_time: 1787142737.193484956 secs.nsecs elapsed_time: 73.142959490 secs.nsecs subreqs per batch batches %% cum %% 1: 183 53 53 2: 40 11 64 4: 28 8 72 8: 20 5 78 16: 16 4 83 32: 15 4 87 64: 8 2 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff8ebe37860800.batch_stats= snapshot_time: 1787142810.336524007 secs.nsecs start_time: 1787142737.193610909 secs.nsecs elapsed_time: 73.142913098 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-ffff8ebe37860800.statahead_batch_max=64 llite.lustre-ffff8ebe37860800.statahead_max=128