== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:27:17 (1787614037) llite.lustre-ffff9d6354e56800.statahead_max=1024 llite.lustre-ffff9d6354e56800.statahead_batch_max=32 llite.lustre-ffff9d6354e56800.statahead_min=64 llite.lustre-ffff9d6354e56800.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 6.66 seconds: 150.24 ops/second llite.lustre-ffff9d6354e56800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d6354e56800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d6354e56800.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: 1787614055.365493203 secs.nsecs start_time: 1787614050.705847743 secs.nsecs elapsed_time: 4.659645460 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 11 11 16 4: 11 11 28 8: 5 5 33 16: 2 2 35 32: 59 64 100 snapshot_time: 1787614055.365578281 secs.nsecs start_time: 1787614050.705972366 secs.nsecs elapsed_time: 4.659605915 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: 993 miss_total: 2 snapshot_time: 1787614085.921418717 secs.nsecs start_time: 1787614050.705847743 secs.nsecs elapsed_time: 35.215570974 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 11 11 17 4: 11 11 29 8: 5 5 34 16: 2 2 36 32: 59 63 100 snapshot_time: 1787614085.921484673 secs.nsecs start_time: 1787614050.705972366 secs.nsecs elapsed_time: 35.215512307 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.45 seconds: 154.93 ops/second llite.lustre-ffff9d6354e56800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d6354e56800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d6354e56800.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: 1787614101.893037472 secs.nsecs start_time: 1787614097.990521302 secs.nsecs elapsed_time: 3.902516170 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 2 2 10 4: 3 3 14 8: 6 7 21 16: 5 5 27 32: 61 72 100 snapshot_time: 1787614101.893105072 secs.nsecs start_time: 1787614097.990641385 secs.nsecs elapsed_time: 3.902463687 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: 1787614133.230212129 secs.nsecs start_time: 1787614097.990521302 secs.nsecs elapsed_time: 35.239690827 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 3 3 15 8: 6 7 22 16: 5 5 28 32: 61 71 100 snapshot_time: 1787614133.230282784 secs.nsecs start_time: 1787614097.990641385 secs.nsecs elapsed_time: 35.239641399 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787614143 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787614152 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9d6354e56800.enable_statahead_fname=1 llite.lustre-ffff9d6354e56800.statahead_min=8 llite.lustre-ffff9d6354e56800.statahead_batch_max=64 llite.lustre-ffff9d6354e56800.statahead_max=128