== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:28:49 (1777030129) llite.lustre-ffff99da8143b000.statahead_max=1024 llite.lustre-ffff99da8143b000.statahead_batch_max=32 llite.lustre-ffff99da8143b000.statahead_min=64 llite.lustre-ffff99da8143b000.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 1.06 seconds: 945.86 ops/second llite.lustre-ffff99da8143b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99da8143b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99da8143b000.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: 1777030134.808283459 secs.nsecs start_time: 1777030132.537259124 secs.nsecs elapsed_time: 2.271024335 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 6 7 8 4: 13 15 23 8: 4 4 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1777030134.808332036 secs.nsecs start_time: 1777030132.537369188 secs.nsecs elapsed_time: 2.270962848 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: 1777030165.535985187 secs.nsecs start_time: 1777030132.537259124 secs.nsecs elapsed_time: 32.998726063 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 6 6 9 4: 13 15 24 8: 4 4 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1777030165.536027614 secs.nsecs start_time: 1777030132.537369188 secs.nsecs elapsed_time: 32.998658426 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 1.27 seconds: 787.20 ops/second llite.lustre-ffff99da8143b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99da8143b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99da8143b000.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: 1777030170.982360230 secs.nsecs start_time: 1777030168.768117700 secs.nsecs elapsed_time: 2.214242530 secs.nsecs subreqs per batch batches % cum % 1: 48 35 35 2: 7 5 40 4: 7 5 45 8: 10 7 53 16: 8 5 59 32: 55 40 100 snapshot_time: 1777030170.982398912 secs.nsecs start_time: 1777030168.768183196 secs.nsecs elapsed_time: 2.214215716 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: 1777030201.579959247 secs.nsecs start_time: 1777030168.768117700 secs.nsecs elapsed_time: 32.811841547 secs.nsecs subreqs per batch batches % cum % 1: 49 36 36 2: 7 5 41 4: 7 5 46 8: 10 7 53 16: 8 5 59 32: 55 40 100 snapshot_time: 1777030201.580024791 secs.nsecs start_time: 1777030168.768183196 secs.nsecs elapsed_time: 32.811841595 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1777030204 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1777030206 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff99da8143b000.enable_statahead_fname=1 llite.lustre-ffff99da8143b000.statahead_min=8 llite.lustre-ffff99da8143b000.statahead_batch_max=64 llite.lustre-ffff99da8143b000.statahead_max=128