== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:40:52 (1789065652) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=0 llite.lustre-ffff9f0347247000.statahead_max=32 llite.lustre-ffff9f0347247000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=0 total: 100 open/close in 2.21 seconds: 45.34 ops/second llite.lustre-ffff9f0347247000.statahead_max=0 101 real 0m2.242s user 0m0.006s sys 0m0.371s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9f0347247000.statahead_max=32 llite.lustre-ffff9f0347247000.statahead_max=32 101 real 0m1.102s user 0m0.007s sys 0m0.166s 'ls -l' 100 files with statahead: 1 sec statahead total: 158 statahead wrong: 2 agl total: 151 list_total: 30 fname_total: 128 hit_total: 3626 miss_total: 1354 swrong=2 ewrong=2 - open/close 703 (time 1789065680.97 total 10.01 last 70.23) total: 900 open/close in 12.64 seconds: 71.19 ops/second llite.lustre-ffff9f0347247000.statahead_max=0 1001 real 0m20.538s user 0m0.037s sys 0m3.566s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9f0347247000.statahead_max=32 llite.lustre-ffff9f0347247000.statahead_max=32 1001 real 0m9.422s user 0m0.032s sys 0m1.651s 'ls -l' 1000 files with statahead: 9 sec statahead total: 159 statahead wrong: 2 agl total: 152 list_total: 31 fname_total: 128 hit_total: 4623 miss_total: 1357 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9f0347247000.statahead_stats= statahead total: 159 statahead wrong: 2 agl total: 152 list_total: 31 fname_total: 128 hit_total: 4623 miss_total: 1357 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats= snapshot_time: 1789065749.134621045 secs.nsecs start_time: 1789065657.648231623 secs.nsecs elapsed_time: 91.486389422 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 1 2 12 32: 34 87 100 - open/close 795 (time 1789065761.46 total 10.01 last 79.45) - open/close 1590 (time 1789065771.47 total 20.02 last 79.42) - open/close 2343 (time 1789065781.48 total 30.02 last 75.28) - open/close 2889 (time 1789065791.48 total 40.02 last 54.60) - open/close 3458 (time 1789065801.49 total 50.03 last 56.84) - open/close 4154 (time 1789065811.49 total 60.03 last 69.58) - open/close 4761 (time 1789065821.51 total 70.05 last 60.59) - open/close 5387 (time 1789065831.52 total 80.06 last 62.54) - open/close 6029 (time 1789065841.52 total 90.06 last 64.18) - open/close 6737 (time 1789065851.53 total 100.07 last 70.79) - open/close 7491 (time 1789065861.53 total 110.07 last 75.34) - open/close 8278 (time 1789065871.54 total 120.08 last 78.66) - open/close 9070 (time 1789065881.55 total 130.09 last 79.09) - open/close 9795 (time 1789065891.56 total 140.10 last 72.47) total: 10000 open/close in 143.31 seconds: 69.78 ops/second llite.lustre-ffff9f0347247000.statahead_batch_max=0 llite.lustre-ffff9f0347247000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.743s user 0m0.405s sys 0m16.361s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f0347247000.statahead_batch_max=32 llite.lustre-ffff9f0347247000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.073s user 0m0.337s sys 0m14.921s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats= snapshot_time: 1789066097.054212487 secs.nsecs start_time: 1789065973.255623941 secs.nsecs elapsed_time: 123.798588546 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=0 llite.lustre-ffff9f0347247000.statahead_max=2048 llite.lustre-ffff9f0347247000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=0 total: 100 open/close in 2.97 seconds: 33.63 ops/second llite.lustre-ffff9f0347247000.statahead_max=0 101 real 0m1.985s user 0m0.003s sys 0m0.338s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9f0347247000.statahead_max=2048 llite.lustre-ffff9f0347247000.statahead_max=2048 101 real 0m0.743s user 0m0.004s sys 0m0.184s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 585 (time 1789066409.80 total 10.00 last 58.48) total: 900 open/close in 15.14 seconds: 59.44 ops/second llite.lustre-ffff9f0347247000.statahead_max=0 1001 real 0m24.318s user 0m0.032s sys 0m3.155s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9f0347247000.statahead_max=2048 llite.lustre-ffff9f0347247000.statahead_max=2048 1001 real 0m7.466s user 0m0.030s sys 0m1.483s '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: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9f0347247000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats= snapshot_time: 1789066486.385640793 secs.nsecs start_time: 1789066100.055910267 secs.nsecs elapsed_time: 386.329730526 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 3 25 58 64: 1 8 66 128: 0 0 66 256: 4 33 100 - open/close 727 (time 1789066499.16 total 10.00 last 72.68) - open/close 1387 (time 1789066509.17 total 20.01 last 65.93) - open/close 2206 (time 1789066519.17 total 30.01 last 81.89) - open/close 3146 (time 1789066529.20 total 40.04 last 93.78) - open/close 4063 (time 1789066539.22 total 50.06 last 91.53) - open/close 4783 (time 1789066549.23 total 60.07 last 71.90) - open/close 5521 (time 1789066559.23 total 70.07 last 73.79) - open/close 6389 (time 1789066569.24 total 80.07 last 86.76) - open/close 7307 (time 1789066579.24 total 90.08 last 91.78) - open/close 8177 (time 1789066589.24 total 100.08 last 86.97) - open/close 9019 (time 1789066599.25 total 110.09 last 84.10) - open/close 9894 (time 1789066609.25 total 120.09 last 87.49) total: 10000 open/close in 121.20 seconds: 82.51 ops/second llite.lustre-ffff9f0347247000.statahead_batch_max=0 llite.lustre-ffff9f0347247000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.530s user 0m0.309s sys 0m14.966s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f0347247000.statahead_batch_max=256 llite.lustre-ffff9f0347247000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0347247000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.171s user 0m0.321s sys 0m14.432s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f0347247000.batch_stats= snapshot_time: 1789066757.566462231 secs.nsecs start_time: 1789066684.046464560 secs.nsecs elapsed_time: 73.519997671 secs.nsecs subreqs per batch batches % cum % 1: 180 45 45 2: 75 19 64 4: 50 12 77 8: 19 4 82 16: 21 5 87 32: 10 2 90 64: 3 0 90 128: 2 0 91 256: 34 8 100 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-ffff9f0347247000.statahead_batch_max=64 llite.lustre-ffff9f0347247000.statahead_max=128