== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:39:10 (1787870350) llite.lustre-ffff8d4dc8a3d800.statahead_max=1024 llite.lustre-ffff8d4dc8a3d800.statahead_batch_max=32 llite.lustre-ffff8d4dc8a3d800.statahead_min=64 llite.lustre-ffff8d4dc8a3d800.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 7.27 seconds: 137.55 ops/second llite.lustre-ffff8d4dc8a3d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4dc8a3d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d4dc8a3d800.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: 1787870368.433650125 secs.nsecs start_time: 1787870364.539551858 secs.nsecs elapsed_time: 3.894098267 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 5 8 4: 6 7 16 8: 5 6 22 16: 2 2 25 32: 60 75 100 snapshot_time: 1787870368.433717389 secs.nsecs start_time: 1787870364.539634004 secs.nsecs elapsed_time: 3.894083385 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: 994 miss_total: 1 snapshot_time: 1787870399.578794007 secs.nsecs start_time: 1787870364.539551858 secs.nsecs elapsed_time: 35.039242149 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 6 7 17 8: 5 6 23 16: 2 2 25 32: 60 74 100 snapshot_time: 1787870399.578864237 secs.nsecs start_time: 1787870364.539634004 secs.nsecs elapsed_time: 35.039230233 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 5.45 seconds: 183.32 ops/second llite.lustre-ffff8d4dc8a3d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4dc8a3d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d4dc8a3d800.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: 1787870413.418569287 secs.nsecs start_time: 1787870409.671947811 secs.nsecs elapsed_time: 3.746621476 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 6 7 18 8: 3 3 22 16: 7 8 30 32: 59 69 100 snapshot_time: 1787870413.418835399 secs.nsecs start_time: 1787870409.672080051 secs.nsecs elapsed_time: 3.746755348 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787870444.990158578 secs.nsecs start_time: 1787870409.671947811 secs.nsecs elapsed_time: 35.318210767 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 2 2 12 4: 6 6 19 8: 3 3 23 16: 7 8 31 32: 59 68 100 snapshot_time: 1787870444.990226295 secs.nsecs start_time: 1787870409.672080051 secs.nsecs elapsed_time: 35.318146244 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787870453 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787870463 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8d4dc8a3d800.enable_statahead_fname=1 llite.lustre-ffff8d4dc8a3d800.statahead_min=8 llite.lustre-ffff8d4dc8a3d800.statahead_batch_max=64 llite.lustre-ffff8d4dc8a3d800.statahead_max=128