== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:47:13 (1782733633) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=0 llite.lustre-ffff948050728000.statahead_max=32 llite.lustre-ffff948050728000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=0 total: 100 open/close in 2.51 seconds: 39.88 ops/second llite.lustre-ffff948050728000.statahead_max=0 101 real 0m1.831s user 0m0.002s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948050728000.statahead_max=32 llite.lustre-ffff948050728000.statahead_max=32 101 real 0m1.189s user 0m0.004s sys 0m0.190s 'ls -l' 100 files with statahead: 1 sec statahead total: 145 statahead wrong: 2 agl total: 134 list_total: 30 fname_total: 88 hit_total: 4032 miss_total: 1609 swrong=2 ewrong=2 - open/close 633 (time 1782733660.00 total 10.02 last 63.18) total: 900 open/close in 12.95 seconds: 69.49 ops/second llite.lustre-ffff948050728000.statahead_max=0 1001 real 0m18.285s user 0m0.030s sys 0m2.977s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff948050728000.statahead_max=32 llite.lustre-ffff948050728000.statahead_max=32 1001 real 0m9.702s user 0m0.036s sys 0m1.474s 'ls -l' 1000 files with statahead: 10 sec statahead total: 146 statahead wrong: 2 agl total: 135 list_total: 31 fname_total: 88 hit_total: 5030 miss_total: 1611 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff948050728000.statahead_stats= statahead total: 146 statahead wrong: 2 agl total: 135 list_total: 31 fname_total: 88 hit_total: 5030 miss_total: 1611 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats= snapshot_time: 1782733723.641478675 secs.nsecs start_time: 1782733638.396407927 secs.nsecs elapsed_time: 85.245070748 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 744 (time 1782733736.29 total 10.01 last 74.35) - open/close 1589 (time 1782733746.29 total 20.01 last 84.48) - open/close 2504 (time 1782733756.29 total 30.01 last 91.46) - open/close 3390 (time 1782733766.30 total 40.02 last 88.57) - open/close 4267 (time 1782733776.30 total 50.02 last 87.69) - open/close 5121 (time 1782733786.30 total 60.02 last 85.37) - open/close 5932 (time 1782733796.31 total 70.02 last 81.07) - open/close 6895 (time 1782733806.31 total 80.03 last 96.23) - open/close 7798 (time 1782733816.32 total 90.04 last 90.27) - open/close 8640 (time 1782733826.33 total 100.04 last 84.13) - open/close 9554 (time 1782733836.33 total 110.05 last 91.37) total: 10000 open/close in 115.12 seconds: 86.86 ops/second llite.lustre-ffff948050728000.statahead_batch_max=0 llite.lustre-ffff948050728000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.614s user 0m0.305s sys 0m15.779s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948050728000.statahead_batch_max=32 llite.lustre-ffff948050728000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.233s user 0m0.316s sys 0m14.697s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats= snapshot_time: 1782734024.144732241 secs.nsecs start_time: 1782733912.183909722 secs.nsecs elapsed_time: 111.960822519 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=0 llite.lustre-ffff948050728000.statahead_max=2048 llite.lustre-ffff948050728000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=0 total: 100 open/close in 2.27 seconds: 44.05 ops/second llite.lustre-ffff948050728000.statahead_max=0 101 real 0m1.938s user 0m0.004s sys 0m0.326s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948050728000.statahead_max=2048 llite.lustre-ffff948050728000.statahead_max=2048 101 real 0m0.762s user 0m0.007s sys 0m0.203s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 849 (time 1782734307.44 total 10.01 last 84.83) total: 900 open/close in 10.55 seconds: 85.34 ops/second llite.lustre-ffff948050728000.statahead_max=0 1001 real 0m17.952s user 0m0.031s sys 0m3.058s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff948050728000.statahead_max=2048 llite.lustre-ffff948050728000.statahead_max=2048 1001 real 0m5.996s user 0m0.030s sys 0m1.522s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff948050728000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats= snapshot_time: 1782734367.160965986 secs.nsecs start_time: 1782734026.600408251 secs.nsecs elapsed_time: 340.560557735 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 585 (time 1782734380.00 total 10.01 last 58.46) - open/close 1198 (time 1782734390.02 total 20.02 last 61.20) - open/close 1834 (time 1782734400.03 total 30.03 last 63.53) - open/close 2694 (time 1782734410.03 total 40.04 last 86.00) - open/close 3526 (time 1782734420.04 total 50.05 last 83.11) - open/close 4156 (time 1782734430.05 total 60.05 last 62.96) - open/close 5019 (time 1782734440.05 total 70.05 last 86.30) - open/close 5852 (time 1782734450.05 total 80.06 last 83.27) - open/close 6750 (time 1782734460.05 total 90.06 last 89.79) - open/close 7613 (time 1782734470.05 total 100.06 last 86.28) - open/close 8412 (time 1782734480.05 total 110.06 last 79.89) - open/close 9080 (time 1782734490.07 total 120.07 last 66.71) - open/close 9607 (time 1782734500.07 total 130.08 last 52.69) total: 10000 open/close in 136.13 seconds: 73.46 ops/second llite.lustre-ffff948050728000.statahead_batch_max=0 llite.lustre-ffff948050728000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.682s user 0m0.277s sys 0m14.830s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948050728000.statahead_batch_max=256 llite.lustre-ffff948050728000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948050728000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.390s user 0m0.292s sys 0m15.604s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff948050728000.batch_stats= snapshot_time: 1782734629.615101435 secs.nsecs start_time: 1782734567.354747617 secs.nsecs elapsed_time: 62.260353818 secs.nsecs subreqs per batch batches %% cum %% 1: 243 52 52 2: 64 13 66 4: 58 12 79 8: 24 5 84 16: 15 3 88 32: 15 3 91 64: 6 1 92 128: 1 0 92 256: 33 7 100 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-ffff948050728000.statahead_batch_max=64 llite.lustre-ffff948050728000.statahead_max=128