== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:23:05 (1788466985) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=0 llite.lustre-ffff998a9039b800.statahead_max=32 llite.lustre-ffff998a9039b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=0 total: 100 open/close in 2.63 seconds: 38.03 ops/second llite.lustre-ffff998a9039b800.statahead_max=0 101 real 0m2.133s user 0m0.007s sys 0m0.349s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff998a9039b800.statahead_max=32 llite.lustre-ffff998a9039b800.statahead_max=32 101 real 0m1.068s user 0m0.006s sys 0m0.161s 'ls -l' 100 files with statahead: 1 sec statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 30 fname_total: 76 hit_total: 4578 miss_total: 1280 swrong=2 ewrong=2 - open/close 624 (time 1788467013.21 total 10.01 last 62.34) total: 900 open/close in 14.30 seconds: 62.94 ops/second llite.lustre-ffff998a9039b800.statahead_max=0 1001 real 0m23.207s user 0m0.036s sys 0m3.154s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff998a9039b800.statahead_max=32 llite.lustre-ffff998a9039b800.statahead_max=32 1001 real 0m10.357s user 0m0.030s sys 0m1.538s 'ls -l' 1000 files with statahead: 11 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 31 fname_total: 76 hit_total: 5575 miss_total: 1283 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff998a9039b800.statahead_stats= statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 31 fname_total: 76 hit_total: 5575 miss_total: 1283 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats= snapshot_time: 1788467084.558085146 secs.nsecs start_time: 1788466990.443231473 secs.nsecs elapsed_time: 94.114853673 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 540 (time 1788467097.36 total 10.01 last 53.96) - open/close 1209 (time 1788467107.36 total 20.02 last 66.84) - open/close 1767 (time 1788467117.37 total 30.02 last 55.77) - open/close 2364 (time 1788467127.37 total 40.02 last 59.68) - open/close 2982 (time 1788467137.38 total 50.03 last 61.76) - open/close 3694 (time 1788467147.38 total 60.04 last 71.16) - open/close 4346 (time 1788467157.39 total 70.04 last 65.17) - open/close 4979 (time 1788467167.40 total 80.05 last 63.24) - open/close 5581 (time 1788467177.41 total 90.07 last 60.11) - open/close 6210 (time 1788467187.42 total 100.07 last 62.88) - open/close 6826 (time 1788467197.43 total 110.08 last 61.55) - open/close 7517 (time 1788467207.45 total 120.10 last 68.95) - open/close 8132 (time 1788467217.46 total 130.11 last 61.45) - open/close 8775 (time 1788467227.47 total 140.12 last 64.23) - open/close 9359 (time 1788467237.48 total 150.13 last 58.33) - open/close 9993 (time 1788467247.49 total 160.14 last 63.36) total: 10000 open/close in 160.22 seconds: 62.42 ops/second llite.lustre-ffff998a9039b800.statahead_batch_max=0 llite.lustre-ffff998a9039b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.020s user 0m0.364s sys 0m17.624s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff998a9039b800.statahead_batch_max=32 llite.lustre-ffff998a9039b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.711s user 0m0.338s sys 0m14.923s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats= snapshot_time: 1788467400.603146102 secs.nsecs start_time: 1788467315.238289191 secs.nsecs elapsed_time: 85.364856911 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=0 llite.lustre-ffff998a9039b800.statahead_max=2048 llite.lustre-ffff998a9039b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=0 total: 100 open/close in 2.16 seconds: 46.33 ops/second llite.lustre-ffff998a9039b800.statahead_max=0 101 real 0m1.896s user 0m0.004s sys 0m0.315s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff998a9039b800.statahead_max=2048 llite.lustre-ffff998a9039b800.statahead_max=2048 101 real 0m0.825s user 0m0.003s sys 0m0.195s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 719 (time 1788467690.19 total 10.02 last 71.76) total: 900 open/close in 13.12 seconds: 68.59 ops/second llite.lustre-ffff998a9039b800.statahead_max=0 1001 real 0m20.309s user 0m0.035s sys 0m3.141s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff998a9039b800.statahead_max=2048 llite.lustre-ffff998a9039b800.statahead_max=2048 1001 real 0m5.008s user 0m0.032s sys 0m1.755s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff998a9039b800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats= snapshot_time: 1788467746.155907428 secs.nsecs start_time: 1788467402.430661811 secs.nsecs elapsed_time: 343.725245617 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 1 10 30 32: 1 10 40 64: 1 10 50 128: 1 10 60 256: 4 40 100 - open/close 722 (time 1788467758.22 total 10.01 last 72.15) - open/close 1440 (time 1788467768.22 total 20.01 last 71.75) - open/close 2183 (time 1788467778.23 total 30.02 last 74.26) - open/close 2864 (time 1788467788.25 total 40.04 last 67.96) - open/close 3497 (time 1788467798.25 total 50.04 last 63.28) - open/close 4157 (time 1788467808.27 total 60.06 last 65.87) - open/close 4862 (time 1788467818.27 total 70.07 last 70.49) - open/close 5448 (time 1788467828.29 total 80.08 last 58.51) - open/close 6067 (time 1788467838.30 total 90.09 last 61.84) - open/close 6771 (time 1788467848.31 total 100.10 last 70.37) - open/close 7409 (time 1788467858.32 total 110.11 last 63.71) - open/close 8077 (time 1788467868.33 total 120.12 last 66.75) - open/close 8714 (time 1788467878.34 total 130.13 last 63.61) - open/close 9374 (time 1788467888.36 total 140.15 last 65.89) total: 10000 open/close in 149.49 seconds: 66.89 ops/second llite.lustre-ffff998a9039b800.statahead_batch_max=0 llite.lustre-ffff998a9039b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.462s user 0m0.393s sys 0m16.642s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff998a9039b800.statahead_batch_max=256 llite.lustre-ffff998a9039b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff998a9039b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.092s user 0m0.328s sys 0m15.460s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff998a9039b800.batch_stats= snapshot_time: 1788468024.115913082 secs.nsecs start_time: 1788467960.924854099 secs.nsecs elapsed_time: 63.191058983 secs.nsecs subreqs per batch batches %% cum %% 1: 106 43 43 2: 33 13 56 4: 19 7 64 8: 18 7 71 16: 14 5 77 32: 15 6 83 64: 5 2 85 128: 0 0 85 256: 35 14 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-ffff998a9039b800.statahead_batch_max=64 llite.lustre-ffff998a9039b800.statahead_max=128