== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 02:40:44 (1788763244) llite.lustre-ffff8a63ab9bd000.statahead_max=1024 llite.lustre-ffff8a63ab9bd000.statahead_batch_max=32 llite.lustre-ffff8a63ab9bd000.statahead_min=64 llite.lustre-ffff8a63ab9bd000.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 5.94 seconds: 168.31 ops/second llite.lustre-ffff8a63ab9bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a63ab9bd000.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: 1788763261.027996120 secs.nsecs start_time: 1788763257.043780377 secs.nsecs elapsed_time: 3.984215743 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 10 11 16 4: 10 11 27 8: 4 4 32 16: 1 1 33 32: 60 66 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788763291.254736369 secs.nsecs start_time: 1788763257.043780377 secs.nsecs elapsed_time: 34.210955992 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 10 10 17 4: 10 10 28 8: 4 4 32 16: 1 1 34 32: 60 65 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 6.43 seconds: 155.45 ops/second llite.lustre-ffff8a63ab9bd000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a63ab9bd000.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: 1788763306.101128427 secs.nsecs start_time: 1788763303.177310479 secs.nsecs elapsed_time: 2.923817948 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 4 4 15 4: 3 3 19 8: 9 9 28 16: 9 9 38 32: 58 61 100 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1788763337.822943076 secs.nsecs start_time: 1788763303.177310479 secs.nsecs elapsed_time: 34.645632597 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 4 4 16 4: 3 3 20 8: 9 9 29 16: 9 9 38 32: 58 61 100 - unlinked 0 (time 1788763346 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1788763357 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8a63ab9bd000.enable_statahead_fname=1 llite.lustre-ffff8a63ab9bd000.statahead_min=8 llite.lustre-ffff8a63ab9bd000.statahead_batch_max=64 llite.lustre-ffff8a63ab9bd000.statahead_max=128