== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:32:59 (1758745979) llite.lustre-ffff8c227b573800.statahead_max=1024 llite.lustre-ffff8c227b573800.statahead_batch_max=32 llite.lustre-ffff8c227b573800.statahead_min=64 llite.lustre-ffff8c227b573800.enable_statahead_fname=1 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity.%06d 1000 - ls /mnt/lustre/d123i.sanity/* > /dev/null total: 1000 create in 1.40 seconds: 714.83 ops/second llite.lustre-ffff8c227b573800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c227b573800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c227b573800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1758745985.278309619 secs.nsecs start_time: 1758745983.330962564 secs.nsecs elapsed_time: 1.947347055 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 1 1 4 4: 20 22 27 8: 3 3 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1758745985.278350100 secs.nsecs start_time: 1758745983.331049882 secs.nsecs elapsed_time: 1.947300218 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1758746016.423925454 secs.nsecs start_time: 1758745983.330962564 secs.nsecs elapsed_time: 33.092962890 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 5 4: 20 22 28 8: 3 3 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1758746016.423960804 secs.nsecs start_time: 1758745983.331049882 secs.nsecs elapsed_time: 33.092910922 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity 1000 - aheadmany -c stat -N -s 0 -e 1000 -b f123i.sanity -d /mnt/lustre/d123i.sanity total: 1000 create in 0.93 seconds: 1073.70 ops/second llite.lustre-ffff8c227b573800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c227b573800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c227b573800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1758746020.607681597 secs.nsecs start_time: 1758746019.043949089 secs.nsecs elapsed_time: 1.563732508 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 1 1 8 4: 2 2 10 8: 18 19 30 16: 6 6 36 32: 58 63 100 snapshot_time: 1758746020.607715282 secs.nsecs start_time: 1758746019.044025269 secs.nsecs elapsed_time: 1.563690013 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1758746051.725245467 secs.nsecs start_time: 1758746019.043949089 secs.nsecs elapsed_time: 32.681296378 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 1 1 9 4: 2 2 11 8: 18 19 31 16: 6 6 37 32: 58 62 100 snapshot_time: 1758746051.725778330 secs.nsecs start_time: 1758746019.044025269 secs.nsecs elapsed_time: 32.681753061 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1758746054 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1758746056 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8c227b573800.enable_statahead_fname=1 llite.lustre-ffff8c227b573800.statahead_min=8 llite.lustre-ffff8c227b573800.statahead_batch_max=64 llite.lustre-ffff8c227b573800.statahead_max=128