== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:42:12 (1786041732) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=0 llite.lustre-ffff965d05c45000.statahead_max=32 llite.lustre-ffff965d05c45000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.32 seconds: 43.16 ops/second llite.lustre-ffff965d05c45000.statahead_max=0 101 real 0m2.184s user 0m0.007s sys 0m0.351s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff965d05c45000.statahead_max=32 llite.lustre-ffff965d05c45000.statahead_max=32 101 real 0m0.801s user 0m0.005s sys 0m0.180s 'ls -l' 100 files with statahead: 0 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 31 fname_total: 94 hit_total: 4129 miss_total: 1205 swrong=2 ewrong=2 total: 900 open/close in 9.35 seconds: 96.23 ops/second llite.lustre-ffff965d05c45000.statahead_max=0 1001 real 0m18.818s user 0m0.028s sys 0m3.224s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff965d05c45000.statahead_max=32 llite.lustre-ffff965d05c45000.statahead_max=32 1001 real 0m11.225s user 0m0.031s sys 0m1.551s 'ls -l' 1000 files with statahead: 12 sec statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 32 fname_total: 94 hit_total: 5125 miss_total: 1209 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff965d05c45000.statahead_stats= statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 32 fname_total: 94 hit_total: 5125 miss_total: 1209 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786041821.518390688 secs.nsecs start_time: 1786041738.036891955 secs.nsecs elapsed_time: 83.481498733 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 5 12 12 8: 2 5 17 16: 20 50 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786041821.518565390 secs.nsecs start_time: 1786041738.036985207 secs.nsecs elapsed_time: 83.481580183 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 10 10 8: 1 2 12 16: 21 53 66 32: 13 33 100 - open/close 1002 (time 1786041834.43 total 10.00 last 100.18) - open/close 1940 (time 1786041844.44 total 20.01 last 93.73) - open/close 2984 (time 1786041854.44 total 30.01 last 104.35) - open/close 4092 (time 1786041864.45 total 40.02 last 110.69) - open/close 5059 (time 1786041874.46 total 50.03 last 96.60) - open/close 6035 (time 1786041884.47 total 60.04 last 97.53) - open/close 6848 (time 1786041894.48 total 70.05 last 81.26) - open/close 7817 (time 1786041904.48 total 80.05 last 96.87) - open/close 8846 (time 1786041914.48 total 90.05 last 102.89) - open/close 9792 (time 1786041924.48 total 100.05 last 94.60) total: 10000 open/close in 101.91 seconds: 98.12 ops/second llite.lustre-ffff965d05c45000.statahead_batch_max=0 llite.lustre-ffff965d05c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.243s user 0m0.297s sys 0m16.590s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff965d05c45000.statahead_batch_max=32 llite.lustre-ffff965d05c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m28.603s user 0m0.266s sys 0m15.048s batched statahead RPC= hit count=9992 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786042086.499254099 secs.nsecs start_time: 1786041986.415719670 secs.nsecs elapsed_time: 100.083534429 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 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786042086.499336597 secs.nsecs start_time: 1786041986.415905821 secs.nsecs elapsed_time: 100.083430776 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=0 llite.lustre-ffff965d05c45000.statahead_max=2048 llite.lustre-ffff965d05c45000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.85 seconds: 35.06 ops/second llite.lustre-ffff965d05c45000.statahead_max=0 101 real 0m2.372s user 0m0.003s sys 0m0.342s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff965d05c45000.statahead_max=2048 llite.lustre-ffff965d05c45000.statahead_max=2048 101 real 0m1.280s user 0m0.003s sys 0m0.214s '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: 10091 miss_total: 9 swrong=0 ewrong=0 - open/close 755 (time 1786042360.28 total 10.00 last 75.47) total: 900 open/close in 12.33 seconds: 73.00 ops/second llite.lustre-ffff965d05c45000.statahead_max=0 1001 real 0m20.374s user 0m0.025s sys 0m3.081s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff965d05c45000.statahead_max=2048 llite.lustre-ffff965d05c45000.statahead_max=2048 1001 real 0m7.497s user 0m0.034s sys 0m1.539s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff965d05c45000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786042425.150816099 secs.nsecs start_time: 1786042089.172296321 secs.nsecs elapsed_time: 335.978519778 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 66 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-ffff965d05c45000.batch_stats= snapshot_time: 1786042425.150935766 secs.nsecs start_time: 1786042089.172455650 secs.nsecs elapsed_time: 335.978480116 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 1 11 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 904 (time 1786042437.72 total 10.01 last 90.30) - open/close 1820 (time 1786042447.72 total 20.01 last 91.60) - open/close 2640 (time 1786042457.72 total 30.01 last 81.97) - open/close 3461 (time 1786042467.73 total 40.02 last 82.07) - open/close 4227 (time 1786042477.73 total 50.02 last 76.58) - open/close 5212 (time 1786042487.73 total 60.02 last 98.49) - open/close 6102 (time 1786042497.75 total 70.05 last 88.79) - open/close 6970 (time 1786042507.76 total 80.05 last 86.76) - open/close 7928 (time 1786042517.76 total 90.05 last 95.79) - open/close 8924 (time 1786042527.77 total 100.06 last 99.50) - open/close 9852 (time 1786042537.77 total 110.06 last 92.79) total: 10000 open/close in 111.61 seconds: 89.60 ops/second llite.lustre-ffff965d05c45000.statahead_batch_max=0 llite.lustre-ffff965d05c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.208s user 0m0.282s sys 0m15.972s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff965d05c45000.statahead_batch_max=256 llite.lustre-ffff965d05c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff965d05c45000.stats=clear mdc.lustre-MDT0001-mdc-ffff965d05c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.600s user 0m0.315s sys 0m15.875s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786042691.470478827 secs.nsecs start_time: 1786042609.166496361 secs.nsecs elapsed_time: 82.303982466 secs.nsecs subreqs per batch batches %% cum %% 1: 227 52 52 2: 63 14 66 4: 49 11 77 8: 27 6 84 16: 14 3 87 32: 17 3 91 64: 4 0 92 128: 0 0 92 256: 34 7 100 mdc.lustre-MDT0001-mdc-ffff965d05c45000.batch_stats= snapshot_time: 1786042691.470550790 secs.nsecs start_time: 1786042609.167078381 secs.nsecs elapsed_time: 82.303472409 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-ffff965d05c45000.statahead_batch_max=64 llite.lustre-ffff965d05c45000.statahead_max=128