== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:45:08 (1744130708) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=0 llite.lustre-ffff880081fd5000.statahead_max=32 llite.lustre-ffff880081fd5000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.50 seconds: 201.37 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 101 real 0m0.478s user 0m0.004s sys 0m0.173s ls -l 100 files without statahead: 1 sec llite.lustre-ffff880081fd5000.statahead_max=32 32 101 real 0m0.322s user 0m0.002s sys 0m0.125s ls -l 100 files with statahead: 0 sec statahead total: 43 statahead wrong: 1 agl total: 43 list_total: 19 fname_total: 24 hit_total: 11548 miss_total: 218 total: 900 open/close in 1.66 seconds: 541.88 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 1001 real 0m5.102s user 0m0.034s sys 0m1.914s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff880081fd5000.statahead_max=32 32 1001 real 0m1.756s user 0m0.019s sys 0m0.955s ls -l 1000 files with statahead: 2 sec statahead total: 44 statahead wrong: 1 agl total: 44 list_total: 20 fname_total: 24 hit_total: 12547 miss_total: 219 - open/close 5367 (time 1744130732.43 total 10.00 last 536.64) total: 9000 open/close in 16.76 seconds: 537.05 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 10001 real 0m47.979s user 0m0.282s sys 0m17.473s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff880081fd5000.statahead_max=32 32 10001 real 0m16.996s user 0m0.207s sys 0m9.066s ls -l 10000 files with statahead: 17 sec statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 21 fname_total: 24 hit_total: 22546 miss_total: 220 ls -l done rm -r /mnt/lustre/d123ad.sanity: 52 seconds llite.lustre-ffff880081fd5000.statahead_stats= statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 21 fname_total: 24 hit_total: 22546 miss_total: 220 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744130861.029171496 secs.nsecs start_time: 1744130709.105078192 secs.nsecs elapsed_time: 151.924093304 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 5 1 1 8: 5 1 3 16: 194 54 57 32: 149 42 100 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744130861.029258853 secs.nsecs start_time: 1744130709.105135942 secs.nsecs elapsed_time: 151.924122911 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 1 0 0 4: 3 0 1 8: 10 2 4 16: 198 55 60 32: 142 40 100 - open/close 2303 (time 1744130872.07 total 10.00 last 230.24) - open/close 5340 (time 1744130882.07 total 20.00 last 303.64) - open/close 8152 (time 1744130892.07 total 30.01 last 281.19) total: 10000 open/close in 38.49 seconds: 259.82 ops/second llite.lustre-ffff880081fd5000.statahead_batch_max=0 llite.lustre-ffff880081fd5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m11.926s user 0m0.237s sys 0m10.069s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff880081fd5000.statahead_batch_max=32 llite.lustre-ffff880081fd5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.675s user 0m0.223s sys 0m9.226s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744130938.240244488 secs.nsecs start_time: 1744130914.878297001 secs.nsecs elapsed_time: 23.361947487 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744130938.240313880 secs.nsecs start_time: 1744130914.878382312 secs.nsecs elapsed_time: 23.361931568 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=0 llite.lustre-ffff880081fd5000.statahead_max=2048 llite.lustre-ffff880081fd5000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.48 seconds: 206.78 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 101 real 0m0.494s user 0m0.004s sys 0m0.190s ls -l 100 files without statahead: 0 sec llite.lustre-ffff880081fd5000.statahead_max=2048 2048 101 real 0m0.243s user 0m0.003s sys 0m0.101s ls -l 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 4 total: 900 open/close in 1.56 seconds: 577.85 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 1001 real 0m4.810s user 0m0.030s sys 0m1.760s ls -l 1000 files without statahead: 4 sec llite.lustre-ffff880081fd5000.statahead_max=2048 2048 1001 real 0m1.182s user 0m0.020s sys 0m0.811s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 5 - open/close 5592 (time 1744131036.59 total 10.00 last 559.17) total: 9000 open/close in 16.71 seconds: 538.60 ops/second llite.lustre-ffff880081fd5000.statahead_max=0 10001 real 0m52.888s user 0m0.367s sys 0m19.218s ls -l 10000 files without statahead: 53 sec llite.lustre-ffff880081fd5000.statahead_max=2048 2048 10001 real 0m10.474s user 0m0.181s sys 0m9.025s ls -l 10000 files with statahead: 11 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 6 ls -l done rm -r /mnt/lustre/d123ad.sanity: 37 seconds llite.lustre-ffff880081fd5000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 6 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744131147.420564310 secs.nsecs start_time: 1744130938.634242515 secs.nsecs elapsed_time: 208.786321795 secs.nsecs subreqs per batch batches % cum % 1: 76 61 61 2: 1 0 62 4: 2 1 63 8: 6 4 68 16: 3 2 70 32: 2 1 72 64: 0 0 72 128: 5 4 76 256: 29 23 100 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744131147.420627465 secs.nsecs start_time: 1744130938.634333061 secs.nsecs elapsed_time: 208.786294404 secs.nsecs subreqs per batch batches % cum % 1: 46 47 47 2: 2 2 50 4: 4 4 54 8: 5 5 59 16: 2 2 61 32: 2 2 63 64: 1 1 64 128: 3 3 67 256: 31 32 100 - open/close 5198 (time 1744131158.05 total 10.00 last 519.71) total: 10000 open/close in 19.04 seconds: 525.09 ops/second llite.lustre-ffff880081fd5000.statahead_batch_max=0 llite.lustre-ffff880081fd5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.959s user 0m0.219s sys 0m8.893s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff880081fd5000.statahead_batch_max=256 llite.lustre-ffff880081fd5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880081fd5000.stats=clear mdc.lustre-MDT0001-mdc-ffff880081fd5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.144s user 0m0.210s sys 0m8.820s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744131191.418907632 secs.nsecs start_time: 1744131178.962220238 secs.nsecs elapsed_time: 12.456687394 secs.nsecs subreqs per batch batches % cum % 1: 127 56 56 2: 13 5 61 4: 10 4 66 8: 15 6 73 16: 9 3 76 32: 15 6 83 64: 1 0 84 128: 0 0 84 256: 36 15 100 mdc.lustre-MDT0001-mdc-ffff880081fd5000.batch_stats= snapshot_time: 1744131191.418986511 secs.nsecs start_time: 1744131178.962283328 secs.nsecs elapsed_time: 12.456703183 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff880081fd5000.statahead_batch_max=64 llite.lustre-ffff880081fd5000.statahead_max=128