== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:07:34 (1787846854) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats=0 llite.lustre-ffff948649f05000.statahead_max=32 llite.lustre-ffff948649f05000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats=0 total: 100 open/close in 3.50 seconds: 28.59 ops/second llite.lustre-ffff948649f05000.statahead_max=0 101 real 0m2.456s user 0m0.003s sys 0m0.322s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff948649f05000.statahead_max=32 llite.lustre-ffff948649f05000.statahead_max=32 101 real 0m1.038s user 0m0.007s sys 0m0.156s 'ls -l' 100 files with statahead: 1 sec statahead total: 157 statahead wrong: 2 agl total: 150 list_total: 30 fname_total: 126 hit_total: 4116 miss_total: 1418 swrong=2 ewrong=2 - open/close 655 (time 1787846885.83 total 10.00 last 65.48) total: 900 open/close in 13.15 seconds: 68.45 ops/second llite.lustre-ffff948649f05000.statahead_max=0 1001 real 0m26.610s user 0m0.042s sys 0m2.934s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff948649f05000.statahead_max=32 llite.lustre-ffff948649f05000.statahead_max=32 1001 real 0m11.411s user 0m0.037s sys 0m1.422s 'ls -l' 1000 files with statahead: 12 sec statahead total: 158 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 126 hit_total: 5112 miss_total: 1422 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff948649f05000.statahead_stats= statahead total: 158 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 126 hit_total: 5112 miss_total: 1422 mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats= snapshot_time: 1787846969.009063859 secs.nsecs start_time: 1787846860.929177003 secs.nsecs elapsed_time: 108.079886856 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 742 (time 1787846981.40 total 10.01 last 74.14) - open/close 1369 (time 1787846991.41 total 20.02 last 62.61) - open/close 2064 (time 1787847001.43 total 30.03 last 69.41) - open/close 2719 (time 1787847011.43 total 40.04 last 65.45) - open/close 3528 (time 1787847021.43 total 50.04 last 80.90) - open/close 4244 (time 1787847031.44 total 60.04 last 71.58) - open/close 5033 (time 1787847041.46 total 70.06 last 78.75) - open/close 5883 (time 1787847051.46 total 80.07 last 84.96) - open/close 6796 (time 1787847061.46 total 90.07 last 91.27) - open/close 7547 (time 1787847071.47 total 100.08 last 75.06) - open/close 8249 (time 1787847081.47 total 110.08 last 70.17) - open/close 8840 (time 1787847091.47 total 120.08 last 59.09) - open/close 9535 (time 1787847101.48 total 130.09 last 69.44) total: 10000 open/close in 136.45 seconds: 73.29 ops/second llite.lustre-ffff948649f05000.statahead_batch_max=0 llite.lustre-ffff948649f05000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.541s user 0m0.338s sys 0m13.079s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948649f05000.statahead_batch_max=32 llite.lustre-ffff948649f05000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m35.408s user 0m0.297s sys 0m12.717s batched statahead RPC= hit count=9975 mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats= snapshot_time: 1787847285.968970087 secs.nsecs start_time: 1787847176.527347723 secs.nsecs elapsed_time: 109.441622364 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-ffff948649f05000.batch_stats=0 llite.lustre-ffff948649f05000.statahead_max=2048 llite.lustre-ffff948649f05000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats=0 total: 100 open/close in 1.79 seconds: 55.92 ops/second llite.lustre-ffff948649f05000.statahead_max=0 101 real 0m1.729s user 0m0.007s sys 0m0.302s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948649f05000.statahead_max=2048 llite.lustre-ffff948649f05000.statahead_max=2048 101 real 0m1.014s user 0m0.002s sys 0m0.120s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10074 miss_total: 26 swrong=0 ewrong=0 - open/close 860 (time 1787847563.04 total 10.00 last 85.96) total: 900 open/close in 10.60 seconds: 84.91 ops/second llite.lustre-ffff948649f05000.statahead_max=0 1001 real 0m22.929s user 0m0.035s sys 0m2.982s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff948649f05000.statahead_max=2048 llite.lustre-ffff948649f05000.statahead_max=2048 1001 real 0m6.344s user 0m0.021s sys 0m1.202s '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: 11073 miss_total: 27 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff948649f05000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11073 miss_total: 27 mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats= snapshot_time: 1787847630.641254893 secs.nsecs start_time: 1787847288.864714873 secs.nsecs elapsed_time: 341.776540020 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 1 9 45 64: 1 9 54 128: 1 9 63 256: 4 36 100 - open/close 877 (time 1787847643.53 total 10.01 last 87.57) - open/close 1678 (time 1787847653.55 total 20.03 last 79.96) - open/close 2606 (time 1787847663.55 total 30.03 last 92.78) - open/close 3429 (time 1787847673.55 total 40.04 last 82.28) - open/close 4329 (time 1787847683.56 total 50.04 last 89.93) - open/close 5080 (time 1787847693.57 total 60.05 last 75.05) - open/close 5804 (time 1787847703.57 total 70.05 last 72.38) - open/close 6573 (time 1787847713.57 total 80.06 last 76.89) - open/close 7364 (time 1787847723.57 total 90.06 last 79.10) - open/close 8098 (time 1787847733.59 total 100.08 last 73.26) - open/close 8866 (time 1787847743.60 total 110.08 last 76.74) - open/close 9746 (time 1787847753.60 total 120.09 last 87.98) total: 10000 open/close in 123.31 seconds: 81.10 ops/second llite.lustre-ffff948649f05000.statahead_batch_max=0 llite.lustre-ffff948649f05000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.807s user 0m0.309s sys 0m13.182s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948649f05000.statahead_batch_max=256 llite.lustre-ffff948649f05000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948649f05000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.434s user 0m0.326s sys 0m13.265s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff948649f05000.batch_stats= snapshot_time: 1787847885.106995765 secs.nsecs start_time: 1787847820.391496739 secs.nsecs elapsed_time: 64.715499026 secs.nsecs subreqs per batch batches %% cum %% 1: 114 42 42 2: 45 16 58 4: 25 9 67 8: 17 6 74 16: 9 3 77 32: 21 7 85 64: 4 1 86 128: 2 0 87 256: 34 12 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-ffff948649f05000.statahead_batch_max=64 llite.lustre-ffff948649f05000.statahead_max=128