== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:03:42 (1787879022) llite.lustre-ffff95fe870ff000.statahead_max=1024 llite.lustre-ffff95fe870ff000.statahead_batch_max=32 llite.lustre-ffff95fe870ff000.statahead_min=64 llite.lustre-ffff95fe870ff000.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 7.37 seconds: 135.76 ops/second llite.lustre-ffff95fe870ff000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95fe870ff000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95fe870ff000.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: 1787879042.289986846 secs.nsecs start_time: 1787879036.619395649 secs.nsecs elapsed_time: 5.670591197 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 7 8 9 4: 9 10 20 8: 3 3 24 16: 1 1 25 32: 61 74 100 snapshot_time: 1787879042.290094619 secs.nsecs start_time: 1787879036.619471629 secs.nsecs elapsed_time: 5.670622990 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787879073.211575656 secs.nsecs start_time: 1787879036.619395649 secs.nsecs elapsed_time: 36.592180007 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 7 8 10 4: 9 10 21 8: 3 3 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1787879073.211644997 secs.nsecs start_time: 1787879036.619471629 secs.nsecs elapsed_time: 36.592173368 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 6.50 seconds: 153.78 ops/second llite.lustre-ffff95fe870ff000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95fe870ff000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95fe870ff000.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: 1787879088.780739957 secs.nsecs start_time: 1787879084.965455173 secs.nsecs elapsed_time: 3.815284784 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 5 6 12 8: 7 8 20 16: 3 3 24 32: 61 75 100 snapshot_time: 1787879088.780808237 secs.nsecs start_time: 1787879084.965575632 secs.nsecs elapsed_time: 3.815232605 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: 994 miss_total: 1 snapshot_time: 1787879120.190358242 secs.nsecs start_time: 1787879084.965455173 secs.nsecs elapsed_time: 35.224903069 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 5 6 13 8: 7 8 21 16: 3 3 25 32: 61 74 100 snapshot_time: 1787879120.190489111 secs.nsecs start_time: 1787879084.965575632 secs.nsecs elapsed_time: 35.224913479 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787879129 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787879139 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff95fe870ff000.enable_statahead_fname=1 llite.lustre-ffff95fe870ff000.statahead_min=8 llite.lustre-ffff95fe870ff000.statahead_batch_max=64 llite.lustre-ffff95fe870ff000.statahead_max=128