== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:33:57 (1788518037) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats=0 llite.lustre-ffff942c02b9f000.statahead_max=32 llite.lustre-ffff942c02b9f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats=0 total: 100 open/close in 2.84 seconds: 35.16 ops/second llite.lustre-ffff942c02b9f000.statahead_max=0 101 real 0m2.153s user 0m0.005s sys 0m0.308s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff942c02b9f000.statahead_max=32 llite.lustre-ffff942c02b9f000.statahead_max=32 101 real 0m1.217s user 0m0.005s sys 0m0.151s 'ls -l' 100 files with statahead: 1 sec statahead total: 127 statahead wrong: 2 agl total: 120 list_total: 30 fname_total: 87 hit_total: 3920 miss_total: 1523 swrong=2 ewrong=2 - open/close 704 (time 1788518066.19 total 10.01 last 70.33) total: 900 open/close in 12.74 seconds: 70.65 ops/second llite.lustre-ffff942c02b9f000.statahead_max=0 1001 real 0m21.374s user 0m0.037s sys 0m2.849s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff942c02b9f000.statahead_max=32 llite.lustre-ffff942c02b9f000.statahead_max=32 1001 real 0m10.349s user 0m0.025s sys 0m1.307s 'ls -l' 1000 files with statahead: 11 sec statahead total: 128 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 87 hit_total: 4918 miss_total: 1525 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff942c02b9f000.statahead_stats= statahead total: 128 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 87 hit_total: 4918 miss_total: 1525 mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats= snapshot_time: 1788518139.578642356 secs.nsecs start_time: 1788518042.791443665 secs.nsecs elapsed_time: 96.787198691 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 685 (time 1788518152.70 total 10.01 last 68.46) - open/close 1373 (time 1788518162.71 total 20.01 last 68.77) - open/close 2109 (time 1788518172.71 total 30.02 last 73.56) - open/close 2798 (time 1788518182.72 total 40.02 last 68.87) - open/close 3480 (time 1788518192.73 total 50.03 last 68.13) - open/close 4234 (time 1788518202.74 total 60.05 last 75.28) - open/close 4928 (time 1788518212.76 total 70.07 last 69.26) - open/close 5575 (time 1788518222.78 total 80.08 last 64.59) - open/close 6225 (time 1788518232.79 total 90.09 last 64.97) - open/close 6945 (time 1788518242.80 total 100.10 last 71.93) - open/close 7629 (time 1788518252.81 total 110.11 last 68.29) - open/close 8362 (time 1788518262.81 total 120.12 last 73.29) - open/close 9165 (time 1788518272.81 total 130.12 last 80.29) - open/close 9924 (time 1788518282.83 total 140.13 last 75.80) total: 10000 open/close in 141.17 seconds: 70.84 ops/second llite.lustre-ffff942c02b9f000.statahead_batch_max=0 llite.lustre-ffff942c02b9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.493s user 0m0.302s sys 0m14.161s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff942c02b9f000.statahead_batch_max=32 llite.lustre-ffff942c02b9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.940s user 0m0.287s sys 0m13.573s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats= snapshot_time: 1788518471.223845324 secs.nsecs start_time: 1788518352.813671870 secs.nsecs elapsed_time: 118.410173454 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-ffff942c02b9f000.batch_stats=0 llite.lustre-ffff942c02b9f000.statahead_max=2048 llite.lustre-ffff942c02b9f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats=0 total: 100 open/close in 3.71 seconds: 26.96 ops/second llite.lustre-ffff942c02b9f000.statahead_max=0 101 real 0m3.299s user 0m0.009s sys 0m0.318s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff942c02b9f000.statahead_max=2048 llite.lustre-ffff942c02b9f000.statahead_max=2048 101 real 0m1.057s user 0m0.005s sys 0m0.155s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 682 (time 1788518795.74 total 10.00 last 68.18) total: 900 open/close in 12.93 seconds: 69.62 ops/second llite.lustre-ffff942c02b9f000.statahead_max=0 1001 real 0m22.447s user 0m0.034s sys 0m2.878s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff942c02b9f000.statahead_max=2048 llite.lustre-ffff942c02b9f000.statahead_max=2048 1001 real 0m7.608s user 0m0.027s sys 0m1.326s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff942c02b9f000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats= snapshot_time: 1788518864.967943298 secs.nsecs start_time: 1788518474.563498685 secs.nsecs elapsed_time: 390.404444613 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 1 9 45 64: 1 9 54 128: 1 9 63 256: 4 36 100 - open/close 770 (time 1788518877.66 total 10.01 last 76.89) - open/close 1413 (time 1788518887.67 total 20.02 last 64.28) - open/close 2158 (time 1788518897.69 total 30.04 last 74.32) - open/close 2828 (time 1788518907.72 total 40.08 last 66.77) - open/close 3515 (time 1788518917.73 total 50.08 last 68.67) - open/close 4134 (time 1788518927.73 total 60.08 last 61.89) - open/close 4866 (time 1788518937.76 total 70.11 last 73.00) - open/close 5637 (time 1788518947.76 total 80.11 last 77.06) - open/close 6311 (time 1788518957.76 total 90.11 last 67.40) - open/close 7057 (time 1788518967.78 total 100.13 last 74.47) - open/close 7780 (time 1788518977.80 total 110.15 last 72.18) - open/close 8439 (time 1788518987.81 total 120.16 last 65.84) - open/close 9142 (time 1788518997.82 total 130.17 last 70.23) - open/close 9817 (time 1788519007.84 total 140.19 last 67.31) total: 10000 open/close in 142.61 seconds: 70.12 ops/second llite.lustre-ffff942c02b9f000.statahead_batch_max=0 llite.lustre-ffff942c02b9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.959s user 0m0.324s sys 0m14.076s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff942c02b9f000.statahead_batch_max=256 llite.lustre-ffff942c02b9f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff942c02b9f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.051s user 0m0.326s sys 0m14.038s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff942c02b9f000.batch_stats= snapshot_time: 1788519151.483796399 secs.nsecs start_time: 1788519086.617786990 secs.nsecs elapsed_time: 64.866009409 secs.nsecs subreqs per batch batches %% cum %% 1: 111 40 40 2: 44 16 56 4: 35 12 69 8: 18 6 76 16: 15 5 81 32: 9 3 84 64: 6 2 87 128: 0 0 87 256: 35 12 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-ffff942c02b9f000.statahead_batch_max=64 llite.lustre-ffff942c02b9f000.statahead_max=128