== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:26:56 (1785763616) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=0 llite.lustre-ffff8bf746822800.statahead_max=32 llite.lustre-ffff8bf746822800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.43 seconds: 29.19 ops/second llite.lustre-ffff8bf746822800.statahead_max=0 101 real 0m3.837s user 0m0.002s sys 0m0.331s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff8bf746822800.statahead_max=32 llite.lustre-ffff8bf746822800.statahead_max=32 101 real 0m1.220s user 0m0.007s sys 0m0.175s 'ls -l' 100 files with statahead: 2 sec statahead total: 167 statahead wrong: 2 agl total: 150 list_total: 30 fname_total: 137 hit_total: 3871 miss_total: 1462 swrong=2 ewrong=2 - open/close 690 (time 1785763652.05 total 10.01 last 68.90) total: 900 open/close in 14.14 seconds: 63.66 ops/second llite.lustre-ffff8bf746822800.statahead_max=0 1001 real 0m34.169s user 0m0.034s sys 0m2.994s 'ls -l' 1000 files without statahead: 35 sec llite.lustre-ffff8bf746822800.statahead_max=32 llite.lustre-ffff8bf746822800.statahead_max=32 1001 real 0m11.007s user 0m0.024s sys 0m1.443s 'ls -l' 1000 files with statahead: 11 sec statahead total: 168 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 137 hit_total: 4870 miss_total: 1463 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8bf746822800.statahead_stats= statahead total: 168 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 137 hit_total: 4870 miss_total: 1463 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785763739.563917752 secs.nsecs start_time: 1785763623.548561310 secs.nsecs elapsed_time: 116.015356442 secs.nsecs subreqs per batch batches %% cum %% 1: 3 8 8 2: 1 2 10 4: 1 2 13 8: 2 5 18 16: 25 67 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785763739.563980819 secs.nsecs start_time: 1785763623.548653976 secs.nsecs elapsed_time: 116.015326843 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 2 5 12 16: 14 35 47 32: 21 52 100 - open/close 747 (time 1785763752.78 total 10.01 last 74.64) - open/close 1304 (time 1785763762.79 total 20.02 last 55.65) - open/close 1826 (time 1785763772.79 total 30.02 last 52.17) - open/close 2597 (time 1785763782.82 total 40.05 last 76.91) - open/close 3271 (time 1785763792.83 total 50.06 last 67.30) - open/close 4008 (time 1785763802.83 total 60.06 last 73.68) - open/close 4851 (time 1785763812.84 total 70.07 last 84.26) - open/close 5492 (time 1785763822.85 total 80.08 last 64.03) - open/close 6075 (time 1785763832.87 total 90.10 last 58.19) - open/close 6806 (time 1785763842.88 total 100.11 last 72.98) - open/close 7495 (time 1785763852.88 total 110.12 last 68.89) - open/close 8022 (time 1785763862.92 total 120.15 last 52.51) - open/close 8594 (time 1785763872.93 total 130.16 last 57.15) - open/close 9153 (time 1785763882.93 total 140.16 last 55.88) - open/close 9900 (time 1785763892.96 total 150.19 last 74.47) total: 10000 open/close in 152.15 seconds: 65.73 ops/second llite.lustre-ffff8bf746822800.statahead_batch_max=0 llite.lustre-ffff8bf746822800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m31.974s user 0m0.296s sys 0m15.463s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8bf746822800.statahead_batch_max=32 llite.lustre-ffff8bf746822800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m51.137s user 0m0.297s sys 0m15.473s batched statahead RPC= hit count=9978 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785764193.054820662 secs.nsecs start_time: 1785764001.987724954 secs.nsecs elapsed_time: 191.067095708 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785764193.054891311 secs.nsecs start_time: 1785764001.987801308 secs.nsecs elapsed_time: 191.067090003 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=0 llite.lustre-ffff8bf746822800.statahead_max=2048 llite.lustre-ffff8bf746822800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.74 seconds: 26.71 ops/second llite.lustre-ffff8bf746822800.statahead_max=0 101 real 0m5.144s user 0m0.006s sys 0m0.327s 'ls -l' 100 files without statahead: 5 sec llite.lustre-ffff8bf746822800.statahead_max=2048 llite.lustre-ffff8bf746822800.statahead_max=2048 101 real 0m1.527s user 0m0.008s 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: 10077 miss_total: 23 swrong=0 ewrong=0 - open/close 527 (time 1785764598.77 total 10.02 last 52.59) total: 900 open/close in 14.79 seconds: 60.87 ops/second llite.lustre-ffff8bf746822800.statahead_max=0 1001 real 0m33.390s user 0m0.028s sys 0m3.034s 'ls -l' 1000 files without statahead: 34 sec llite.lustre-ffff8bf746822800.statahead_max=2048 llite.lustre-ffff8bf746822800.statahead_max=2048 1001 real 0m10.917s user 0m0.019s sys 0m1.342s 'ls -l' 1000 files with statahead: 11 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8bf746822800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785764689.100050709 secs.nsecs start_time: 1785764196.298819876 secs.nsecs elapsed_time: 492.801230833 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 20 20 8: 4 40 60 16: 1 10 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785764689.100112262 secs.nsecs start_time: 1785764196.298942412 secs.nsecs elapsed_time: 492.801169850 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 30 30 8: 1 10 40 16: 2 20 60 32: 1 10 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 602 (time 1785764702.02 total 10.01 last 60.14) - open/close 1226 (time 1785764712.03 total 20.02 last 62.32) - open/close 1676 (time 1785764722.04 total 30.03 last 44.95) - open/close 2219 (time 1785764732.05 total 40.05 last 54.24) - open/close 2762 (time 1785764742.07 total 50.06 last 54.21) - open/close 3614 (time 1785764752.08 total 60.07 last 85.15) - open/close 4286 (time 1785764762.08 total 70.07 last 67.15) - open/close 4760 (time 1785764772.08 total 80.07 last 47.40) - open/close 5203 (time 1785764782.09 total 90.08 last 44.27) - open/close 5699 (time 1785764792.10 total 100.09 last 49.56) - open/close 6173 (time 1785764802.12 total 110.11 last 47.31) - open/close 6774 (time 1785764812.13 total 120.12 last 60.02) - open/close 7496 (time 1785764822.15 total 130.14 last 72.07) - open/close 8055 (time 1785764832.15 total 140.15 last 55.86) - open/close 8587 (time 1785764842.16 total 150.15 last 53.17) - open/close 9302 (time 1785764852.18 total 160.17 last 71.35) - open/close 9972 (time 1785764862.20 total 170.19 last 66.86) total: 10000 open/close in 170.55 seconds: 58.63 ops/second llite.lustre-ffff8bf746822800.statahead_batch_max=0 llite.lustre-ffff8bf746822800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m35.551s user 0m0.300s sys 0m15.207s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8bf746822800.statahead_batch_max=256 llite.lustre-ffff8bf746822800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf746822800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf746822800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m29.749s user 0m0.272s sys 0m14.679s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785765084.982830776 secs.nsecs start_time: 1785764972.991106379 secs.nsecs elapsed_time: 111.991724397 secs.nsecs subreqs per batch batches %% cum %% 1: 169 48 48 2: 66 18 66 4: 30 8 75 8: 16 4 80 16: 14 3 84 32: 15 4 88 64: 7 1 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff8bf746822800.batch_stats= snapshot_time: 1785765084.982887206 secs.nsecs start_time: 1785764972.991364898 secs.nsecs elapsed_time: 111.991522308 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-ffff8bf746822800.statahead_batch_max=64 llite.lustre-ffff8bf746822800.statahead_max=128