== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:57:32 (1778619452) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=0 llite.lustre-ffff89db10465000.statahead_max=32 llite.lustre-ffff89db10465000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.79 seconds: 55.72 ops/second llite.lustre-ffff89db10465000.statahead_max=0 101 real 0m2.572s user 0m0.006s sys 0m0.324s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89db10465000.statahead_max=32 llite.lustre-ffff89db10465000.statahead_max=32 101 real 0m1.648s user 0m0.006s sys 0m0.204s 'ls -l' 100 files with statahead: 2 sec statahead total: 148 statahead wrong: 2 agl total: 142 list_total: 30 fname_total: 118 hit_total: 3802 miss_total: 1510 swrong=2 ewrong=2 - open/close 822 (time 1778619480.93 total 10.01 last 82.13) total: 900 open/close in 10.91 seconds: 82.47 ops/second llite.lustre-ffff89db10465000.statahead_max=0 1001 real 0m22.057s user 0m0.036s sys 0m3.091s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff89db10465000.statahead_max=32 llite.lustre-ffff89db10465000.statahead_max=32 1001 real 0m9.980s user 0m0.029s sys 0m1.480s 'ls -l' 1000 files with statahead: 10 sec statahead total: 149 statahead wrong: 2 agl total: 143 list_total: 31 fname_total: 118 hit_total: 4800 miss_total: 1512 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff89db10465000.statahead_stats= statahead total: 149 statahead wrong: 2 agl total: 143 list_total: 31 fname_total: 118 hit_total: 4800 miss_total: 1512 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778619544.698025137 secs.nsecs start_time: 1778619458.105650387 secs.nsecs elapsed_time: 86.592374750 secs.nsecs subreqs per batch batches % cum % 1: 3 8 8 2: 1 2 10 4: 1 2 13 8: 1 2 16 16: 27 72 89 32: 4 10 100 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778619544.698132694 secs.nsecs start_time: 1778619458.105770890 secs.nsecs elapsed_time: 86.592361804 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 1 2 5 4: 0 0 5 8: 4 10 15 16: 7 17 32 32: 27 67 100 - open/close 818 (time 1778619557.19 total 10.00 last 81.77) - open/close 1671 (time 1778619567.20 total 20.01 last 85.25) - open/close 2508 (time 1778619577.23 total 30.04 last 83.48) - open/close 3393 (time 1778619587.24 total 40.05 last 88.42) - open/close 4287 (time 1778619597.24 total 50.05 last 89.33) - open/close 5235 (time 1778619607.25 total 60.06 last 94.75) - open/close 6041 (time 1778619617.26 total 70.07 last 80.54) - open/close 6825 (time 1778619627.26 total 80.07 last 78.39) - open/close 7580 (time 1778619637.27 total 90.08 last 75.38) - open/close 8169 (time 1778619647.27 total 100.08 last 58.90) - open/close 8729 (time 1778619657.27 total 110.09 last 55.99) - open/close 9482 (time 1778619667.28 total 120.09 last 75.23) total: 10000 open/close in 126.78 seconds: 78.88 ops/second llite.lustre-ffff89db10465000.statahead_batch_max=0 llite.lustre-ffff89db10465000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.852s user 0m0.340s sys 0m16.047s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89db10465000.statahead_batch_max=32 llite.lustre-ffff89db10465000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.938s user 0m0.299s sys 0m14.555s batched statahead RPC= hit count=9969 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778619881.267533412 secs.nsecs start_time: 1778619751.954531872 secs.nsecs elapsed_time: 129.313001540 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: 313 99 100 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778619881.267600714 secs.nsecs start_time: 1778619751.954633125 secs.nsecs elapsed_time: 129.312967589 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=0 llite.lustre-ffff89db10465000.statahead_max=2048 llite.lustre-ffff89db10465000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.65 seconds: 37.67 ops/second llite.lustre-ffff89db10465000.statahead_max=0 101 real 0m2.064s user 0m0.008s sys 0m0.318s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89db10465000.statahead_max=2048 llite.lustre-ffff89db10465000.statahead_max=2048 101 real 0m0.851s user 0m0.003s sys 0m0.154s '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: 10068 miss_total: 32 swrong=0 ewrong=0 - open/close 721 (time 1778620161.39 total 10.01 last 72.04) total: 900 open/close in 12.94 seconds: 69.54 ops/second llite.lustre-ffff89db10465000.statahead_max=0 1001 real 0m27.130s user 0m0.026s sys 0m3.063s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff89db10465000.statahead_max=2048 llite.lustre-ffff89db10465000.statahead_max=2048 1001 real 0m8.994s user 0m0.036s sys 0m1.505s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11067 miss_total: 33 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff89db10465000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11067 miss_total: 33 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778620234.633844876 secs.nsecs start_time: 1778619883.671843266 secs.nsecs elapsed_time: 350.962001610 secs.nsecs subreqs per batch batches % cum % 1: 1 16 16 2: 1 16 33 4: 1 16 50 8: 1 16 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778620234.633915464 secs.nsecs start_time: 1778619883.673255549 secs.nsecs elapsed_time: 350.960659915 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 11 11 4: 0 0 11 8: 2 22 33 16: 1 11 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 863 (time 1778620247.28 total 10.00 last 86.27) - open/close 1783 (time 1778620257.28 total 20.00 last 92.00) - open/close 2608 (time 1778620267.28 total 30.01 last 82.44) - open/close 3346 (time 1778620277.29 total 40.02 last 73.74) - open/close 4010 (time 1778620287.29 total 50.02 last 66.39) - open/close 4617 (time 1778620297.30 total 60.03 last 60.63) - open/close 5258 (time 1778620307.30 total 70.03 last 64.09) - open/close 6080 (time 1778620317.31 total 80.04 last 82.15) - open/close 6863 (time 1778620327.32 total 90.05 last 78.20) - open/close 7723 (time 1778620337.32 total 100.05 last 86.00) - open/close 8741 (time 1778620347.33 total 110.05 last 101.77) - open/close 9694 (time 1778620357.33 total 120.06 last 95.23) total: 10000 open/close in 123.88 seconds: 80.72 ops/second llite.lustre-ffff89db10465000.statahead_batch_max=0 llite.lustre-ffff89db10465000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.497s user 0m0.330s sys 0m15.642s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89db10465000.statahead_batch_max=256 llite.lustre-ffff89db10465000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89db10465000.stats=clear mdc.lustre-MDT0001-mdc-ffff89db10465000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.821s user 0m0.294s sys 0m15.160s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778620515.513505562 secs.nsecs start_time: 1778620437.836181105 secs.nsecs elapsed_time: 77.677324457 secs.nsecs subreqs per batch batches % cum % 1: 185 44 44 2: 77 18 62 4: 50 11 74 8: 33 7 82 16: 16 3 86 32: 15 3 90 64: 7 1 91 128: 1 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff89db10465000.batch_stats= snapshot_time: 1778620515.513569000 secs.nsecs start_time: 1778620437.836268432 secs.nsecs elapsed_time: 77.677300568 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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-ffff89db10465000.statahead_batch_max=64 llite.lustre-ffff89db10465000.statahead_max=128