== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:48:32 (1780858112) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=0 llite.lustre-ffff96bfc4550800.statahead_max=32 llite.lustre-ffff96bfc4550800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=0 total: 100 open/close in 0.79 seconds: 127.35 ops/second llite.lustre-ffff96bfc4550800.statahead_max=0 101 real 0m0.650s user 0m0.004s sys 0m0.252s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff96bfc4550800.statahead_max=32 llite.lustre-ffff96bfc4550800.statahead_max=32 101 real 0m0.451s user 0m0.002s sys 0m0.259s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 29 fname_total: 89 hit_total: 3649 miss_total: 1688 swrong=2 ewrong=2 total: 900 open/close in 2.30 seconds: 391.23 ops/second llite.lustre-ffff96bfc4550800.statahead_max=0 1001 real 0m6.378s user 0m0.024s sys 0m2.460s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff96bfc4550800.statahead_max=32 llite.lustre-ffff96bfc4550800.statahead_max=32 1001 real 0m3.744s user 0m0.018s sys 0m2.194s 'ls -l' 1000 files with statahead: 4 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 89 hit_total: 4648 miss_total: 1689 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff96bfc4550800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 89 hit_total: 4648 miss_total: 1689 mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats= snapshot_time: 1780858139.229560210 secs.nsecs start_time: 1780858113.697288814 secs.nsecs elapsed_time: 25.532271396 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 4095 (time 1780858149.89 total 10.00 last 409.42) - open/close 8433 (time 1780858159.89 total 20.00 last 433.77) total: 10000 open/close in 23.86 seconds: 419.07 ops/second llite.lustre-ffff96bfc4550800.statahead_batch_max=0 llite.lustre-ffff96bfc4550800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.959s user 0m0.182s sys 0m33.751s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96bfc4550800.statahead_batch_max=32 llite.lustre-ffff96bfc4550800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.486s user 0m0.167s sys 0m22.036s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats= snapshot_time: 1780858247.634724439 secs.nsecs start_time: 1780858203.866121102 secs.nsecs elapsed_time: 43.768603337 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=0 llite.lustre-ffff96bfc4550800.statahead_max=2048 llite.lustre-ffff96bfc4550800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=0 total: 100 open/close in 0.65 seconds: 154.14 ops/second llite.lustre-ffff96bfc4550800.statahead_max=0 101 real 0m0.660s user 0m0.003s sys 0m0.253s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff96bfc4550800.statahead_max=2048 llite.lustre-ffff96bfc4550800.statahead_max=2048 101 real 0m0.316s user 0m0.004s sys 0m0.228s 'ls -l' 100 files with statahead: 0 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.05 seconds: 438.08 ops/second llite.lustre-ffff96bfc4550800.statahead_max=0 1001 real 0m6.693s user 0m0.026s sys 0m2.467s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff96bfc4550800.statahead_max=2048 llite.lustre-ffff96bfc4550800.statahead_max=2048 1001 real 0m3.230s user 0m0.009s sys 0m1.431s '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: 5 seconds llite.lustre-ffff96bfc4550800.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-ffff96bfc4550800.batch_stats= snapshot_time: 1780858357.161513211 secs.nsecs start_time: 1780858248.495659962 secs.nsecs elapsed_time: 108.665853249 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: 2 18 54 64: 1 9 63 128: 0 0 63 256: 4 36 100 - open/close 4196 (time 1780858368.83 total 10.00 last 419.57) - open/close 9032 (time 1780858378.83 total 20.00 last 483.55) total: 10000 open/close in 22.06 seconds: 453.26 ops/second llite.lustre-ffff96bfc4550800.statahead_batch_max=0 llite.lustre-ffff96bfc4550800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.413s user 0m0.180s sys 0m28.248s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96bfc4550800.statahead_batch_max=256 llite.lustre-ffff96bfc4550800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96bfc4550800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.585s user 0m0.176s sys 0m19.693s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff96bfc4550800.batch_stats= snapshot_time: 1780858450.058667678 secs.nsecs start_time: 1780858417.332159010 secs.nsecs elapsed_time: 32.726508668 secs.nsecs subreqs per batch batches % cum % 1: 336 61 61 2: 78 14 75 4: 57 10 86 8: 12 2 88 16: 6 1 89 32: 21 3 93 64: 1 0 93 128: 0 0 93 256: 34 6 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-ffff96bfc4550800.statahead_batch_max=64 llite.lustre-ffff96bfc4550800.statahead_max=128