== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:52:55 (1788918775) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=0 llite.lustre-ffff9a8b44817000.statahead_max=32 llite.lustre-ffff9a8b44817000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=0 total: 100 open/close in 3.50 seconds: 28.59 ops/second llite.lustre-ffff9a8b44817000.statahead_max=0 101 real 0m2.200s user 0m0.006s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a8b44817000.statahead_max=32 llite.lustre-ffff9a8b44817000.statahead_max=32 101 real 0m1.170s user 0m0.004s sys 0m0.164s 'ls -l' 100 files with statahead: 1 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 31 fname_total: 103 hit_total: 3562 miss_total: 1356 swrong=2 ewrong=2 - open/close 888 (time 1788918804.68 total 10.01 last 88.67) total: 900 open/close in 10.23 seconds: 87.99 ops/second llite.lustre-ffff9a8b44817000.statahead_max=0 1001 real 0m26.132s user 0m0.040s sys 0m2.885s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9a8b44817000.statahead_max=32 llite.lustre-ffff9a8b44817000.statahead_max=32 1001 real 0m10.847s user 0m0.029s sys 0m1.296s 'ls -l' 1000 files with statahead: 11 sec statahead total: 145 statahead wrong: 2 agl total: 139 list_total: 32 fname_total: 103 hit_total: 4561 miss_total: 1357 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff9a8b44817000.statahead_stats= statahead total: 145 statahead wrong: 2 agl total: 139 list_total: 32 fname_total: 103 hit_total: 4561 miss_total: 1357 mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats= snapshot_time: 1788918885.948783608 secs.nsecs start_time: 1788918780.821332670 secs.nsecs elapsed_time: 105.127450938 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 677 (time 1788918898.80 total 10.00 last 67.67) - open/close 1325 (time 1788918908.82 total 20.03 last 64.66) - open/close 2004 (time 1788918918.83 total 30.04 last 67.84) - open/close 2602 (time 1788918928.85 total 40.06 last 59.67) - open/close 3203 (time 1788918938.86 total 50.06 last 60.06) - open/close 3900 (time 1788918948.88 total 60.09 last 69.55) - open/close 4677 (time 1788918958.89 total 70.09 last 77.65) - open/close 5510 (time 1788918968.90 total 80.10 last 83.25) - open/close 6263 (time 1788918978.90 total 90.11 last 75.24) - open/close 7046 (time 1788918988.92 total 100.12 last 78.20) - open/close 7769 (time 1788918998.92 total 110.12 last 72.28) - open/close 8412 (time 1788919008.94 total 120.14 last 64.20) - open/close 9079 (time 1788919018.94 total 130.14 last 66.70) - open/close 9553 (time 1788919028.96 total 140.16 last 47.29) total: 10000 open/close in 147.52 seconds: 67.79 ops/second llite.lustre-ffff9a8b44817000.statahead_batch_max=0 llite.lustre-ffff9a8b44817000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.528s user 0m0.296s sys 0m13.699s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a8b44817000.statahead_batch_max=32 llite.lustre-ffff9a8b44817000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.880s user 0m0.282s sys 0m12.847s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats= snapshot_time: 1788919211.386767270 secs.nsecs start_time: 1788919103.795031540 secs.nsecs elapsed_time: 107.591735730 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=0 llite.lustre-ffff9a8b44817000.statahead_max=2048 llite.lustre-ffff9a8b44817000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=0 total: 100 open/close in 1.71 seconds: 58.35 ops/second llite.lustre-ffff9a8b44817000.statahead_max=0 101 real 0m1.619s user 0m0.006s sys 0m0.274s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a8b44817000.statahead_max=2048 llite.lustre-ffff9a8b44817000.statahead_max=2048 101 real 0m0.535s user 0m0.004s sys 0m0.172s '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: 10075 miss_total: 25 swrong=0 ewrong=0 total: 900 open/close in 9.41 seconds: 95.60 ops/second llite.lustre-ffff9a8b44817000.statahead_max=0 1001 real 0m15.488s user 0m0.027s sys 0m2.684s 'ls -l' 1000 files without statahead: 16 sec llite.lustre-ffff9a8b44817000.statahead_max=2048 llite.lustre-ffff9a8b44817000.statahead_max=2048 1001 real 0m4.299s user 0m0.018s sys 0m1.346s 'ls -l' 1000 files with statahead: 5 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: 14 seconds llite.lustre-ffff9a8b44817000.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-ffff9a8b44817000.batch_stats= snapshot_time: 1788919484.563805253 secs.nsecs start_time: 1788919213.940933105 secs.nsecs elapsed_time: 270.622872148 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 3 25 58 64: 1 8 66 128: 0 0 66 256: 4 33 100 - open/close 1116 (time 1788919496.45 total 10.01 last 111.52) - open/close 2205 (time 1788919506.46 total 20.01 last 108.83) - open/close 3357 (time 1788919516.46 total 30.01 last 115.19) - open/close 4517 (time 1788919526.46 total 40.02 last 115.98) - open/close 5491 (time 1788919536.46 total 50.02 last 97.38) - open/close 6364 (time 1788919546.47 total 60.02 last 87.26) - open/close 7400 (time 1788919556.47 total 70.03 last 103.57) - open/close 8494 (time 1788919566.47 total 80.03 last 109.37) - open/close 9652 (time 1788919576.48 total 90.04 last 115.71) total: 10000 open/close in 93.12 seconds: 107.39 ops/second llite.lustre-ffff9a8b44817000.statahead_batch_max=0 llite.lustre-ffff9a8b44817000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.881s user 0m0.281s sys 0m17.179s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a8b44817000.statahead_batch_max=256 llite.lustre-ffff9a8b44817000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8b44817000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.815s user 0m0.245s sys 0m14.998s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a8b44817000.batch_stats= snapshot_time: 1788919651.569553325 secs.nsecs start_time: 1788919617.695838327 secs.nsecs elapsed_time: 33.873714998 secs.nsecs subreqs per batch batches %% cum %% 1: 94 46 46 2: 13 6 52 4: 17 8 61 8: 11 5 66 16: 11 5 71 32: 14 6 78 64: 8 3 82 128: 0 0 82 256: 35 17 100 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-ffff9a8b44817000.statahead_batch_max=64 llite.lustre-ffff9a8b44817000.statahead_max=128