== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:25:09 (1778365509) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=0 llite.lustre-ffff9cb791d78000.statahead_max=32 llite.lustre-ffff9cb791d78000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=0 total: 100 open/close in 1.10 seconds: 91.05 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 101 real 0m1.201s user 0m0.004s sys 0m0.432s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9cb791d78000.statahead_max=32 32 101 real 0m0.515s user 0m0.005s sys 0m0.285s ls -l 100 files with statahead: 1 sec statahead total: 88 statahead wrong: 2 agl total: 83 list_total: 31 fname_total: 57 hit_total: 33529 miss_total: 585 total: 900 open/close in 4.01 seconds: 224.48 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 1001 real 0m9.282s user 0m0.023s sys 0m3.161s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff9cb791d78000.statahead_max=32 32 1001 real 0m4.239s user 0m0.015s sys 0m2.041s ls -l 1000 files with statahead: 4 sec statahead total: 89 statahead wrong: 2 agl total: 84 list_total: 32 fname_total: 57 hit_total: 34528 miss_total: 586 - open/close 2421 (time 1778365548.19 total 10.00 last 242.09) total: 4000 open/close in 16.98 seconds: 235.61 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 5001 real 0m46.575s user 0m0.138s sys 0m15.637s ls -l 5000 files without statahead: 46 sec llite.lustre-ffff9cb791d78000.statahead_max=32 32 5001 real 0m20.720s user 0m0.062s sys 0m10.091s ls -l 5000 files with statahead: 21 sec statahead total: 90 statahead wrong: 2 agl total: 85 list_total: 33 fname_total: 57 hit_total: 39527 miss_total: 587 ls -l done rm -r /mnt/lustre/d123ad.sanity: 45 seconds llite.lustre-ffff9cb791d78000.statahead_stats= statahead total: 90 statahead wrong: 2 agl total: 85 list_total: 33 fname_total: 57 hit_total: 39527 miss_total: 587 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats= snapshot_time: 1778365677.226708643 secs.nsecs start_time: 1778365511.079212468 secs.nsecs elapsed_time: 166.147496175 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 2 1 1 8: 3 1 3 16: 3 1 4 32: 190 95 100 - open/close 2482 (time 1778365688.42 total 10.01 last 247.98) - open/close 4765 (time 1778365698.43 total 20.01 last 228.25) - open/close 7408 (time 1778365708.43 total 30.01 last 264.22) - open/close 9946 (time 1778365718.43 total 40.02 last 253.76) total: 10000 open/close in 40.26 seconds: 248.37 ops/second llite.lustre-ffff9cb791d78000.statahead_batch_max=0 llite.lustre-ffff9cb791d78000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.515s user 0m0.141s sys 0m47.325s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cb791d78000.statahead_batch_max=32 llite.lustre-ffff9cb791d78000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.733s user 0m0.140s sys 0m21.900s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats= snapshot_time: 1778365823.511366368 secs.nsecs start_time: 1778365771.774266112 secs.nsecs elapsed_time: 51.737100256 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=0 llite.lustre-ffff9cb791d78000.statahead_max=2048 llite.lustre-ffff9cb791d78000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=0 total: 100 open/close in 1.45 seconds: 68.93 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 101 real 0m1.113s user 0m0.008s sys 0m0.386s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9cb791d78000.statahead_max=2048 2048 101 real 0m0.436s user 0m0.006s sys 0m0.298s 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: 10098 miss_total: 2 total: 900 open/close in 2.16 seconds: 416.38 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 1001 real 0m8.764s user 0m0.025s sys 0m2.951s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff9cb791d78000.statahead_max=2048 2048 1001 real 0m3.144s user 0m0.014s sys 0m1.752s ls -l 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 2376 (time 1778365980.11 total 10.00 last 237.54) - open/close 4569 (time 1778365990.11 total 20.00 last 219.26) - open/close 6695 (time 1778366000.11 total 30.01 last 212.54) - open/close 8813 (time 1778366010.12 total 40.01 last 211.71) total: 9000 open/close in 40.87 seconds: 220.23 ops/second llite.lustre-ffff9cb791d78000.statahead_max=0 10001 real 1m33.901s user 0m0.232s sys 0m32.067s ls -l 10000 files without statahead: 94 sec llite.lustre-ffff9cb791d78000.statahead_max=2048 2048 10001 real 0m28.852s user 0m0.120s sys 0m19.223s ls -l 10000 files with statahead: 29 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 97 seconds llite.lustre-ffff9cb791d78000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats= snapshot_time: 1778366244.978419610 secs.nsecs start_time: 1778365824.596472143 secs.nsecs elapsed_time: 420.381947467 secs.nsecs subreqs per batch batches % cum % 1: 458 64 64 2: 107 15 79 4: 67 9 88 8: 13 1 90 16: 5 0 91 32: 23 3 94 64: 0 0 94 128: 2 0 94 256: 37 5 100 - open/close 2237 (time 1778366256.19 total 10.00 last 223.70) - open/close 4826 (time 1778366266.19 total 20.00 last 258.87) - open/close 7028 (time 1778366276.20 total 30.00 last 220.15) - open/close 9469 (time 1778366286.20 total 40.00 last 244.07) total: 10000 open/close in 42.19 seconds: 237.03 ops/second llite.lustre-ffff9cb791d78000.statahead_batch_max=0 llite.lustre-ffff9cb791d78000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.035s user 0m0.123s sys 0m22.905s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cb791d78000.statahead_batch_max=256 llite.lustre-ffff9cb791d78000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cb791d78000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.986s user 0m0.131s sys 0m18.237s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9cb791d78000.batch_stats= snapshot_time: 1778366356.311702785 secs.nsecs start_time: 1778366324.031756436 secs.nsecs elapsed_time: 32.279946349 secs.nsecs subreqs per batch batches % cum % 1: 165 59 59 2: 19 6 66 4: 24 8 75 8: 4 1 76 16: 7 2 79 32: 20 7 86 64: 1 0 86 128: 0 0 86 256: 36 13 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9cb791d78000.statahead_batch_max=64 llite.lustre-ffff9cb791d78000.statahead_max=128