== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:58:50 (1783958330) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats=0 llite.lustre-ffff917951e12000.statahead_max=32 llite.lustre-ffff917951e12000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats=0 total: 100 open/close in 2.37 seconds: 42.22 ops/second llite.lustre-ffff917951e12000.statahead_max=0 101 real 0m1.935s user 0m0.003s sys 0m0.331s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff917951e12000.statahead_max=32 llite.lustre-ffff917951e12000.statahead_max=32 101 real 0m1.118s user 0m0.006s sys 0m0.152s 'ls -l' 100 files with statahead: 1 sec statahead total: 110 statahead wrong: 2 agl total: 104 list_total: 29 fname_total: 75 hit_total: 3676 miss_total: 1540 swrong=2 ewrong=2 - open/close 812 (time 1783958357.23 total 10.00 last 81.17) total: 900 open/close in 11.21 seconds: 80.27 ops/second llite.lustre-ffff917951e12000.statahead_max=0 1001 real 0m16.980s user 0m0.028s sys 0m3.023s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff917951e12000.statahead_max=32 llite.lustre-ffff917951e12000.statahead_max=32 1001 real 0m9.730s user 0m0.027s sys 0m1.383s 'ls -l' 1000 files with statahead: 10 sec statahead total: 111 statahead wrong: 2 agl total: 105 list_total: 30 fname_total: 75 hit_total: 4674 miss_total: 1542 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff917951e12000.statahead_stats= statahead total: 111 statahead wrong: 2 agl total: 105 list_total: 30 fname_total: 75 hit_total: 4674 miss_total: 1542 mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats= snapshot_time: 1783958418.265688390 secs.nsecs start_time: 1783958334.718483747 secs.nsecs elapsed_time: 83.547204643 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 690 (time 1783958431.25 total 10.03 last 68.78) - open/close 1502 (time 1783958441.26 total 20.03 last 81.18) - open/close 2276 (time 1783958451.26 total 30.04 last 77.38) - open/close 3114 (time 1783958461.28 total 40.06 last 83.63) - open/close 3967 (time 1783958471.29 total 50.07 last 85.23) - open/close 4914 (time 1783958481.29 total 60.07 last 94.68) - open/close 5820 (time 1783958491.29 total 70.07 last 90.59) - open/close 6734 (time 1783958501.30 total 80.08 last 91.32) - open/close 7656 (time 1783958511.30 total 90.08 last 92.16) - open/close 8579 (time 1783958521.31 total 100.09 last 92.20) - open/close 9462 (time 1783958531.33 total 110.10 last 88.20) total: 10000 open/close in 115.77 seconds: 86.38 ops/second llite.lustre-ffff917951e12000.statahead_batch_max=0 llite.lustre-ffff917951e12000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.317s user 0m0.356s sys 0m15.952s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff917951e12000.statahead_batch_max=32 llite.lustre-ffff917951e12000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.835s user 0m0.327s sys 0m15.112s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats= snapshot_time: 1783958748.477247269 secs.nsecs start_time: 1783958619.690876751 secs.nsecs elapsed_time: 128.786370518 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 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-ffff917951e12000.batch_stats=0 llite.lustre-ffff917951e12000.statahead_max=2048 llite.lustre-ffff917951e12000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats=0 total: 100 open/close in 2.63 seconds: 37.97 ops/second llite.lustre-ffff917951e12000.statahead_max=0 101 real 0m1.888s user 0m0.008s sys 0m0.345s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff917951e12000.statahead_max=2048 llite.lustre-ffff917951e12000.statahead_max=2048 101 real 0m1.174s user 0m0.009s sys 0m0.170s '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: 10086 miss_total: 14 swrong=0 ewrong=0 - open/close 771 (time 1783959047.89 total 10.00 last 77.07) total: 900 open/close in 11.88 seconds: 75.76 ops/second llite.lustre-ffff917951e12000.statahead_max=0 1001 real 0m23.773s user 0m0.029s sys 0m3.341s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff917951e12000.statahead_max=2048 llite.lustre-ffff917951e12000.statahead_max=2048 1001 real 0m11.585s user 0m0.033s sys 0m1.720s 'ls -l' 1000 files with statahead: 12 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff917951e12000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats= snapshot_time: 1783959126.153257664 secs.nsecs start_time: 1783958750.179668812 secs.nsecs elapsed_time: 375.973588852 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 789 (time 1783959138.72 total 10.01 last 78.83) - open/close 1279 (time 1783959148.73 total 20.02 last 48.97) - open/close 1862 (time 1783959158.73 total 30.02 last 58.30) - open/close 2582 (time 1783959168.74 total 40.03 last 71.92) - open/close 3297 (time 1783959178.75 total 50.04 last 71.40) - open/close 4005 (time 1783959188.75 total 60.04 last 70.79) - open/close 4944 (time 1783959198.76 total 70.05 last 93.87) - open/close 5714 (time 1783959208.77 total 80.05 last 76.93) - open/close 6529 (time 1783959218.77 total 90.06 last 81.45) - open/close 7350 (time 1783959228.77 total 100.06 last 82.09) - open/close 8216 (time 1783959238.78 total 110.07 last 86.51) - open/close 8958 (time 1783959248.79 total 120.08 last 74.16) - open/close 9747 (time 1783959258.80 total 130.09 last 78.84) total: 10000 open/close in 133.94 seconds: 74.66 ops/second llite.lustre-ffff917951e12000.statahead_batch_max=0 llite.lustre-ffff917951e12000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.881s user 0m0.316s sys 0m15.099s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff917951e12000.statahead_batch_max=256 llite.lustre-ffff917951e12000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff917951e12000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.638s user 0m0.328s sys 0m15.297s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff917951e12000.batch_stats= snapshot_time: 1783959414.207272682 secs.nsecs start_time: 1783959336.094905455 secs.nsecs elapsed_time: 78.112367227 secs.nsecs subreqs per batch batches %% cum %% 1: 175 47 47 2: 59 15 63 4: 39 10 73 8: 24 6 80 16: 21 5 85 32: 14 3 89 64: 4 1 90 128: 0 0 90 256: 35 9 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-ffff917951e12000.statahead_batch_max=64 llite.lustre-ffff917951e12000.statahead_max=128