== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:41:00 (1786171260) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=0 llite.lustre-ffff9f0fd8c4c800.statahead_max=32 llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.91 seconds: 34.38 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_max=0 101 real 0m2.600s user 0m0.005s sys 0m0.357s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9f0fd8c4c800.statahead_max=32 llite.lustre-ffff9f0fd8c4c800.statahead_max=32 101 real 0m1.145s user 0m0.005s sys 0m0.208s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 1 agl total: 117 list_total: 31 fname_total: 79 hit_total: 3809 miss_total: 257 swrong=1 ewrong=1 - open/close 795 (time 1786171290.13 total 10.02 last 79.36) total: 900 open/close in 12.42 seconds: 72.49 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_max=0 1001 real 0m33.728s user 0m0.040s sys 0m3.288s 'ls -l' 1000 files without statahead: 34 sec llite.lustre-ffff9f0fd8c4c800.statahead_max=32 llite.lustre-ffff9f0fd8c4c800.statahead_max=32 1001 real 0m10.399s user 0m0.035s sys 0m1.543s 'ls -l' 1000 files with statahead: 10 sec statahead total: 124 statahead wrong: 1 agl total: 118 list_total: 32 fname_total: 79 hit_total: 4805 miss_total: 261 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff9f0fd8c4c800.statahead_stats= statahead total: 124 statahead wrong: 1 agl total: 118 list_total: 32 fname_total: 79 hit_total: 4805 miss_total: 261 mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786171381.097427656 secs.nsecs start_time: 1786171265.872315539 secs.nsecs elapsed_time: 115.225112117 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 2 5 10 4: 2 5 16 8: 0 0 16 16: 24 64 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786171381.097495739 secs.nsecs start_time: 1786171265.872391368 secs.nsecs elapsed_time: 115.225104371 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 3 7 13 16: 10 26 39 32: 23 60 100 - open/close 756 (time 1786171394.37 total 10.01 last 75.54) - open/close 1758 (time 1786171404.37 total 20.01 last 100.16) - open/close 2687 (time 1786171414.38 total 30.03 last 92.77) - open/close 3335 (time 1786171424.39 total 40.03 last 64.78) - open/close 4027 (time 1786171434.40 total 50.04 last 69.14) - open/close 4785 (time 1786171444.41 total 60.05 last 75.71) - open/close 5381 (time 1786171454.43 total 70.07 last 59.50) - open/close 6212 (time 1786171464.43 total 80.07 last 83.05) - open/close 7148 (time 1786171474.43 total 90.08 last 93.57) - open/close 7994 (time 1786171484.44 total 100.08 last 84.58) - open/close 8926 (time 1786171494.44 total 110.08 last 93.15) - open/close 9758 (time 1786171504.44 total 120.09 last 83.19) total: 10000 open/close in 122.92 seconds: 81.35 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=0 llite.lustre-ffff9f0fd8c4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.116s user 0m0.327s sys 0m16.057s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=32 llite.lustre-ffff9f0fd8c4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.106s user 0m0.292s sys 0m15.398s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786171720.097887232 secs.nsecs start_time: 1786171593.464893772 secs.nsecs elapsed_time: 126.632993460 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-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786171720.097950157 secs.nsecs start_time: 1786171593.464971692 secs.nsecs elapsed_time: 126.632978465 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=0 llite.lustre-ffff9f0fd8c4c800.statahead_max=2048 llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.62 seconds: 38.22 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_max=0 101 real 0m2.657s user 0m0.005s sys 0m0.350s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9f0fd8c4c800.statahead_max=2048 llite.lustre-ffff9f0fd8c4c800.statahead_max=2048 101 real 0m1.012s user 0m0.005s sys 0m0.188s '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 total: 900 open/close in 9.27 seconds: 97.08 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_max=0 1001 real 0m23.851s user 0m0.028s sys 0m3.112s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9f0fd8c4c800.statahead_max=2048 llite.lustre-ffff9f0fd8c4c800.statahead_max=2048 1001 real 0m6.966s user 0m0.030s sys 0m1.536s 'ls -l' 1000 files with statahead: 7 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: 20 seconds llite.lustre-ffff9f0fd8c4c800.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-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786172082.718541295 secs.nsecs start_time: 1786171722.502856254 secs.nsecs elapsed_time: 360.215685041 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 28 28 4: 2 28 57 8: 0 0 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786172082.718604632 secs.nsecs start_time: 1786171722.503008770 secs.nsecs elapsed_time: 360.215595862 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 4 44 55 16: 0 0 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 872 (time 1786172095.52 total 10.00 last 87.20) - open/close 1618 (time 1786172105.53 total 20.01 last 74.55) - open/close 2590 (time 1786172115.53 total 30.01 last 97.18) - open/close 3576 (time 1786172125.54 total 40.02 last 98.50) - open/close 4331 (time 1786172135.54 total 50.02 last 75.50) - open/close 5159 (time 1786172145.54 total 60.02 last 82.76) - open/close 5826 (time 1786172155.55 total 70.03 last 66.64) - open/close 6594 (time 1786172165.56 total 80.04 last 76.74) - open/close 7529 (time 1786172175.57 total 90.05 last 93.43) - open/close 8512 (time 1786172185.57 total 100.06 last 98.23) - open/close 9408 (time 1786172195.58 total 110.07 last 89.51) total: 10000 open/close in 117.21 seconds: 85.32 ops/second llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=0 llite.lustre-ffff9f0fd8c4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.488s user 0m0.332s sys 0m15.936s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f0fd8c4c800.statahead_batch_max=256 llite.lustre-ffff9f0fd8c4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.800s user 0m0.333s sys 0m16.544s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786172355.486381884 secs.nsecs start_time: 1786172275.511120323 secs.nsecs elapsed_time: 79.975261561 secs.nsecs subreqs per batch batches %% cum %% 1: 250 52 52 2: 74 15 67 4: 61 12 80 8: 22 4 85 16: 13 2 88 32: 17 3 91 64: 7 1 93 128: 0 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff9f0fd8c4c800.batch_stats= snapshot_time: 1786172355.486466801 secs.nsecs start_time: 1786172275.511244913 secs.nsecs elapsed_time: 79.975221888 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-ffff9f0fd8c4c800.statahead_batch_max=64 llite.lustre-ffff9f0fd8c4c800.statahead_max=128