== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:48:45 (1788893325) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats=0 llite.lustre-ffff88b5e0a0d000.statahead_max=32 llite.lustre-ffff88b5e0a0d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats=0 total: 100 open/close in 1.19 seconds: 84.27 ops/second llite.lustre-ffff88b5e0a0d000.statahead_max=0 101 real 0m1.128s user 0m0.009s sys 0m0.267s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff88b5e0a0d000.statahead_max=32 llite.lustre-ffff88b5e0a0d000.statahead_max=32 101 real 0m0.457s user 0m0.004s sys 0m0.157s 'ls -l' 100 files with statahead: 0 sec statahead total: 62 statahead wrong: 1 agl total: 57 list_total: 24 fname_total: 38 hit_total: 3865 miss_total: 200 swrong=1 ewrong=1 total: 900 open/close in 5.10 seconds: 176.55 ops/second llite.lustre-ffff88b5e0a0d000.statahead_max=0 1001 real 0m9.467s user 0m0.038s sys 0m2.607s 'ls -l' 1000 files without statahead: 9 sec llite.lustre-ffff88b5e0a0d000.statahead_max=32 llite.lustre-ffff88b5e0a0d000.statahead_max=32 1001 real 0m3.914s user 0m0.027s sys 0m1.880s 'ls -l' 1000 files with statahead: 4 sec statahead total: 63 statahead wrong: 1 agl total: 58 list_total: 25 fname_total: 38 hit_total: 4864 miss_total: 201 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff88b5e0a0d000.statahead_stats= statahead total: 63 statahead wrong: 1 agl total: 58 list_total: 25 fname_total: 38 hit_total: 4864 miss_total: 201 mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats= snapshot_time: 1788893364.169682972 secs.nsecs start_time: 1788893326.935528693 secs.nsecs elapsed_time: 37.234154279 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 1710 (time 1788893375.13 total 10.00 last 170.98) - open/close 3495 (time 1788893385.13 total 20.00 last 178.45) - open/close 5876 (time 1788893395.13 total 30.00 last 238.09) - open/close 8216 (time 1788893405.14 total 40.01 last 233.98) total: 10000 open/close in 47.74 seconds: 209.48 ops/second llite.lustre-ffff88b5e0a0d000.statahead_batch_max=0 llite.lustre-ffff88b5e0a0d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.042s user 0m0.248s sys 0m29.154s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88b5e0a0d000.statahead_batch_max=32 llite.lustre-ffff88b5e0a0d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.198s user 0m0.202s sys 0m20.295s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats= snapshot_time: 1788893489.047653050 secs.nsecs start_time: 1788893447.024250863 secs.nsecs elapsed_time: 42.023402187 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-ffff88b5e0a0d000.batch_stats=0 llite.lustre-ffff88b5e0a0d000.statahead_max=2048 llite.lustre-ffff88b5e0a0d000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats=0 total: 100 open/close in 0.79 seconds: 126.40 ops/second llite.lustre-ffff88b5e0a0d000.statahead_max=0 101 real 0m0.688s user 0m0.002s sys 0m0.244s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff88b5e0a0d000.statahead_max=2048 llite.lustre-ffff88b5e0a0d000.statahead_max=2048 101 real 0m0.386s user 0m0.001s sys 0m0.233s '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 swrong=0 ewrong=0 total: 900 open/close in 2.24 seconds: 402.17 ops/second llite.lustre-ffff88b5e0a0d000.statahead_max=0 1001 real 0m7.219s user 0m0.036s sys 0m2.388s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff88b5e0a0d000.statahead_max=2048 llite.lustre-ffff88b5e0a0d000.statahead_max=2048 1001 real 0m3.063s user 0m0.016s sys 0m1.234s '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 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff88b5e0a0d000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats= snapshot_time: 1788893611.741399713 secs.nsecs start_time: 1788893489.958415300 secs.nsecs elapsed_time: 121.782984413 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 4178 (time 1788893622.52 total 10.00 last 417.79) - open/close 7925 (time 1788893632.52 total 20.00 last 374.61) total: 10000 open/close in 25.69 seconds: 389.19 ops/second llite.lustre-ffff88b5e0a0d000.statahead_batch_max=0 llite.lustre-ffff88b5e0a0d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.277s user 0m0.185s sys 0m26.614s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88b5e0a0d000.statahead_batch_max=256 llite.lustre-ffff88b5e0a0d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m23.108s user 0m0.185s sys 0m17.235s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88b5e0a0d000.batch_stats= snapshot_time: 1788893699.396053478 secs.nsecs start_time: 1788893671.991032940 secs.nsecs elapsed_time: 27.405020538 secs.nsecs subreqs per batch batches %% cum %% 1: 147 54 54 2: 35 12 66 4: 25 9 76 8: 2 0 76 16: 1 0 77 32: 24 8 86 64: 2 0 86 128: 1 0 87 256: 35 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-ffff88b5e0a0d000.statahead_batch_max=64 llite.lustre-ffff88b5e0a0d000.statahead_max=128