== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:36:46 (1786045006) llite.lustre-ffff9686241d3800.statahead_max=1024 llite.lustre-ffff9686241d3800.statahead_batch_max=32 llite.lustre-ffff9686241d3800.statahead_min=64 llite.lustre-ffff9686241d3800.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.74 seconds: 148.47 ops/second llite.lustre-ffff9686241d3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9686241d3800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9686241d3800.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: 1786045026.238483346 secs.nsecs start_time: 1786045020.517501075 secs.nsecs elapsed_time: 5.720982271 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 10 12 20 8: 4 4 25 16: 0 0 25 32: 60 74 100 snapshot_time: 1786045026.238792028 secs.nsecs start_time: 1786045020.517597929 secs.nsecs elapsed_time: 5.721194099 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: 994 miss_total: 1 snapshot_time: 1786045056.858544132 secs.nsecs start_time: 1786045020.517501075 secs.nsecs elapsed_time: 36.341043057 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 10 12 21 8: 4 4 26 16: 0 0 26 32: 60 73 100 snapshot_time: 1786045056.858611483 secs.nsecs start_time: 1786045020.517597929 secs.nsecs elapsed_time: 36.341013554 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.38 seconds: 119.28 ops/second llite.lustre-ffff9686241d3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9686241d3800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9686241d3800.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: 1786045077.241182357 secs.nsecs start_time: 1786045072.048057127 secs.nsecs elapsed_time: 5.193125230 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 14 8: 8 9 23 16: 4 4 28 32: 60 71 100 snapshot_time: 1786045077.241256070 secs.nsecs start_time: 1786045072.048127533 secs.nsecs elapsed_time: 5.193128537 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: 1786045108.182240517 secs.nsecs start_time: 1786045072.048057127 secs.nsecs elapsed_time: 36.134183390 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 7 15 8: 8 9 24 16: 4 4 29 32: 60 70 100 snapshot_time: 1786045108.182296854 secs.nsecs start_time: 1786045072.048127533 secs.nsecs elapsed_time: 36.134169321 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786045118 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1786045132 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff9686241d3800.enable_statahead_fname=1 llite.lustre-ffff9686241d3800.statahead_min=8 llite.lustre-ffff9686241d3800.statahead_batch_max=64 llite.lustre-ffff9686241d3800.statahead_max=128