== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:05:38 (1787591138) llite.lustre-ffff99b2d1d65800.statahead_max=1024 llite.lustre-ffff99b2d1d65800.statahead_batch_max=32 llite.lustre-ffff99b2d1d65800.statahead_min=64 llite.lustre-ffff99b2d1d65800.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 7.61 seconds: 131.32 ops/second llite.lustre-ffff99b2d1d65800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b2d1d65800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b2d1d65800.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: 1787591156.424449718 secs.nsecs start_time: 1787591152.732938195 secs.nsecs elapsed_time: 3.691511523 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 5 5 9 4: 9 10 19 8: 7 8 27 16: 2 2 30 32: 60 69 100 snapshot_time: 1787591156.424515443 secs.nsecs start_time: 1787591152.733254178 secs.nsecs elapsed_time: 3.691261265 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1787591187.354273343 secs.nsecs start_time: 1787591152.732938195 secs.nsecs elapsed_time: 34.621335148 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 9 10 20 8: 7 8 28 16: 2 2 31 32: 60 68 100 snapshot_time: 1787591187.354628170 secs.nsecs start_time: 1787591152.733254178 secs.nsecs elapsed_time: 34.621373992 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 8.53 seconds: 117.30 ops/second llite.lustre-ffff99b2d1d65800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b2d1d65800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b2d1d65800.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: 1787591207.026084506 secs.nsecs start_time: 1787591203.083214836 secs.nsecs elapsed_time: 3.942869670 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 6 6 16 8: 9 10 26 16: 6 6 33 32: 57 66 100 snapshot_time: 1787591207.026159383 secs.nsecs start_time: 1787591203.083414694 secs.nsecs elapsed_time: 3.942744689 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: 1787591238.709819199 secs.nsecs start_time: 1787591203.083214836 secs.nsecs elapsed_time: 35.626604363 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 10 4: 6 6 17 8: 9 10 27 16: 6 6 34 32: 57 65 100 snapshot_time: 1787591238.709934469 secs.nsecs start_time: 1787591203.083414694 secs.nsecs elapsed_time: 35.626519775 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787591250 ; total 1 ; last 1) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787591262 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff99b2d1d65800.enable_statahead_fname=1 llite.lustre-ffff99b2d1d65800.statahead_min=8 llite.lustre-ffff99b2d1d65800.statahead_batch_max=64 llite.lustre-ffff99b2d1d65800.statahead_max=128