== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:44:04 (1787856244) llite.lustre-ffff981c64df6000.statahead_max=1024 llite.lustre-ffff981c64df6000.statahead_batch_max=32 llite.lustre-ffff981c64df6000.statahead_min=64 llite.lustre-ffff981c64df6000.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.59 seconds: 178.89 ops/second llite.lustre-ffff981c64df6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981c64df6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981c64df6000.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: 1787856261.330112141 secs.nsecs start_time: 1787856256.527896708 secs.nsecs elapsed_time: 4.802215433 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 11 12 23 8: 5 5 29 16: 3 3 32 32: 59 67 100 snapshot_time: 1787856261.330178281 secs.nsecs start_time: 1787856256.528011785 secs.nsecs elapsed_time: 4.802166496 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: 1787856292.408242490 secs.nsecs start_time: 1787856256.527896708 secs.nsecs elapsed_time: 35.880345782 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 11 12 24 8: 5 5 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1787856292.408306463 secs.nsecs start_time: 1787856256.528011785 secs.nsecs elapsed_time: 35.880294678 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.71 seconds: 175.02 ops/second llite.lustre-ffff981c64df6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981c64df6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981c64df6000.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: 1787856307.582189464 secs.nsecs start_time: 1787856303.397547376 secs.nsecs elapsed_time: 4.184642088 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 2 2 5 8: 5 6 11 16: 12 15 26 32: 58 73 100 snapshot_time: 1787856307.582254916 secs.nsecs start_time: 1787856303.397959601 secs.nsecs elapsed_time: 4.184295315 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787856339.013660676 secs.nsecs start_time: 1787856303.397547376 secs.nsecs elapsed_time: 35.616113300 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 2 2 6 8: 5 6 12 16: 12 15 27 32: 58 72 100 snapshot_time: 1787856339.014164811 secs.nsecs start_time: 1787856303.397959601 secs.nsecs elapsed_time: 35.616205210 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787856348 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787856357 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff981c64df6000.enable_statahead_fname=1 llite.lustre-ffff981c64df6000.statahead_min=8 llite.lustre-ffff981c64df6000.statahead_batch_max=64 llite.lustre-ffff981c64df6000.statahead_max=128