== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:43:01 (1786196581) llite.lustre-ffff924e96d4c800.statahead_max=1024 llite.lustre-ffff924e96d4c800.statahead_batch_max=32 llite.lustre-ffff924e96d4c800.statahead_min=64 llite.lustre-ffff924e96d4c800.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.90 seconds: 525.10 ops/second llite.lustre-ffff924e96d4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924e96d4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924e96d4c800.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: 1786196586.692273719 secs.nsecs start_time: 1786196584.662967235 secs.nsecs elapsed_time: 2.029306484 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 20 23 26 8: 1 1 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1786196586.692333249 secs.nsecs start_time: 1786196584.663044993 secs.nsecs elapsed_time: 2.029288256 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: 1786196617.476520063 secs.nsecs start_time: 1786196584.662967235 secs.nsecs elapsed_time: 32.813552828 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 20 23 27 8: 1 1 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1786196617.476590989 secs.nsecs start_time: 1786196584.663044993 secs.nsecs elapsed_time: 32.813545996 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 2.01 seconds: 496.89 ops/second llite.lustre-ffff924e96d4c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924e96d4c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924e96d4c800.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: 1786196624.084819074 secs.nsecs start_time: 1786196621.667819737 secs.nsecs elapsed_time: 2.416999337 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 6 6 18 4: 4 4 22 8: 12 12 35 16: 5 5 40 32: 57 59 100 snapshot_time: 1786196624.084867084 secs.nsecs start_time: 1786196621.667875380 secs.nsecs elapsed_time: 2.416991704 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1786196654.974134574 secs.nsecs start_time: 1786196621.667819737 secs.nsecs elapsed_time: 33.306314837 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 6 6 19 4: 4 4 23 8: 12 12 36 16: 5 5 41 32: 57 58 100 snapshot_time: 1786196654.974180034 secs.nsecs start_time: 1786196621.667875380 secs.nsecs elapsed_time: 33.306304654 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786196658 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1786196661 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff924e96d4c800.enable_statahead_fname=1 llite.lustre-ffff924e96d4c800.statahead_min=8 llite.lustre-ffff924e96d4c800.statahead_batch_max=64 llite.lustre-ffff924e96d4c800.statahead_max=128