== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:40:43 (1787838043) llite.lustre-ffff9b0dc89ff800.statahead_max=1024 llite.lustre-ffff9b0dc89ff800.statahead_batch_max=32 llite.lustre-ffff9b0dc89ff800.statahead_min=64 llite.lustre-ffff9b0dc89ff800.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.28 seconds: 159.14 ops/second llite.lustre-ffff9b0dc89ff800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b0dc89ff800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b0dc89ff800.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: 1787838062.057360121 secs.nsecs start_time: 1787838057.119462332 secs.nsecs elapsed_time: 4.937897789 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 12 13 25 8: 5 5 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1787838062.057421064 secs.nsecs start_time: 1787838057.119635667 secs.nsecs elapsed_time: 4.937785397 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: 1787838093.699622876 secs.nsecs start_time: 1787838057.119462332 secs.nsecs elapsed_time: 36.580160544 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 12 13 25 8: 5 5 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1787838093.699733815 secs.nsecs start_time: 1787838057.119635667 secs.nsecs elapsed_time: 36.580098148 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.34 seconds: 157.81 ops/second llite.lustre-ffff9b0dc89ff800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b0dc89ff800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b0dc89ff800.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: 1787838109.177227137 secs.nsecs start_time: 1787838105.649854878 secs.nsecs elapsed_time: 3.527372259 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 5 6 12 8: 9 10 23 16: 4 4 28 32: 59 71 100 snapshot_time: 1787838109.177779231 secs.nsecs start_time: 1787838105.649990044 secs.nsecs elapsed_time: 3.527789187 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: 994 miss_total: 1 snapshot_time: 1787838139.913902780 secs.nsecs start_time: 1787838105.649854878 secs.nsecs elapsed_time: 34.264047902 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 5 6 13 8: 9 10 24 16: 4 4 28 32: 59 71 100 snapshot_time: 1787838139.914637930 secs.nsecs start_time: 1787838105.649990044 secs.nsecs elapsed_time: 34.264647886 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787838148 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787838158 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9b0dc89ff800.enable_statahead_fname=1 llite.lustre-ffff9b0dc89ff800.statahead_min=8 llite.lustre-ffff9b0dc89ff800.statahead_batch_max=64 llite.lustre-ffff9b0dc89ff800.statahead_max=128