== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:01:26 (1784408486) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats=0 llite.lustre-ffff97ecc418d800.statahead_max=32 llite.lustre-ffff97ecc418d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats=0 total: 100 open/close in 0.78 seconds: 128.75 ops/second llite.lustre-ffff97ecc418d800.statahead_max=0 101 real 0m0.684s user 0m0.002s sys 0m0.259s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff97ecc418d800.statahead_max=32 llite.lustre-ffff97ecc418d800.statahead_max=32 101 real 0m0.350s user 0m0.004s sys 0m0.223s 'ls -l' 100 files with statahead: 0 sec statahead total: 80 statahead wrong: 2 agl total: 75 list_total: 27 fname_total: 53 hit_total: 4034 miss_total: 970 swrong=2 ewrong=2 total: 900 open/close in 2.09 seconds: 429.74 ops/second llite.lustre-ffff97ecc418d800.statahead_max=0 1001 real 0m6.498s user 0m0.026s sys 0m2.402s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff97ecc418d800.statahead_max=32 llite.lustre-ffff97ecc418d800.statahead_max=32 1001 real 0m4.178s user 0m0.016s sys 0m2.521s 'ls -l' 1000 files with statahead: 4 sec statahead total: 81 statahead wrong: 2 agl total: 76 list_total: 28 fname_total: 53 hit_total: 5033 miss_total: 971 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff97ecc418d800.statahead_stats= statahead total: 81 statahead wrong: 2 agl total: 76 list_total: 28 fname_total: 53 hit_total: 5033 miss_total: 971 mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats= snapshot_time: 1784408513.461423979 secs.nsecs start_time: 1784408488.044929943 secs.nsecs elapsed_time: 25.416494036 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 4476 (time 1784408524.82 total 10.00 last 447.56) - open/close 8718 (time 1784408534.82 total 20.00 last 424.14) total: 10000 open/close in 22.71 seconds: 440.41 ops/second llite.lustre-ffff97ecc418d800.statahead_batch_max=0 llite.lustre-ffff97ecc418d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.804s user 0m0.140s sys 0m29.971s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97ecc418d800.statahead_batch_max=32 llite.lustre-ffff97ecc418d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.030s user 0m0.148s sys 0m25.311s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats= snapshot_time: 1784408621.141315482 secs.nsecs start_time: 1784408573.230006631 secs.nsecs elapsed_time: 47.911308851 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-ffff97ecc418d800.batch_stats=0 llite.lustre-ffff97ecc418d800.statahead_max=2048 llite.lustre-ffff97ecc418d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats=0 total: 100 open/close in 0.54 seconds: 184.80 ops/second llite.lustre-ffff97ecc418d800.statahead_max=0 101 real 0m0.531s user 0m0.003s sys 0m0.210s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff97ecc418d800.statahead_max=2048 llite.lustre-ffff97ecc418d800.statahead_max=2048 101 real 0m0.366s user 0m0.002s sys 0m0.284s '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.02 seconds: 446.15 ops/second llite.lustre-ffff97ecc418d800.statahead_max=0 1001 real 0m6.023s user 0m0.026s sys 0m2.335s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff97ecc418d800.statahead_max=2048 llite.lustre-ffff97ecc418d800.statahead_max=2048 1001 real 0m3.444s user 0m0.013s sys 0m1.464s '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-ffff97ecc418d800.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-ffff97ecc418d800.batch_stats= snapshot_time: 1784408736.445529162 secs.nsecs start_time: 1784408621.877078176 secs.nsecs elapsed_time: 114.568450986 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: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 4336 (time 1784408747.22 total 10.00 last 433.52) - open/close 9350 (time 1784408757.22 total 20.00 last 501.36) total: 10000 open/close in 21.26 seconds: 470.41 ops/second llite.lustre-ffff97ecc418d800.statahead_batch_max=0 llite.lustre-ffff97ecc418d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.107s user 0m0.149s sys 0m26.210s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97ecc418d800.statahead_batch_max=256 llite.lustre-ffff97ecc418d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97ecc418d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.888s user 0m0.140s sys 0m19.176s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97ecc418d800.batch_stats= snapshot_time: 1784408825.098572441 secs.nsecs start_time: 1784408792.257420174 secs.nsecs elapsed_time: 32.841152267 secs.nsecs subreqs per batch batches %% cum %% 1: 336 62 62 2: 65 12 74 4: 64 11 85 8: 14 2 88 16: 6 1 89 32: 22 4 93 64: 0 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-ffff97ecc418d800.statahead_batch_max=64 llite.lustre-ffff97ecc418d800.statahead_max=128