== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:16:40 (1778663800) llite.lustre-ffff9d7689f06000.statahead_max=1024 llite.lustre-ffff9d7689f06000.statahead_batch_max=32 llite.lustre-ffff9d7689f06000.statahead_min=64 llite.lustre-ffff9d7689f06000.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 8.96 seconds: 111.60 ops/second llite.lustre-ffff9d7689f06000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d7689f06000.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: 1778663820.147280623 secs.nsecs start_time: 1778663816.491904845 secs.nsecs elapsed_time: 3.655375778 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 5 5 10 4: 6 7 17 8: 7 8 26 16: 3 3 29 32: 59 70 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1778663851.139964930 secs.nsecs start_time: 1778663816.491904845 secs.nsecs elapsed_time: 34.648060085 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 5 5 11 4: 6 7 18 8: 7 8 27 16: 3 3 30 32: 59 69 100 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.92 seconds: 112.05 ops/second llite.lustre-ffff9d7689f06000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d7689f06000.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: 1778663871.726982158 secs.nsecs start_time: 1778663866.476667746 secs.nsecs elapsed_time: 5.250314412 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 1 1 9 4: 6 6 16 8: 15 16 32 16: 6 6 38 32: 57 61 100 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: 1778663902.140622957 secs.nsecs start_time: 1778663866.476667746 secs.nsecs elapsed_time: 35.663955211 secs.nsecs subreqs per batch batches % cum % 1: 9 9 9 2: 1 1 10 4: 6 6 17 8: 15 15 32 16: 6 6 39 32: 57 60 100 - unlinked 0 (time 1778663911 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1778663923 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff9d7689f06000.enable_statahead_fname=1 llite.lustre-ffff9d7689f06000.statahead_min=8 llite.lustre-ffff9d7689f06000.statahead_batch_max=64 llite.lustre-ffff9d7689f06000.statahead_max=128