== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:24:18 (1786958658) llite.lustre-ffff995288275000.statahead_max=1024 llite.lustre-ffff995288275000.statahead_batch_max=32 llite.lustre-ffff995288275000.statahead_min=64 llite.lustre-ffff995288275000.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 6.72 seconds: 148.88 ops/second llite.lustre-ffff995288275000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288275000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288275000.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: 1786958677.665030825 secs.nsecs start_time: 1786958672.202484262 secs.nsecs elapsed_time: 5.462546563 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 6 11 4: 15 16 27 8: 5 5 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1786958677.665179575 secs.nsecs start_time: 1786958672.202679054 secs.nsecs elapsed_time: 5.462500521 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1786958708.744785139 secs.nsecs start_time: 1786958672.202484262 secs.nsecs elapsed_time: 36.542300877 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 6 12 4: 15 16 28 8: 5 5 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1786958708.744845391 secs.nsecs start_time: 1786958672.202679054 secs.nsecs elapsed_time: 36.542166337 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 6.75 seconds: 148.18 ops/second llite.lustre-ffff995288275000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff995288275000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff995288275000.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: 1786958724.241255398 secs.nsecs start_time: 1786958720.584687988 secs.nsecs elapsed_time: 3.656567410 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 4 4 13 4: 9 9 23 8: 9 9 32 16: 6 6 38 32: 58 61 100 snapshot_time: 1786958724.241329992 secs.nsecs start_time: 1786958720.584819532 secs.nsecs elapsed_time: 3.656510460 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 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: 1786958755.713901541 secs.nsecs start_time: 1786958720.584687988 secs.nsecs elapsed_time: 35.129213553 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 4 4 14 4: 9 9 23 8: 9 9 33 16: 6 6 39 32: 58 60 100 snapshot_time: 1786958755.714104529 secs.nsecs start_time: 1786958720.584819532 secs.nsecs elapsed_time: 35.129284997 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786958765 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1786958778 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff995288275000.enable_statahead_fname=1 llite.lustre-ffff995288275000.statahead_min=8 llite.lustre-ffff995288275000.statahead_batch_max=64 llite.lustre-ffff995288275000.statahead_max=128