== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:27:46 (1786757266) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=0 llite.lustre-ffff9fc0d8b49000.statahead_max=32 llite.lustre-ffff9fc0d8b49000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.20 seconds: 31.28 ops/second llite.lustre-ffff9fc0d8b49000.statahead_max=0 101 real 0m4.479s user 0m0.005s sys 0m0.420s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9fc0d8b49000.statahead_max=32 llite.lustre-ffff9fc0d8b49000.statahead_max=32 101 real 0m1.284s user 0m0.008s sys 0m0.229s 'ls -l' 100 files with statahead: 1 sec statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 31 fname_total: 84 hit_total: 4147 miss_total: 1293 swrong=2 ewrong=2 - open/close 470 (time 1786757302.04 total 10.04 last 46.83) total: 900 open/close in 18.92 seconds: 47.57 ops/second llite.lustre-ffff9fc0d8b49000.statahead_max=0 1001 real 0m27.531s user 0m0.037s sys 0m3.690s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9fc0d8b49000.statahead_max=32 llite.lustre-ffff9fc0d8b49000.statahead_max=32 1001 real 0m11.343s user 0m0.032s sys 0m1.504s 'ls -l' 1000 files with statahead: 11 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 84 hit_total: 5144 miss_total: 1296 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9fc0d8b49000.statahead_stats= statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 84 hit_total: 5144 miss_total: 1296 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786757389.574676223 secs.nsecs start_time: 1786757272.227423371 secs.nsecs elapsed_time: 117.347252852 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 8 4: 2 5 13 8: 2 5 18 16: 23 62 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786757389.574750478 secs.nsecs start_time: 1786757272.229795421 secs.nsecs elapsed_time: 117.344955057 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 4 10 15 16: 10 25 41 32: 23 58 100 - open/close 712 (time 1786757401.98 total 10.00 last 71.20) - open/close 1403 (time 1786757411.99 total 20.00 last 69.08) - open/close 1957 (time 1786757422.00 total 30.01 last 55.35) - open/close 2350 (time 1786757432.00 total 40.02 last 39.28) - open/close 2886 (time 1786757442.01 total 50.02 last 53.56) - open/close 3515 (time 1786757452.01 total 60.02 last 62.89) - open/close 4282 (time 1786757462.01 total 70.03 last 76.68) - open/close 5000 (time 1786757472.03 total 80.05 last 71.67) - open/close 5698 (time 1786757482.04 total 90.05 last 69.74) - open/close 6412 (time 1786757492.05 total 100.06 last 71.35) - open/close 7117 (time 1786757502.05 total 110.06 last 70.48) - open/close 7785 (time 1786757512.06 total 120.07 last 66.74) - open/close 8542 (time 1786757522.07 total 130.08 last 75.61) - open/close 9065 (time 1786757532.08 total 140.10 last 52.22) - open/close 9534 (time 1786757542.09 total 150.10 last 46.88) total: 10000 open/close in 157.70 seconds: 63.41 ops/second llite.lustre-ffff9fc0d8b49000.statahead_batch_max=0 llite.lustre-ffff9fc0d8b49000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m19.232s user 0m0.360s sys 0m16.626s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fc0d8b49000.statahead_batch_max=32 llite.lustre-ffff9fc0d8b49000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m5.850s user 0m0.338s sys 0m16.235s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786757782.947289006 secs.nsecs start_time: 1786757641.796871957 secs.nsecs elapsed_time: 141.150417049 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-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786757782.947358434 secs.nsecs start_time: 1786757641.797071582 secs.nsecs elapsed_time: 141.150286852 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=0 llite.lustre-ffff9fc0d8b49000.statahead_max=2048 llite.lustre-ffff9fc0d8b49000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.34 seconds: 29.97 ops/second llite.lustre-ffff9fc0d8b49000.statahead_max=0 101 real 0m2.595s user 0m0.009s sys 0m0.348s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9fc0d8b49000.statahead_max=2048 llite.lustre-ffff9fc0d8b49000.statahead_max=2048 101 real 0m1.091s user 0m0.005s sys 0m0.184s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 706 (time 1786758150.62 total 10.01 last 70.55) total: 900 open/close in 12.98 seconds: 69.33 ops/second llite.lustre-ffff9fc0d8b49000.statahead_max=0 1001 real 0m26.028s user 0m0.037s sys 0m3.229s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9fc0d8b49000.statahead_max=2048 llite.lustre-ffff9fc0d8b49000.statahead_max=2048 1001 real 0m8.195s user 0m0.030s sys 0m1.569s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff9fc0d8b49000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786758232.867389901 secs.nsecs start_time: 1786757785.836573789 secs.nsecs elapsed_time: 447.030816112 secs.nsecs subreqs per batch batches %% cum %% 1: 2 25 25 2: 1 12 37 4: 1 12 50 8: 1 12 62 16: 1 12 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786758232.867457782 secs.nsecs start_time: 1786757785.836737068 secs.nsecs elapsed_time: 447.030720714 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 0 0 10 8: 4 40 50 16: 1 10 60 32: 1 10 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 646 (time 1786758245.86 total 10.01 last 64.52) - open/close 1250 (time 1786758255.89 total 20.04 last 60.21) - open/close 1991 (time 1786758265.89 total 30.05 last 74.09) - open/close 2701 (time 1786758275.90 total 40.05 last 70.96) - open/close 3216 (time 1786758285.95 total 50.10 last 51.24) - open/close 3714 (time 1786758295.96 total 60.11 last 49.75) - open/close 4297 (time 1786758305.97 total 70.13 last 58.22) - open/close 4786 (time 1786758315.99 total 80.15 last 48.81) - open/close 5403 (time 1786758325.99 total 90.15 last 61.70) - open/close 6134 (time 1786758335.99 total 100.15 last 73.08) - open/close 6743 (time 1786758346.01 total 110.17 last 60.79) - open/close 7385 (time 1786758356.02 total 120.17 last 64.17) - open/close 8084 (time 1786758366.03 total 130.18 last 69.81) - open/close 8701 (time 1786758376.04 total 140.19 last 61.66) - open/close 9451 (time 1786758386.04 total 150.20 last 74.94) total: 10000 open/close in 158.85 seconds: 62.95 ops/second llite.lustre-ffff9fc0d8b49000.statahead_batch_max=0 llite.lustre-ffff9fc0d8b49000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.644s user 0m0.330s sys 0m16.030s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fc0d8b49000.statahead_batch_max=256 llite.lustre-ffff9fc0d8b49000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.751s user 0m0.305s sys 0m16.116s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786758556.518429477 secs.nsecs start_time: 1786758476.658066627 secs.nsecs elapsed_time: 79.860362850 secs.nsecs subreqs per batch batches %% cum %% 1: 200 52 52 2: 70 18 70 4: 26 6 77 8: 24 6 83 16: 6 1 85 32: 17 4 89 64: 5 1 90 128: 1 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff9fc0d8b49000.batch_stats= snapshot_time: 1786758556.518501721 secs.nsecs start_time: 1786758476.658210416 secs.nsecs elapsed_time: 79.860291305 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-ffff9fc0d8b49000.statahead_batch_max=64 llite.lustre-ffff9fc0d8b49000.statahead_max=128