== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:42:23 (1788655343) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=0 llite.lustre-ffff950004945800.statahead_max=32 llite.lustre-ffff950004945800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.48 seconds: 40.29 ops/second llite.lustre-ffff950004945800.statahead_max=0 101 real 0m2.062s user 0m0.003s sys 0m0.305s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff950004945800.statahead_max=32 llite.lustre-ffff950004945800.statahead_max=32 101 real 0m1.119s user 0m0.004s sys 0m0.172s 'ls -l' 100 files with statahead: 1 sec statahead total: 137 statahead wrong: 1 agl total: 131 list_total: 30 fname_total: 103 hit_total: 3793 miss_total: 254 swrong=1 ewrong=1 - open/close 879 (time 1788655370.20 total 10.00 last 87.89) total: 900 open/close in 10.26 seconds: 87.74 ops/second llite.lustre-ffff950004945800.statahead_max=0 1001 real 0m20.111s user 0m0.037s sys 0m2.793s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff950004945800.statahead_max=32 llite.lustre-ffff950004945800.statahead_max=32 1001 real 0m8.124s user 0m0.029s sys 0m1.409s 'ls -l' 1000 files with statahead: 8 sec statahead total: 138 statahead wrong: 1 agl total: 132 list_total: 31 fname_total: 103 hit_total: 4790 miss_total: 257 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff950004945800.statahead_stats= statahead total: 138 statahead wrong: 1 agl total: 132 list_total: 31 fname_total: 103 hit_total: 4790 miss_total: 257 mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats= snapshot_time: 1788655425.272912834 secs.nsecs start_time: 1788655347.954837057 secs.nsecs elapsed_time: 77.318075777 secs.nsecs subreqs per batch batches %% cum %% 1: 3 8 8 2: 2 5 13 4: 0 0 13 8: 2 5 18 16: 23 62 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats= snapshot_time: 1788655425.272992688 secs.nsecs start_time: 1788655347.954930017 secs.nsecs elapsed_time: 77.318062671 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 12 30 45 32: 22 55 100 - open/close 934 (time 1788655437.48 total 10.01 last 93.35) - open/close 1779 (time 1788655447.49 total 20.01 last 84.45) - open/close 2570 (time 1788655457.49 total 30.02 last 79.06) - open/close 3400 (time 1788655467.50 total 40.02 last 82.94) - open/close 4241 (time 1788655477.50 total 50.02 last 84.09) - open/close 5156 (time 1788655487.50 total 60.03 last 91.48) - open/close 6062 (time 1788655497.50 total 70.03 last 90.57) - open/close 6924 (time 1788655507.51 total 80.03 last 86.16) - open/close 7796 (time 1788655517.51 total 90.03 last 87.20) - open/close 8574 (time 1788655527.51 total 100.04 last 77.77) - open/close 9514 (time 1788655537.52 total 110.04 last 93.95) total: 10000 open/close in 115.86 seconds: 86.31 ops/second llite.lustre-ffff950004945800.statahead_batch_max=0 llite.lustre-ffff950004945800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.210s user 0m0.291s sys 0m15.994s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff950004945800.statahead_batch_max=32 llite.lustre-ffff950004945800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.132s user 0m0.297s sys 0m13.505s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats= snapshot_time: 1788655707.748718246 secs.nsecs start_time: 1788655602.725453702 secs.nsecs elapsed_time: 105.023264544 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-ffff950004945800.batch_stats= snapshot_time: 1788655707.748802227 secs.nsecs start_time: 1788655602.725547167 secs.nsecs elapsed_time: 105.023255060 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=0 llite.lustre-ffff950004945800.statahead_max=2048 llite.lustre-ffff950004945800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.57 seconds: 38.84 ops/second llite.lustre-ffff950004945800.statahead_max=0 101 real 0m2.055s user 0m0.008s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff950004945800.statahead_max=2048 llite.lustre-ffff950004945800.statahead_max=2048 101 real 0m0.855s user 0m0.004s sys 0m0.167s '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 802 (time 1788655995.30 total 10.01 last 80.10) total: 900 open/close in 11.28 seconds: 79.77 ops/second llite.lustre-ffff950004945800.statahead_max=0 1001 real 0m21.675s user 0m0.026s sys 0m2.859s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff950004945800.statahead_max=2048 llite.lustre-ffff950004945800.statahead_max=2048 1001 real 0m6.656s user 0m0.025s sys 0m1.433s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff950004945800.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-ffff950004945800.batch_stats= snapshot_time: 1788656055.388515973 secs.nsecs start_time: 1788655710.357096073 secs.nsecs elapsed_time: 345.031419900 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 37 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-ffff950004945800.batch_stats= snapshot_time: 1788656055.388602807 secs.nsecs start_time: 1788655710.357244002 secs.nsecs elapsed_time: 345.031358805 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 857 (time 1788656067.85 total 10.01 last 85.58) - open/close 1712 (time 1788656077.86 total 20.03 last 85.38) - open/close 2573 (time 1788656087.87 total 30.04 last 86.00) - open/close 3357 (time 1788656097.88 total 40.05 last 78.35) - open/close 4202 (time 1788656107.89 total 50.05 last 84.43) - open/close 5009 (time 1788656117.90 total 60.07 last 80.60) - open/close 5849 (time 1788656127.91 total 70.08 last 83.90) - open/close 6725 (time 1788656137.91 total 80.08 last 87.58) - open/close 7536 (time 1788656147.92 total 90.09 last 81.05) - open/close 8431 (time 1788656157.92 total 100.09 last 89.45) - open/close 9277 (time 1788656167.93 total 110.10 last 84.57) total: 10000 open/close in 118.96 seconds: 84.06 ops/second llite.lustre-ffff950004945800.statahead_batch_max=0 llite.lustre-ffff950004945800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.917s user 0m0.292s sys 0m16.208s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff950004945800.statahead_batch_max=256 llite.lustre-ffff950004945800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff950004945800.stats=clear mdc.lustre-MDT0001-mdc-ffff950004945800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.259s user 0m0.266s sys 0m14.267s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff950004945800.batch_stats= snapshot_time: 1788656294.575218526 secs.nsecs start_time: 1788656238.888203162 secs.nsecs elapsed_time: 55.687015364 secs.nsecs subreqs per batch batches %% cum %% 1: 142 49 49 2: 41 14 63 4: 25 8 71 8: 11 3 75 16: 10 3 79 32: 14 4 84 64: 11 3 87 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff950004945800.batch_stats= snapshot_time: 1788656294.575292967 secs.nsecs start_time: 1788656238.888339996 secs.nsecs elapsed_time: 55.686952971 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-ffff950004945800.statahead_batch_max=64 llite.lustre-ffff950004945800.statahead_max=128