== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:01:38 (1788364898) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats=0 llite.lustre-ffff93cbd055c800.statahead_max=32 llite.lustre-ffff93cbd055c800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats=0 total: 100 open/close in 0.90 seconds: 110.69 ops/second llite.lustre-ffff93cbd055c800.statahead_max=0 101 real 0m0.964s user 0m0.006s sys 0m0.285s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff93cbd055c800.statahead_max=32 llite.lustre-ffff93cbd055c800.statahead_max=32 101 real 0m0.422s user 0m0.003s sys 0m0.200s 'ls -l' 100 files with statahead: 1 sec statahead total: 105 statahead wrong: 2 agl total: 100 list_total: 29 fname_total: 69 hit_total: 3575 miss_total: 1418 swrong=2 ewrong=2 total: 900 open/close in 3.66 seconds: 246.09 ops/second llite.lustre-ffff93cbd055c800.statahead_max=0 1001 real 0m9.047s user 0m0.030s sys 0m2.806s 'ls -l' 1000 files without statahead: 9 sec llite.lustre-ffff93cbd055c800.statahead_max=32 llite.lustre-ffff93cbd055c800.statahead_max=32 1001 real 0m4.003s user 0m0.019s sys 0m2.041s 'ls -l' 1000 files with statahead: 4 sec statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 30 fname_total: 69 hit_total: 4574 miss_total: 1419 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff93cbd055c800.statahead_stats= statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 30 fname_total: 69 hit_total: 4574 miss_total: 1419 mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats= snapshot_time: 1788364931.395343810 secs.nsecs start_time: 1788364900.238371316 secs.nsecs elapsed_time: 31.156972494 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 2724 (time 1788364942.89 total 10.00 last 272.35) - open/close 5892 (time 1788364952.89 total 20.00 last 316.79) - open/close 8800 (time 1788364962.89 total 30.00 last 290.75) total: 10000 open/close in 33.88 seconds: 295.16 ops/second llite.lustre-ffff93cbd055c800.statahead_batch_max=0 llite.lustre-ffff93cbd055c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.093s user 0m0.189s sys 0m29.620s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93cbd055c800.statahead_batch_max=32 llite.lustre-ffff93cbd055c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.703s user 0m0.165s sys 0m20.549s batched statahead RPC= hit count=9994 mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats= snapshot_time: 1788365048.709897154 secs.nsecs start_time: 1788365003.458335015 secs.nsecs elapsed_time: 45.251562139 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-ffff93cbd055c800.batch_stats=0 llite.lustre-ffff93cbd055c800.statahead_max=2048 llite.lustre-ffff93cbd055c800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats=0 total: 100 open/close in 1.02 seconds: 98.09 ops/second llite.lustre-ffff93cbd055c800.statahead_max=0 101 real 0m0.657s user 0m0.004s sys 0m0.247s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff93cbd055c800.statahead_max=2048 llite.lustre-ffff93cbd055c800.statahead_max=2048 101 real 0m0.398s user 0m0.003s sys 0m0.248s '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: 10093 miss_total: 7 swrong=0 ewrong=0 total: 900 open/close in 2.39 seconds: 376.12 ops/second llite.lustre-ffff93cbd055c800.statahead_max=0 1001 real 0m7.695s user 0m0.036s sys 0m2.613s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff93cbd055c800.statahead_max=2048 llite.lustre-ffff93cbd055c800.statahead_max=2048 1001 real 0m3.381s user 0m0.015s sys 0m1.424s '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: 11092 miss_total: 8 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff93cbd055c800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11092 miss_total: 8 mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats= snapshot_time: 1788365172.232934050 secs.nsecs start_time: 1788365049.547283140 secs.nsecs elapsed_time: 122.685650910 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 3603 (time 1788365183.69 total 10.00 last 360.27) - open/close 7093 (time 1788365193.69 total 20.00 last 349.00) total: 10000 open/close in 28.75 seconds: 347.86 ops/second llite.lustre-ffff93cbd055c800.statahead_batch_max=0 llite.lustre-ffff93cbd055c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.369s user 0m0.170s sys 0m26.012s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93cbd055c800.statahead_batch_max=256 llite.lustre-ffff93cbd055c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93cbd055c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.324s user 0m0.137s sys 0m19.259s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93cbd055c800.batch_stats= snapshot_time: 1788365269.170375456 secs.nsecs start_time: 1788365237.072817408 secs.nsecs elapsed_time: 32.097558048 secs.nsecs subreqs per batch batches %% cum %% 1: 522 70 70 2: 81 10 81 4: 58 7 89 8: 18 2 91 16: 5 0 92 32: 22 2 95 64: 1 0 95 128: 0 0 95 256: 33 4 100 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 1 seconds: 0.000000 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-ffff93cbd055c800.statahead_batch_max=64 llite.lustre-ffff93cbd055c800.statahead_max=128