== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:19:59 (1769764799) llite.lustre-ffff908b49ca0800.statahead_max=1024 llite.lustre-ffff908b49ca0800.statahead_batch_max=32 llite.lustre-ffff908b49ca0800.statahead_min=64 llite.lustre-ffff908b49ca0800.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 2.48 seconds: 402.79 ops/second llite.lustre-ffff908b49ca0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908b49ca0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff908b49ca0800.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: 1769764807.164337352 secs.nsecs start_time: 1769764804.767699013 secs.nsecs elapsed_time: 2.396638339 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 21 25 25 8: 2 2 27 16: 0 0 27 32: 60 72 100 snapshot_time: 1769764807.164377096 secs.nsecs start_time: 1769764804.767793856 secs.nsecs elapsed_time: 2.396583240 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: 1769764837.898196108 secs.nsecs start_time: 1769764804.767699013 secs.nsecs elapsed_time: 33.130497095 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 0 0 1 4: 21 25 26 8: 2 2 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1769764837.898284248 secs.nsecs start_time: 1769764804.767793856 secs.nsecs elapsed_time: 33.130490392 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 2.20 seconds: 455.36 ops/second llite.lustre-ffff908b49ca0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908b49ca0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff908b49ca0800.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: 1769764844.430607087 secs.nsecs start_time: 1769764842.678122995 secs.nsecs elapsed_time: 1.752484092 secs.nsecs subreqs per batch batches % cum % 1: 10 11 11 2: 3 3 14 4: 2 2 16 8: 13 14 31 16: 4 4 35 32: 58 64 100 snapshot_time: 1769764844.430666253 secs.nsecs start_time: 1769764842.678256265 secs.nsecs elapsed_time: 1.752409988 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: 1769764875.172732752 secs.nsecs start_time: 1769764842.678122995 secs.nsecs elapsed_time: 32.494609757 secs.nsecs subreqs per batch batches % cum % 1: 11 12 12 2: 3 3 15 4: 2 2 17 8: 13 14 31 16: 4 4 36 32: 58 63 100 snapshot_time: 1769764875.172808059 secs.nsecs start_time: 1769764842.678256265 secs.nsecs elapsed_time: 32.494551794 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1769764878 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1769764882 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff908b49ca0800.enable_statahead_fname=1 llite.lustre-ffff908b49ca0800.statahead_min=8 llite.lustre-ffff908b49ca0800.statahead_batch_max=64 llite.lustre-ffff908b49ca0800.statahead_max=128