== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:32:03 (1787437923) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=0 llite.lustre-ffff934f90225000.statahead_max=32 llite.lustre-ffff934f90225000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.98 seconds: 50.45 ops/second llite.lustre-ffff934f90225000.statahead_max=0 101 real 0m1.700s user 0m0.003s sys 0m0.271s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff934f90225000.statahead_max=32 llite.lustre-ffff934f90225000.statahead_max=32 101 real 0m0.951s user 0m0.003s sys 0m0.173s 'ls -l' 100 files with statahead: 0 sec statahead total: 156 statahead wrong: 2 agl total: 149 list_total: 30 fname_total: 126 hit_total: 3565 miss_total: 1214 swrong=2 ewrong=2 total: 900 open/close in 8.93 seconds: 100.80 ops/second llite.lustre-ffff934f90225000.statahead_max=0 1001 real 0m23.930s user 0m0.036s sys 0m2.862s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff934f90225000.statahead_max=32 llite.lustre-ffff934f90225000.statahead_max=32 1001 real 0m8.995s user 0m0.017s sys 0m1.311s 'ls -l' 1000 files with statahead: 9 sec statahead total: 157 statahead wrong: 2 agl total: 150 list_total: 31 fname_total: 126 hit_total: 4562 miss_total: 1217 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff934f90225000.statahead_stats= statahead total: 157 statahead wrong: 2 agl total: 150 list_total: 31 fname_total: 126 hit_total: 4562 miss_total: 1217 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438012.116560230 secs.nsecs start_time: 1787437928.110504519 secs.nsecs elapsed_time: 84.006055711 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 2 5 13 8: 3 8 21 16: 24 64 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438012.118650411 secs.nsecs start_time: 1787437928.110584757 secs.nsecs elapsed_time: 84.008065654 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 2 5 12 16: 8 20 33 32: 26 66 100 - open/close 1000 (time 1787438024.49 total 10.00 last 99.95) - open/close 2080 (time 1787438034.49 total 20.01 last 107.96) - open/close 3236 (time 1787438044.50 total 30.01 last 115.53) - open/close 4322 (time 1787438054.51 total 40.02 last 108.50) - open/close 5167 (time 1787438064.51 total 50.03 last 84.46) - open/close 5981 (time 1787438074.52 total 60.03 last 81.38) - open/close 6830 (time 1787438084.53 total 70.04 last 84.82) - open/close 7266 (time 1787438094.53 total 80.05 last 43.57) - open/close 7758 (time 1787438104.54 total 90.06 last 49.15) - open/close 8539 (time 1787438114.55 total 100.06 last 78.07) - open/close 9603 (time 1787438124.55 total 110.07 last 106.35) total: 10000 open/close in 113.80 seconds: 87.87 ops/second llite.lustre-ffff934f90225000.statahead_batch_max=0 llite.lustre-ffff934f90225000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.581s user 0m0.261s sys 0m13.463s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff934f90225000.statahead_batch_max=32 llite.lustre-ffff934f90225000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.575s user 0m0.262s sys 0m12.760s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438310.025717435 secs.nsecs start_time: 1787438202.926287244 secs.nsecs elapsed_time: 107.099430191 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-ffff934f90225000.batch_stats= snapshot_time: 1787438310.025785165 secs.nsecs start_time: 1787438202.926759685 secs.nsecs elapsed_time: 107.099025480 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=0 llite.lustre-ffff934f90225000.statahead_max=2048 llite.lustre-ffff934f90225000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.97 seconds: 50.67 ops/second llite.lustre-ffff934f90225000.statahead_max=0 101 real 0m1.970s user 0m0.005s sys 0m0.314s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff934f90225000.statahead_max=2048 llite.lustre-ffff934f90225000.statahead_max=2048 101 real 0m0.629s user 0m0.004s sys 0m0.163s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 790 (time 1787438584.37 total 10.01 last 78.94) total: 900 open/close in 12.06 seconds: 74.61 ops/second llite.lustre-ffff934f90225000.statahead_max=0 1001 real 0m20.460s user 0m0.034s sys 0m2.657s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff934f90225000.statahead_max=2048 llite.lustre-ffff934f90225000.statahead_max=2048 1001 real 0m4.401s user 0m0.021s sys 0m1.030s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff934f90225000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438645.676831474 secs.nsecs start_time: 1787438312.420457197 secs.nsecs elapsed_time: 333.256374277 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 20 20 8: 2 40 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438645.676892764 secs.nsecs start_time: 1787438312.420602035 secs.nsecs elapsed_time: 333.256290729 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 0 0 12 4: 0 0 12 8: 2 25 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 1090 (time 1787438658.02 total 10.00 last 108.99) - open/close 1911 (time 1787438668.03 total 20.01 last 82.04) - open/close 2814 (time 1787438678.03 total 30.01 last 90.26) - open/close 3759 (time 1787438688.04 total 40.02 last 94.40) - open/close 4733 (time 1787438698.06 total 50.04 last 97.28) - open/close 5723 (time 1787438708.06 total 60.04 last 98.94) - open/close 6806 (time 1787438718.07 total 70.04 last 108.27) - open/close 7966 (time 1787438728.07 total 80.04 last 115.98) - open/close 8977 (time 1787438738.07 total 90.05 last 101.07) - open/close 9982 (time 1787438748.08 total 100.05 last 100.43) total: 10000 open/close in 100.20 seconds: 99.80 ops/second llite.lustre-ffff934f90225000.statahead_batch_max=0 llite.lustre-ffff934f90225000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.579s user 0m0.296s sys 0m14.761s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff934f90225000.statahead_batch_max=256 llite.lustre-ffff934f90225000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff934f90225000.stats=clear mdc.lustre-MDT0001-mdc-ffff934f90225000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.292s user 0m0.278s sys 0m13.820s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438866.774814596 secs.nsecs start_time: 1787438809.850650702 secs.nsecs elapsed_time: 56.924163894 secs.nsecs subreqs per batch batches %% cum %% 1: 65 31 31 2: 35 16 48 4: 27 13 61 8: 12 5 67 16: 9 4 71 32: 18 8 80 64: 6 2 83 128: 0 0 83 256: 35 16 100 mdc.lustre-MDT0001-mdc-ffff934f90225000.batch_stats= snapshot_time: 1787438866.774870288 secs.nsecs start_time: 1787438809.850752421 secs.nsecs elapsed_time: 56.924117867 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-ffff934f90225000.statahead_batch_max=64 llite.lustre-ffff934f90225000.statahead_max=128