== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:48:06 (1788468486) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=0 llite.lustre-ffff8ad318ab8000.statahead_max=32 llite.lustre-ffff8ad318ab8000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.57 seconds: 38.88 ops/second llite.lustre-ffff8ad318ab8000.statahead_max=0 101 real 0m1.923s user 0m0.004s sys 0m0.291s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ad318ab8000.statahead_max=32 llite.lustre-ffff8ad318ab8000.statahead_max=32 101 real 0m1.050s user 0m0.006s sys 0m0.173s 'ls -l' 100 files with statahead: 1 sec statahead total: 134 statahead wrong: 2 agl total: 129 list_total: 31 fname_total: 103 hit_total: 4445 miss_total: 1280 swrong=2 ewrong=2 - open/close 635 (time 1788468512.41 total 10.00 last 63.48) total: 900 open/close in 14.48 seconds: 62.17 ops/second llite.lustre-ffff8ad318ab8000.statahead_max=0 1001 real 0m21.491s user 0m0.033s sys 0m2.875s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8ad318ab8000.statahead_max=32 llite.lustre-ffff8ad318ab8000.statahead_max=32 1001 real 0m8.867s user 0m0.026s sys 0m1.336s 'ls -l' 1000 files with statahead: 9 sec statahead total: 135 statahead wrong: 2 agl total: 130 list_total: 32 fname_total: 103 hit_total: 5443 miss_total: 1282 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8ad318ab8000.statahead_stats= statahead total: 135 statahead wrong: 2 agl total: 130 list_total: 32 fname_total: 103 hit_total: 5443 miss_total: 1282 mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788468577.289215660 secs.nsecs start_time: 1788468491.335760861 secs.nsecs elapsed_time: 85.953454799 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 2 5 18 8: 1 2 21 16: 27 71 92 32: 3 7 100 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788468577.292602741 secs.nsecs start_time: 1788468491.335854430 secs.nsecs elapsed_time: 85.956748311 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 0 0 2 8: 4 10 12 16: 9 23 35 32: 25 64 100 - open/close 789 (time 1788468591.15 total 10.01 last 78.83) - open/close 1582 (time 1788468601.17 total 20.02 last 79.17) - open/close 2450 (time 1788468611.17 total 30.02 last 86.80) - open/close 3332 (time 1788468621.17 total 40.03 last 88.17) - open/close 4176 (time 1788468631.18 total 50.03 last 84.37) - open/close 4967 (time 1788468641.19 total 60.04 last 79.04) - open/close 5701 (time 1788468651.19 total 70.04 last 73.38) - open/close 6620 (time 1788468661.19 total 80.04 last 91.88) - open/close 7424 (time 1788468671.20 total 90.05 last 80.35) - open/close 8209 (time 1788468681.21 total 100.06 last 78.40) - open/close 8948 (time 1788468691.23 total 110.08 last 73.75) - open/close 9548 (time 1788468701.23 total 120.09 last 59.98) total: 10000 open/close in 126.67 seconds: 78.94 ops/second llite.lustre-ffff8ad318ab8000.statahead_batch_max=0 llite.lustre-ffff8ad318ab8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.951s user 0m0.298s sys 0m15.640s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ad318ab8000.statahead_batch_max=32 llite.lustre-ffff8ad318ab8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m29.825s user 0m0.293s sys 0m13.937s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788468875.142966520 secs.nsecs start_time: 1788468775.861637478 secs.nsecs elapsed_time: 99.281329042 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-ffff8ad318ab8000.batch_stats= snapshot_time: 1788468875.143034738 secs.nsecs start_time: 1788468775.862063873 secs.nsecs elapsed_time: 99.280970865 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=0 llite.lustre-ffff8ad318ab8000.statahead_max=2048 llite.lustre-ffff8ad318ab8000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.24 seconds: 44.62 ops/second llite.lustre-ffff8ad318ab8000.statahead_max=0 101 real 0m2.297s user 0m0.005s sys 0m0.299s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ad318ab8000.statahead_max=2048 llite.lustre-ffff8ad318ab8000.statahead_max=2048 101 real 0m1.306s user 0m0.006s sys 0m0.164s '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 793 (time 1788469166.59 total 10.01 last 79.20) total: 900 open/close in 11.30 seconds: 79.67 ops/second llite.lustre-ffff8ad318ab8000.statahead_max=0 1001 real 0m25.774s user 0m0.025s sys 0m2.801s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff8ad318ab8000.statahead_max=2048 llite.lustre-ffff8ad318ab8000.statahead_max=2048 1001 real 0m6.511s user 0m0.038s sys 0m1.374s '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: 20 seconds llite.lustre-ffff8ad318ab8000.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-ffff8ad318ab8000.batch_stats= snapshot_time: 1788469231.159820432 secs.nsecs start_time: 1788468878.693946019 secs.nsecs elapsed_time: 352.465874413 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 2 22 33 4: 2 22 55 8: 1 11 66 16: 1 11 77 32: 0 0 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788469231.160022124 secs.nsecs start_time: 1788468878.694082297 secs.nsecs elapsed_time: 352.465939827 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 5 45 45 16: 1 9 54 32: 2 18 72 64: 1 9 81 128: 0 0 81 256: 2 18 100 - open/close 917 (time 1788469243.83 total 10.00 last 91.68) - open/close 1827 (time 1788469253.83 total 20.00 last 90.99) - open/close 2718 (time 1788469263.83 total 30.00 last 89.09) - open/close 3570 (time 1788469273.84 total 40.01 last 85.15) - open/close 4443 (time 1788469283.85 total 50.02 last 87.22) - open/close 5234 (time 1788469293.85 total 60.02 last 79.09) - open/close 6157 (time 1788469303.85 total 70.03 last 92.26) - open/close 6929 (time 1788469313.87 total 80.05 last 77.06) - open/close 7733 (time 1788469323.87 total 90.05 last 80.38) - open/close 8636 (time 1788469333.88 total 100.05 last 90.28) - open/close 9484 (time 1788469343.88 total 110.05 last 84.76) total: 10000 open/close in 116.43 seconds: 85.89 ops/second llite.lustre-ffff8ad318ab8000.statahead_batch_max=0 llite.lustre-ffff8ad318ab8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.220s user 0m0.317s sys 0m15.259s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ad318ab8000.statahead_batch_max=256 llite.lustre-ffff8ad318ab8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.826s user 0m0.244s sys 0m15.208s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788469485.712979184 secs.nsecs start_time: 1788469425.092321411 secs.nsecs elapsed_time: 60.620657773 secs.nsecs subreqs per batch batches %% cum %% 1: 61 34 34 2: 19 10 45 4: 16 9 54 8: 16 9 64 16: 6 3 67 32: 11 6 73 64: 9 5 78 128: 2 1 80 256: 35 20 100 mdc.lustre-MDT0001-mdc-ffff8ad318ab8000.batch_stats= snapshot_time: 1788469485.713130964 secs.nsecs start_time: 1788469425.092460485 secs.nsecs elapsed_time: 60.620670479 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-ffff8ad318ab8000.statahead_batch_max=64 llite.lustre-ffff8ad318ab8000.statahead_max=128