== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:08:38 (1779703718) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=0 llite.lustre-ffff9509052a8000.statahead_max=32 llite.lustre-ffff9509052a8000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.85 seconds: 25.99 ops/second llite.lustre-ffff9509052a8000.statahead_max=0 101 real 0m4.289s user 0m0.009s sys 0m0.408s 'ls -l' 100 files without statahead: 5 sec llite.lustre-ffff9509052a8000.statahead_max=32 llite.lustre-ffff9509052a8000.statahead_max=32 101 real 0m1.330s user 0m0.007s sys 0m0.171s 'ls -l' 100 files with statahead: 1 sec statahead total: 176 statahead wrong: 1 agl total: 171 list_total: 31 fname_total: 132 hit_total: 3656 miss_total: 258 swrong=1 ewrong=1 - open/close 698 (time 1779703754.35 total 10.01 last 69.73) total: 900 open/close in 13.57 seconds: 66.32 ops/second llite.lustre-ffff9509052a8000.statahead_max=0 1001 real 0m23.807s user 0m0.042s sys 0m3.206s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9509052a8000.statahead_max=32 llite.lustre-ffff9509052a8000.statahead_max=32 1001 real 0m10.201s user 0m0.026s sys 0m1.557s 'ls -l' 1000 files with statahead: 10 sec statahead total: 177 statahead wrong: 1 agl total: 172 list_total: 32 fname_total: 132 hit_total: 4651 miss_total: 263 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9509052a8000.statahead_stats= statahead total: 177 statahead wrong: 1 agl total: 172 list_total: 32 fname_total: 132 hit_total: 4651 miss_total: 263 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779703829.499836581 secs.nsecs start_time: 1779703724.109600552 secs.nsecs elapsed_time: 105.390236029 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 3 8 10 4: 1 2 13 8: 2 5 18 16: 25 67 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779703829.499961855 secs.nsecs start_time: 1779703724.109681634 secs.nsecs elapsed_time: 105.390280221 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 4 10 17 16: 7 17 35 32: 26 65 100 - open/close 583 (time 1779703842.97 total 10.01 last 58.24) - open/close 1182 (time 1779703852.98 total 20.02 last 59.87) - open/close 1871 (time 1779703863.00 total 30.04 last 68.76) - open/close 2619 (time 1779703873.01 total 40.05 last 74.72) - open/close 3344 (time 1779703883.02 total 50.05 last 72.44) - open/close 4098 (time 1779703893.02 total 60.06 last 75.35) - open/close 4835 (time 1779703903.03 total 70.07 last 73.64) - open/close 5629 (time 1779703913.04 total 80.08 last 79.29) - open/close 6375 (time 1779703923.07 total 90.11 last 74.42) - open/close 7120 (time 1779703933.08 total 100.11 last 74.44) - open/close 7805 (time 1779703943.08 total 110.12 last 68.46) - open/close 8533 (time 1779703953.08 total 120.12 last 72.79) - open/close 9222 (time 1779703963.10 total 130.13 last 68.82) - open/close 9939 (time 1779703973.10 total 140.13 last 71.69) total: 10000 open/close in 141.02 seconds: 70.91 ops/second llite.lustre-ffff9509052a8000.statahead_batch_max=0 llite.lustre-ffff9509052a8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.918s user 0m0.299s sys 0m16.419s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9509052a8000.statahead_batch_max=32 llite.lustre-ffff9509052a8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.892s user 0m0.311s sys 0m15.192s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779704174.209825753 secs.nsecs start_time: 1779704053.630377096 secs.nsecs elapsed_time: 120.579448657 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-ffff9509052a8000.batch_stats= snapshot_time: 1779704174.209898638 secs.nsecs start_time: 1779704053.630471746 secs.nsecs elapsed_time: 120.579426892 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=0 llite.lustre-ffff9509052a8000.statahead_max=2048 llite.lustre-ffff9509052a8000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.04 seconds: 32.90 ops/second llite.lustre-ffff9509052a8000.statahead_max=0 101 real 0m2.420s user 0m0.003s sys 0m0.327s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9509052a8000.statahead_max=2048 llite.lustre-ffff9509052a8000.statahead_max=2048 101 real 0m1.079s user 0m0.005s sys 0m0.204s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 646 (time 1779704519.49 total 10.01 last 64.53) total: 900 open/close in 14.30 seconds: 62.95 ops/second llite.lustre-ffff9509052a8000.statahead_max=0 1001 real 0m23.700s user 0m0.037s sys 0m2.947s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9509052a8000.statahead_max=2048 llite.lustre-ffff9509052a8000.statahead_max=2048 1001 real 0m7.704s user 0m0.025s sys 0m1.563s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9509052a8000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779704592.451239610 secs.nsecs start_time: 1779704176.785699517 secs.nsecs elapsed_time: 415.665540093 secs.nsecs subreqs per batch batches % cum % 1: 1 14 14 2: 2 28 42 4: 0 0 42 8: 2 28 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779704592.451311847 secs.nsecs start_time: 1779704176.785862371 secs.nsecs elapsed_time: 415.665449476 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 20 20 8: 2 20 40 16: 0 0 40 32: 3 30 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 625 (time 1779704604.92 total 10.01 last 62.46) - open/close 1199 (time 1779704614.93 total 20.01 last 57.38) - open/close 1852 (time 1779704624.93 total 30.01 last 65.29) - open/close 2457 (time 1779704634.93 total 40.02 last 60.47) - open/close 3102 (time 1779704644.95 total 50.03 last 64.41) - open/close 3743 (time 1779704654.95 total 60.04 last 64.07) - open/close 4406 (time 1779704664.96 total 70.04 last 66.25) - open/close 5057 (time 1779704674.97 total 80.05 last 65.05) - open/close 5690 (time 1779704684.99 total 90.07 last 63.17) - open/close 6338 (time 1779704695.00 total 100.09 last 64.70) - open/close 7018 (time 1779704705.01 total 110.09 last 67.96) - open/close 7720 (time 1779704715.02 total 120.11 last 70.10) - open/close 8410 (time 1779704725.02 total 130.11 last 69.00) - open/close 9180 (time 1779704735.03 total 140.11 last 76.97) - open/close 9934 (time 1779704745.03 total 150.11 last 75.40) total: 10000 open/close in 151.04 seconds: 66.21 ops/second llite.lustre-ffff9509052a8000.statahead_batch_max=0 llite.lustre-ffff9509052a8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m13.141s user 0m0.311s sys 0m16.850s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9509052a8000.statahead_batch_max=256 llite.lustre-ffff9509052a8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9509052a8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9509052a8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.890s user 0m0.298s sys 0m16.439s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779704900.710424114 secs.nsecs start_time: 1779704828.501586392 secs.nsecs elapsed_time: 72.208837722 secs.nsecs subreqs per batch batches % cum % 1: 213 54 54 2: 52 13 68 4: 31 7 76 8: 18 4 80 16: 20 5 86 32: 13 3 89 64: 7 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff9509052a8000.batch_stats= snapshot_time: 1779704900.710495646 secs.nsecs start_time: 1779704828.501720249 secs.nsecs elapsed_time: 72.208775397 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-ffff9509052a8000.statahead_batch_max=64 llite.lustre-ffff9509052a8000.statahead_max=128