== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:17:48 (1781241468) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=0 llite.lustre-ffff943209160000.statahead_max=32 llite.lustre-ffff943209160000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=0 total: 100 open/close in 2.78 seconds: 35.94 ops/second llite.lustre-ffff943209160000.statahead_max=0 101 real 0m2.586s user 0m0.003s sys 0m0.348s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff943209160000.statahead_max=32 llite.lustre-ffff943209160000.statahead_max=32 101 real 0m1.052s user 0m0.007s sys 0m0.177s 'ls -l' 100 files with statahead: 1 sec statahead total: 121 statahead wrong: 2 agl total: 115 list_total: 30 fname_total: 80 hit_total: 4370 miss_total: 773 swrong=2 ewrong=2 - open/close 744 (time 1781241496.07 total 10.00 last 74.37) total: 900 open/close in 12.18 seconds: 73.89 ops/second llite.lustre-ffff943209160000.statahead_max=0 1001 real 0m21.758s user 0m0.034s sys 0m3.018s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff943209160000.statahead_max=32 llite.lustre-ffff943209160000.statahead_max=32 1001 real 0m11.398s user 0m0.031s sys 0m1.662s 'ls -l' 1000 files with statahead: 11 sec statahead total: 122 statahead wrong: 2 agl total: 116 list_total: 31 fname_total: 80 hit_total: 5367 miss_total: 776 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff943209160000.statahead_stats= statahead total: 122 statahead wrong: 2 agl total: 116 list_total: 31 fname_total: 80 hit_total: 5367 miss_total: 776 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats= snapshot_time: 1781241566.656057230 secs.nsecs start_time: 1781241473.250469122 secs.nsecs elapsed_time: 93.405588108 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 765 (time 1781241579.21 total 10.00 last 76.49) - open/close 1483 (time 1781241589.21 total 20.00 last 71.79) - open/close 2214 (time 1781241599.21 total 30.00 last 73.08) - open/close 2905 (time 1781241609.22 total 40.01 last 69.05) - open/close 3561 (time 1781241619.23 total 50.02 last 65.52) - open/close 4267 (time 1781241629.26 total 60.05 last 70.43) - open/close 4980 (time 1781241639.27 total 70.06 last 71.23) - open/close 5677 (time 1781241649.28 total 80.07 last 69.62) - open/close 6354 (time 1781241659.29 total 90.08 last 67.61) - open/close 6968 (time 1781241669.30 total 100.09 last 61.38) - open/close 7705 (time 1781241679.30 total 110.10 last 73.64) - open/close 8427 (time 1781241689.31 total 120.10 last 72.19) - open/close 9176 (time 1781241699.31 total 130.10 last 74.87) - open/close 9899 (time 1781241709.32 total 140.11 last 72.23) total: 10000 open/close in 141.64 seconds: 70.60 ops/second llite.lustre-ffff943209160000.statahead_batch_max=0 llite.lustre-ffff943209160000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.657s user 0m0.317s sys 0m16.140s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff943209160000.statahead_batch_max=32 llite.lustre-ffff943209160000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m7.262s user 0m0.322s sys 0m15.115s batched statahead RPC= hit count=9970 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats= snapshot_time: 1781241933.322751732 secs.nsecs start_time: 1781241790.499555270 secs.nsecs elapsed_time: 142.823196462 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=0 llite.lustre-ffff943209160000.statahead_max=2048 llite.lustre-ffff943209160000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=0 total: 100 open/close in 2.73 seconds: 36.69 ops/second llite.lustre-ffff943209160000.statahead_max=0 101 real 0m2.823s user 0m0.005s sys 0m0.344s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff943209160000.statahead_max=2048 llite.lustre-ffff943209160000.statahead_max=2048 101 real 0m1.200s user 0m0.006s sys 0m0.188s '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: 10069 miss_total: 31 swrong=0 ewrong=0 - open/close 631 (time 1781242269.53 total 10.00 last 63.08) total: 900 open/close in 13.67 seconds: 65.85 ops/second llite.lustre-ffff943209160000.statahead_max=0 1001 real 0m27.769s user 0m0.037s sys 0m3.247s 'ls -l' 1000 files without statahead: 28 sec llite.lustre-ffff943209160000.statahead_max=2048 llite.lustre-ffff943209160000.statahead_max=2048 1001 real 0m8.945s user 0m0.024s sys 0m1.530s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11068 miss_total: 32 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff943209160000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11068 miss_total: 32 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats= snapshot_time: 1781242350.680745557 secs.nsecs start_time: 1781241936.455835985 secs.nsecs elapsed_time: 414.224909572 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 1 10 60 128: 0 0 60 256: 4 40 100 - open/close 612 (time 1781242364.32 total 10.02 last 61.05) - open/close 1234 (time 1781242374.32 total 20.03 last 62.15) - open/close 1875 (time 1781242384.35 total 30.06 last 63.95) - open/close 2548 (time 1781242394.37 total 40.08 last 67.16) - open/close 3120 (time 1781242404.37 total 50.08 last 57.17) - open/close 3835 (time 1781242414.38 total 60.08 last 71.48) - open/close 4604 (time 1781242424.39 total 70.09 last 76.83) - open/close 5303 (time 1781242434.39 total 80.10 last 69.87) - open/close 6011 (time 1781242444.39 total 90.10 last 70.79) - open/close 6710 (time 1781242454.42 total 100.13 last 69.68) - open/close 7375 (time 1781242464.43 total 110.14 last 66.45) - open/close 8095 (time 1781242474.44 total 120.15 last 71.92) - open/close 8777 (time 1781242484.45 total 130.15 last 68.16) - open/close 9381 (time 1781242494.48 total 140.19 last 60.20) total: 10000 open/close in 148.87 seconds: 67.17 ops/second llite.lustre-ffff943209160000.statahead_batch_max=0 llite.lustre-ffff943209160000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.908s user 0m0.335s sys 0m16.721s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff943209160000.statahead_batch_max=256 llite.lustre-ffff943209160000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff943209160000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.016s user 0m0.312s sys 0m16.320s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff943209160000.batch_stats= snapshot_time: 1781242661.604675711 secs.nsecs start_time: 1781242581.731175429 secs.nsecs elapsed_time: 79.873500282 secs.nsecs subreqs per batch batches % cum % 1: 182 44 44 2: 74 18 62 4: 61 14 77 8: 29 7 84 16: 18 4 88 32: 7 1 90 64: 4 0 91 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-ffff943209160000.statahead_batch_max=64 llite.lustre-ffff943209160000.statahead_max=128