== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:17:23 (1789298243) llite.lustre-ffff8a4884f59000.statahead_max=1024 llite.lustre-ffff8a4884f59000.statahead_batch_max=32 llite.lustre-ffff8a4884f59000.statahead_min=64 llite.lustre-ffff8a4884f59000.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.64 seconds: 177.40 ops/second llite.lustre-ffff8a4884f59000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a4884f59000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a4884f59000.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: 1789298257.478652517 secs.nsecs start_time: 1789298254.324479484 secs.nsecs elapsed_time: 3.154173033 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 9 10 19 8: 8 9 28 16: 1 1 29 32: 59 70 100 snapshot_time: 1789298257.479128808 secs.nsecs start_time: 1789298254.324622614 secs.nsecs elapsed_time: 3.154506194 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: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1789298288.527676136 secs.nsecs start_time: 1789298254.324479484 secs.nsecs elapsed_time: 34.203196652 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 9 10 20 8: 8 9 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1789298288.527771115 secs.nsecs start_time: 1789298254.324622614 secs.nsecs elapsed_time: 34.203148501 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.37 seconds: 156.96 ops/second llite.lustre-ffff8a4884f59000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a4884f59000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a4884f59000.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: 1789298302.877949464 secs.nsecs start_time: 1789298299.822946039 secs.nsecs elapsed_time: 3.055003425 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 3 3 7 8: 4 5 12 16: 6 7 20 32: 61 79 100 snapshot_time: 1789298302.878013280 secs.nsecs start_time: 1789298299.823095111 secs.nsecs elapsed_time: 3.054918169 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: 1789298333.727112479 secs.nsecs start_time: 1789298299.822946039 secs.nsecs elapsed_time: 33.904166440 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 5 4: 3 3 8 8: 4 5 14 16: 6 7 21 32: 61 78 100 snapshot_time: 1789298333.727501414 secs.nsecs start_time: 1789298299.823095111 secs.nsecs elapsed_time: 33.904406303 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789298341 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789298351 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8a4884f59000.enable_statahead_fname=1 llite.lustre-ffff8a4884f59000.statahead_min=8 llite.lustre-ffff8a4884f59000.statahead_batch_max=64 llite.lustre-ffff8a4884f59000.statahead_max=128