== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:11:47 (1788934307) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=0 llite.lustre-ffffa0e4e048a000.statahead_max=32 llite.lustre-ffffa0e4e048a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.69 seconds: 37.19 ops/second llite.lustre-ffffa0e4e048a000.statahead_max=0 101 real 0m2.052s user 0m0.004s sys 0m0.286s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0e4e048a000.statahead_max=32 llite.lustre-ffffa0e4e048a000.statahead_max=32 101 real 0m1.313s user 0m0.004s sys 0m0.206s 'ls -l' 100 files with statahead: 1 sec statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 31 fname_total: 95 hit_total: 3878 miss_total: 1594 swrong=2 ewrong=2 - open/close 672 (time 1788934337.61 total 10.01 last 67.13) total: 900 open/close in 13.73 seconds: 65.55 ops/second llite.lustre-ffffa0e4e048a000.statahead_max=0 1001 real 0m30.870s user 0m0.040s sys 0m3.449s 'ls -l' 1000 files without statahead: 31 sec llite.lustre-ffffa0e4e048a000.statahead_max=32 llite.lustre-ffffa0e4e048a000.statahead_max=32 1001 real 0m9.902s user 0m0.041s sys 0m1.446s 'ls -l' 1000 files with statahead: 10 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 95 hit_total: 4876 miss_total: 1596 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffffa0e4e048a000.statahead_stats= statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 95 hit_total: 4876 miss_total: 1596 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788934418.466335529 secs.nsecs start_time: 1788934313.739978420 secs.nsecs elapsed_time: 104.726357109 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 2 5 18 8: 2 5 23 16: 24 63 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788934418.466414018 secs.nsecs start_time: 1788934313.740071895 secs.nsecs elapsed_time: 104.726342123 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 2 5 12 16: 16 40 52 32: 19 47 100 - open/close 735 (time 1788934431.35 total 10.00 last 73.48) - open/close 1515 (time 1788934441.35 total 20.00 last 78.00) - open/close 2393 (time 1788934451.36 total 30.01 last 87.75) - open/close 3145 (time 1788934461.36 total 40.01 last 75.17) - open/close 3991 (time 1788934471.37 total 50.03 last 84.49) - open/close 4795 (time 1788934481.39 total 60.04 last 80.27) - open/close 5611 (time 1788934491.40 total 70.05 last 81.52) - open/close 6514 (time 1788934501.41 total 80.06 last 90.23) - open/close 7165 (time 1788934511.42 total 90.07 last 65.03) - open/close 7726 (time 1788934521.42 total 100.07 last 56.08) - open/close 8475 (time 1788934531.43 total 110.08 last 74.83) - open/close 9136 (time 1788934541.46 total 120.11 last 65.95) - open/close 9811 (time 1788934551.48 total 130.13 last 67.34) total: 10000 open/close in 133.84 seconds: 74.71 ops/second llite.lustre-ffffa0e4e048a000.statahead_batch_max=0 llite.lustre-ffffa0e4e048a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.406s user 0m0.332s sys 0m14.183s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0e4e048a000.statahead_batch_max=32 llite.lustre-ffffa0e4e048a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.110s user 0m0.321s sys 0m13.843s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788934736.897590760 secs.nsecs start_time: 1788934628.820243027 secs.nsecs elapsed_time: 108.077347733 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-ffffa0e4e048a000.batch_stats= snapshot_time: 1788934736.897687899 secs.nsecs start_time: 1788934628.820394965 secs.nsecs elapsed_time: 108.077292934 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=0 llite.lustre-ffffa0e4e048a000.statahead_max=2048 llite.lustre-ffffa0e4e048a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.03 seconds: 49.21 ops/second llite.lustre-ffffa0e4e048a000.statahead_max=0 101 real 0m1.777s user 0m0.006s sys 0m0.315s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0e4e048a000.statahead_max=2048 llite.lustre-ffffa0e4e048a000.statahead_max=2048 101 real 0m1.065s user 0m0.002s sys 0m0.182s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 825 (time 1788935024.95 total 10.00 last 82.46) total: 900 open/close in 10.79 seconds: 83.45 ops/second llite.lustre-ffffa0e4e048a000.statahead_max=0 1001 real 0m18.571s user 0m0.037s sys 0m2.880s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffffa0e4e048a000.statahead_max=2048 llite.lustre-ffffa0e4e048a000.statahead_max=2048 1001 real 0m6.708s user 0m0.024s sys 0m1.360s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffffa0e4e048a000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788935083.847895505 secs.nsecs start_time: 1788934739.426438238 secs.nsecs elapsed_time: 344.421457267 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 0 0 50 32: 1 12 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788935083.848104480 secs.nsecs start_time: 1788934739.438534305 secs.nsecs elapsed_time: 344.409570175 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 0 0 50 32: 1 12 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 729 (time 1788935097.43 total 10.00 last 72.89) - open/close 1591 (time 1788935107.44 total 20.01 last 86.14) - open/close 2454 (time 1788935117.44 total 30.01 last 86.29) - open/close 3294 (time 1788935127.45 total 40.02 last 83.94) - open/close 4176 (time 1788935137.45 total 50.02 last 88.16) - open/close 5117 (time 1788935147.46 total 60.03 last 94.05) - open/close 6071 (time 1788935157.46 total 70.03 last 95.33) - open/close 7008 (time 1788935167.47 total 80.04 last 93.65) - open/close 7898 (time 1788935177.48 total 90.05 last 88.90) - open/close 8783 (time 1788935187.48 total 100.05 last 88.46) - open/close 9618 (time 1788935197.49 total 110.06 last 83.44) total: 10000 open/close in 114.82 seconds: 87.09 ops/second llite.lustre-ffffa0e4e048a000.statahead_batch_max=0 llite.lustre-ffffa0e4e048a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.282s user 0m0.325s sys 0m14.050s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0e4e048a000.statahead_batch_max=256 llite.lustre-ffffa0e4e048a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.170s user 0m0.305s sys 0m13.774s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788935326.747187899 secs.nsecs start_time: 1788935271.747055460 secs.nsecs elapsed_time: 55.000132439 secs.nsecs subreqs per batch batches %% cum %% 1: 175 46 46 2: 59 15 61 4: 45 11 73 8: 32 8 82 16: 9 2 84 32: 20 5 89 64: 4 1 90 128: 2 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffffa0e4e048a000.batch_stats= snapshot_time: 1788935326.747261493 secs.nsecs start_time: 1788935271.747152185 secs.nsecs elapsed_time: 55.000109308 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-ffffa0e4e048a000.statahead_batch_max=64 llite.lustre-ffffa0e4e048a000.statahead_max=128