== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:25:24 (1784946324) llite.lustre-ffff996318054800.statahead_max=1024 llite.lustre-ffff996318054800.statahead_batch_max=32 llite.lustre-ffff996318054800.statahead_min=64 llite.lustre-ffff996318054800.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 1.16 seconds: 860.07 ops/second llite.lustre-ffff996318054800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff996318054800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff996318054800.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: 1784946330.400324762 secs.nsecs start_time: 1784946327.437370995 secs.nsecs elapsed_time: 2.962953767 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 20 23 25 8: 3 3 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1784946330.400377684 secs.nsecs start_time: 1784946327.437434798 secs.nsecs elapsed_time: 2.962942886 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: 1784946361.568598437 secs.nsecs start_time: 1784946327.437370995 secs.nsecs elapsed_time: 34.131227442 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 20 23 26 8: 3 3 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1784946361.568640960 secs.nsecs start_time: 1784946327.437434798 secs.nsecs elapsed_time: 34.131206162 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.04 seconds: 963.27 ops/second llite.lustre-ffff996318054800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff996318054800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff996318054800.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: 1784946366.285619493 secs.nsecs start_time: 1784946364.217489593 secs.nsecs elapsed_time: 2.068129900 secs.nsecs subreqs per batch batches %% cum %% 1: 12 13 13 2: 1 1 14 4: 3 3 17 8: 4 4 22 16: 14 15 37 32: 56 62 100 snapshot_time: 1784946366.285659468 secs.nsecs start_time: 1784946364.217556237 secs.nsecs elapsed_time: 2.068103231 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: 995 miss_total: 0 snapshot_time: 1784946396.633733181 secs.nsecs start_time: 1784946364.217489593 secs.nsecs elapsed_time: 32.416243588 secs.nsecs subreqs per batch batches %% cum %% 1: 13 14 14 2: 1 1 15 4: 3 3 18 8: 4 4 23 16: 14 15 38 32: 56 61 100 snapshot_time: 1784946396.633774408 secs.nsecs start_time: 1784946364.217556237 secs.nsecs elapsed_time: 32.416218171 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784946399 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1784946401 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff996318054800.enable_statahead_fname=1 llite.lustre-ffff996318054800.statahead_min=8 llite.lustre-ffff996318054800.statahead_batch_max=64 llite.lustre-ffff996318054800.statahead_max=128