== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:43:37 (1788878617) llite.lustre-ffff92e7b8edb800.statahead_max=1024 llite.lustre-ffff92e7b8edb800.statahead_batch_max=32 llite.lustre-ffff92e7b8edb800.statahead_min=64 llite.lustre-ffff92e7b8edb800.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 3.65 seconds: 274.11 ops/second llite.lustre-ffff92e7b8edb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e7b8edb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e7b8edb800.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: 1788878625.403659672 secs.nsecs start_time: 1788878623.358204778 secs.nsecs elapsed_time: 2.045454894 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 1 1 7 4: 9 10 17 8: 7 8 25 16: 4 4 30 32: 59 69 100 snapshot_time: 1788878625.403710335 secs.nsecs start_time: 1788878623.358283422 secs.nsecs elapsed_time: 2.045426913 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: 1788878655.947865744 secs.nsecs start_time: 1788878623.358204778 secs.nsecs elapsed_time: 32.589660966 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 1 1 8 4: 9 10 18 8: 7 8 26 16: 4 4 31 32: 59 68 100 snapshot_time: 1788878655.947933005 secs.nsecs start_time: 1788878623.358283422 secs.nsecs elapsed_time: 32.589649583 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 1.92 seconds: 521.96 ops/second llite.lustre-ffff92e7b8edb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e7b8edb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e7b8edb800.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: 1788878661.950731711 secs.nsecs start_time: 1788878659.924527224 secs.nsecs elapsed_time: 2.026204487 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 4 4 16 8: 3 3 19 16: 10 11 31 32: 59 68 100 snapshot_time: 1788878661.950848333 secs.nsecs start_time: 1788878659.924610467 secs.nsecs elapsed_time: 2.026237866 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: 995 miss_total: 0 snapshot_time: 1788878692.471928949 secs.nsecs start_time: 1788878659.924527224 secs.nsecs elapsed_time: 32.547401725 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 4 4 17 8: 3 3 20 16: 10 11 32 32: 59 67 100 snapshot_time: 1788878692.472000193 secs.nsecs start_time: 1788878659.924610467 secs.nsecs elapsed_time: 32.547389726 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788878696 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1788878699 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff92e7b8edb800.enable_statahead_fname=1 llite.lustre-ffff92e7b8edb800.statahead_min=8 llite.lustre-ffff92e7b8edb800.statahead_batch_max=64 llite.lustre-ffff92e7b8edb800.statahead_max=128