== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:15:45 (1788833745) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=0 llite.lustre-ffff9dd08288d000.statahead_max=32 llite.lustre-ffff9dd08288d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.26 seconds: 44.15 ops/second llite.lustre-ffff9dd08288d000.statahead_max=0 101 real 0m2.179s user 0m0.006s sys 0m0.292s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9dd08288d000.statahead_max=32 llite.lustre-ffff9dd08288d000.statahead_max=32 101 real 0m1.075s user 0m0.006s sys 0m0.167s 'ls -l' 100 files with statahead: 1 sec statahead total: 145 statahead wrong: 2 agl total: 140 list_total: 31 fname_total: 98 hit_total: 4073 miss_total: 1291 swrong=2 ewrong=2 - open/close 829 (time 1788833772.16 total 10.01 last 82.84) total: 900 open/close in 10.94 seconds: 82.23 ops/second llite.lustre-ffff9dd08288d000.statahead_max=0 1001 real 0m20.890s user 0m0.039s sys 0m2.930s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9dd08288d000.statahead_max=32 llite.lustre-ffff9dd08288d000.statahead_max=32 1001 real 0m9.408s user 0m0.025s sys 0m1.393s 'ls -l' 1000 files with statahead: 9 sec statahead total: 146 statahead wrong: 2 agl total: 141 list_total: 32 fname_total: 98 hit_total: 5068 miss_total: 1296 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9dd08288d000.statahead_stats= statahead total: 146 statahead wrong: 2 agl total: 141 list_total: 32 fname_total: 98 hit_total: 5068 miss_total: 1296 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788833833.659031198 secs.nsecs start_time: 1788833750.141497492 secs.nsecs elapsed_time: 83.517533706 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788833833.659105951 secs.nsecs start_time: 1788833750.142269297 secs.nsecs elapsed_time: 83.516836654 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 5 12 20 16: 17 42 62 32: 15 37 100 - open/close 874 (time 1788833846.01 total 10.01 last 87.35) - open/close 1735 (time 1788833856.02 total 20.02 last 85.98) - open/close 2578 (time 1788833866.03 total 30.03 last 84.23) - open/close 3380 (time 1788833876.03 total 40.03 last 80.18) - open/close 4221 (time 1788833886.04 total 50.04 last 84.03) - open/close 5116 (time 1788833896.04 total 60.04 last 89.47) - open/close 6008 (time 1788833906.05 total 70.05 last 89.13) - open/close 6797 (time 1788833916.06 total 80.05 last 78.85) - open/close 7513 (time 1788833926.08 total 90.07 last 71.46) - open/close 8177 (time 1788833936.10 total 100.09 last 66.28) - open/close 8989 (time 1788833946.10 total 110.10 last 81.14) - open/close 9767 (time 1788833956.12 total 120.12 last 77.67) total: 10000 open/close in 123.33 seconds: 81.09 ops/second llite.lustre-ffff9dd08288d000.statahead_batch_max=0 llite.lustre-ffff9dd08288d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.892s user 0m0.311s sys 0m15.346s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dd08288d000.statahead_batch_max=32 llite.lustre-ffff9dd08288d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.229s user 0m0.297s sys 0m13.789s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788834144.521217607 secs.nsecs start_time: 1788834029.500874442 secs.nsecs elapsed_time: 115.020343165 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-ffff9dd08288d000.batch_stats= snapshot_time: 1788834144.521284667 secs.nsecs start_time: 1788834029.501067269 secs.nsecs elapsed_time: 115.020217398 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=0 llite.lustre-ffff9dd08288d000.statahead_max=2048 llite.lustre-ffff9dd08288d000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.50 seconds: 39.96 ops/second llite.lustre-ffff9dd08288d000.statahead_max=0 101 real 0m2.025s user 0m0.003s sys 0m0.309s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9dd08288d000.statahead_max=2048 llite.lustre-ffff9dd08288d000.statahead_max=2048 101 real 0m0.919s user 0m0.005s sys 0m0.175s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 861 (time 1788834432.55 total 10.00 last 86.09) total: 900 open/close in 10.62 seconds: 84.71 ops/second llite.lustre-ffff9dd08288d000.statahead_max=0 1001 real 0m20.678s user 0m0.024s sys 0m2.927s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9dd08288d000.statahead_max=2048 llite.lustre-ffff9dd08288d000.statahead_max=2048 1001 real 0m6.241s user 0m0.032s sys 0m1.469s '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: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9dd08288d000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788834491.598207480 secs.nsecs start_time: 1788834147.744816348 secs.nsecs elapsed_time: 343.853391132 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 16 4: 0 0 16 8: 3 50 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788834491.598258410 secs.nsecs start_time: 1788834147.744960049 secs.nsecs elapsed_time: 343.853298361 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 0 0 11 8: 2 22 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 788 (time 1788834504.24 total 10.01 last 78.70) - open/close 1630 (time 1788834514.25 total 20.02 last 84.12) - open/close 2429 (time 1788834524.26 total 30.03 last 79.83) - open/close 3299 (time 1788834534.27 total 40.04 last 86.93) - open/close 4160 (time 1788834544.29 total 50.06 last 85.91) - open/close 4994 (time 1788834554.32 total 60.09 last 83.17) - open/close 5760 (time 1788834564.33 total 70.10 last 76.54) - open/close 6594 (time 1788834574.34 total 80.11 last 83.32) - open/close 7352 (time 1788834584.34 total 90.11 last 75.80) - open/close 8167 (time 1788834594.34 total 100.11 last 81.46) - open/close 8967 (time 1788834604.35 total 110.12 last 79.93) - open/close 9811 (time 1788834614.36 total 120.13 last 84.33) total: 10000 open/close in 122.72 seconds: 81.49 ops/second llite.lustre-ffff9dd08288d000.statahead_batch_max=0 llite.lustre-ffff9dd08288d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.860s user 0m0.339s sys 0m16.062s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dd08288d000.statahead_batch_max=256 llite.lustre-ffff9dd08288d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd08288d000.stats=clear mdc.lustre-MDT0001-mdc-ffff9dd08288d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.712s user 0m0.300s sys 0m15.163s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788834746.775475738 secs.nsecs start_time: 1788834685.488010907 secs.nsecs elapsed_time: 61.287464831 secs.nsecs subreqs per batch batches %% cum %% 1: 136 51 51 2: 27 10 61 4: 14 5 67 8: 21 7 75 16: 7 2 77 32: 14 5 83 64: 9 3 86 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff9dd08288d000.batch_stats= snapshot_time: 1788834746.775700257 secs.nsecs start_time: 1788834685.488095707 secs.nsecs elapsed_time: 61.287604550 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-ffff9dd08288d000.statahead_batch_max=64 llite.lustre-ffff9dd08288d000.statahead_max=128