== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:43:28 (1788803008) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=0 llite.lustre-ffff943704f7e800.statahead_max=32 llite.lustre-ffff943704f7e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.20 seconds: 45.51 ops/second llite.lustre-ffff943704f7e800.statahead_max=0 101 real 0m2.607s user 0m0.005s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff943704f7e800.statahead_max=32 llite.lustre-ffff943704f7e800.statahead_max=32 101 real 0m1.146s user 0m0.005s sys 0m0.186s 'ls -l' 100 files with statahead: 1 sec statahead total: 113 statahead wrong: 2 agl total: 107 list_total: 31 fname_total: 65 hit_total: 4113 miss_total: 1420 swrong=2 ewrong=2 - open/close 611 (time 1788803037.93 total 10.01 last 61.02) total: 900 open/close in 13.42 seconds: 67.06 ops/second llite.lustre-ffff943704f7e800.statahead_max=0 1001 real 0m26.403s user 0m0.032s sys 0m3.003s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff943704f7e800.statahead_max=32 llite.lustre-ffff943704f7e800.statahead_max=32 1001 real 0m9.545s user 0m0.028s sys 0m1.301s 'ls -l' 1000 files with statahead: 10 sec statahead total: 114 statahead wrong: 2 agl total: 108 list_total: 32 fname_total: 65 hit_total: 5104 miss_total: 1429 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff943704f7e800.statahead_stats= statahead total: 114 statahead wrong: 2 agl total: 108 list_total: 32 fname_total: 65 hit_total: 5104 miss_total: 1429 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803116.154322333 secs.nsecs start_time: 1788803013.153705618 secs.nsecs elapsed_time: 103.000616715 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 4 10 13 4: 0 0 13 8: 2 5 18 16: 23 62 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803116.154406114 secs.nsecs start_time: 1788803013.153819602 secs.nsecs elapsed_time: 103.000586512 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 0 0 2 8: 4 10 12 16: 14 35 47 32: 21 52 100 - open/close 775 (time 1788803129.49 total 10.00 last 77.48) - open/close 1725 (time 1788803139.51 total 20.02 last 94.85) - open/close 2535 (time 1788803149.51 total 30.02 last 80.96) - open/close 3479 (time 1788803159.53 total 40.04 last 94.27) - open/close 4383 (time 1788803169.55 total 50.06 last 90.21) - open/close 5041 (time 1788803179.55 total 60.06 last 65.80) - open/close 5746 (time 1788803189.55 total 70.06 last 70.48) - open/close 6549 (time 1788803199.56 total 80.07 last 80.21) - open/close 7498 (time 1788803209.57 total 90.08 last 94.86) - open/close 8308 (time 1788803219.57 total 100.08 last 80.96) - open/close 9141 (time 1788803229.57 total 110.08 last 83.28) total: 10000 open/close in 119.18 seconds: 83.90 ops/second llite.lustre-ffff943704f7e800.statahead_batch_max=0 llite.lustre-ffff943704f7e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.705s user 0m0.309s sys 0m14.514s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff943704f7e800.statahead_batch_max=32 llite.lustre-ffff943704f7e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.989s user 0m0.322s sys 0m13.026s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803414.289042208 secs.nsecs start_time: 1788803309.313492432 secs.nsecs elapsed_time: 104.975549776 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 0 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803414.289104535 secs.nsecs start_time: 1788803309.313585919 secs.nsecs elapsed_time: 104.975518616 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=0 llite.lustre-ffff943704f7e800.statahead_max=2048 llite.lustre-ffff943704f7e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.97 seconds: 50.73 ops/second llite.lustre-ffff943704f7e800.statahead_max=0 101 real 0m1.810s user 0m0.004s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff943704f7e800.statahead_max=2048 llite.lustre-ffff943704f7e800.statahead_max=2048 101 real 0m0.966s user 0m0.005s sys 0m0.176s '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: 10083 miss_total: 17 swrong=0 ewrong=0 total: 900 open/close in 9.54 seconds: 94.33 ops/second llite.lustre-ffff943704f7e800.statahead_max=0 1001 real 0m18.030s user 0m0.034s sys 0m2.830s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff943704f7e800.statahead_max=2048 llite.lustre-ffff943704f7e800.statahead_max=2048 1001 real 0m6.373s user 0m0.028s sys 0m1.298s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff943704f7e800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803719.956683192 secs.nsecs start_time: 1788803416.915279736 secs.nsecs elapsed_time: 303.041403456 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 1 12 25 4: 1 12 37 8: 2 25 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803719.956756452 secs.nsecs start_time: 1788803416.915434361 secs.nsecs elapsed_time: 303.041322091 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 876 (time 1788803732.65 total 10.01 last 87.48) - open/close 1568 (time 1788803742.67 total 20.03 last 69.06) - open/close 2243 (time 1788803752.68 total 30.04 last 67.45) - open/close 2999 (time 1788803762.68 total 40.04 last 75.57) - open/close 3816 (time 1788803772.69 total 50.05 last 81.66) - open/close 4564 (time 1788803782.71 total 60.07 last 74.67) - open/close 5515 (time 1788803792.71 total 70.07 last 95.08) - open/close 6413 (time 1788803802.71 total 80.07 last 89.80) - open/close 7463 (time 1788803812.71 total 90.07 last 104.96) - open/close 8471 (time 1788803822.71 total 100.08 last 100.78) - open/close 9521 (time 1788803832.72 total 110.08 last 104.98) total: 10000 open/close in 115.53 seconds: 86.55 ops/second llite.lustre-ffff943704f7e800.statahead_batch_max=0 llite.lustre-ffff943704f7e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.988s user 0m0.298s sys 0m13.509s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff943704f7e800.statahead_batch_max=256 llite.lustre-ffff943704f7e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff943704f7e800.stats=clear mdc.lustre-MDT0001-mdc-ffff943704f7e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.552s user 0m0.283s sys 0m13.847s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803965.576862438 secs.nsecs start_time: 1788803904.287354141 secs.nsecs elapsed_time: 61.289508297 secs.nsecs subreqs per batch batches %% cum %% 1: 136 46 46 2: 45 15 61 4: 30 10 72 8: 15 5 77 16: 11 3 81 32: 16 5 86 64: 4 1 88 128: 0 0 88 256: 35 11 100 mdc.lustre-MDT0001-mdc-ffff943704f7e800.batch_stats= snapshot_time: 1788803965.577077669 secs.nsecs start_time: 1788803904.287470681 secs.nsecs elapsed_time: 61.289606988 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-ffff943704f7e800.statahead_batch_max=64 llite.lustre-ffff943704f7e800.statahead_max=128