== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:55:14 (1789448114) llite.lustre-ffff95c724337800.statahead_max=1024 llite.lustre-ffff95c724337800.statahead_batch_max=32 llite.lustre-ffff95c724337800.statahead_min=64 llite.lustre-ffff95c724337800.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.25 seconds: 190.48 ops/second llite.lustre-ffff95c724337800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95c724337800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95c724337800.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: 1789448128.217978491 secs.nsecs start_time: 1789448124.814366868 secs.nsecs elapsed_time: 3.403611623 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 7 12 4: 6 6 19 8: 10 11 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1789448128.218041974 secs.nsecs start_time: 1789448124.814453854 secs.nsecs elapsed_time: 3.403588120 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: 1789448159.055147294 secs.nsecs start_time: 1789448124.814366868 secs.nsecs elapsed_time: 34.240780426 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 7 13 4: 6 6 20 8: 10 11 31 16: 3 3 34 32: 59 65 100 snapshot_time: 1789448159.055459321 secs.nsecs start_time: 1789448124.814453854 secs.nsecs elapsed_time: 34.241005467 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.37 seconds: 186.36 ops/second llite.lustre-ffff95c724337800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95c724337800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95c724337800.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: 1789448173.517601409 secs.nsecs start_time: 1789448169.690756086 secs.nsecs elapsed_time: 3.826845323 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 2 2 5 8: 11 13 18 16: 7 8 27 32: 58 72 100 snapshot_time: 1789448173.517665232 secs.nsecs start_time: 1789448169.690914267 secs.nsecs elapsed_time: 3.826750965 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789448204.681578151 secs.nsecs start_time: 1789448169.690756086 secs.nsecs elapsed_time: 34.990822065 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 2 2 6 8: 11 13 19 16: 7 8 28 32: 58 71 100 snapshot_time: 1789448204.683464940 secs.nsecs start_time: 1789448169.690914267 secs.nsecs elapsed_time: 34.992550673 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789448214 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789448224 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff95c724337800.enable_statahead_fname=1 llite.lustre-ffff95c724337800.statahead_min=8 llite.lustre-ffff95c724337800.statahead_batch_max=64 llite.lustre-ffff95c724337800.statahead_max=128