== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:53:39 (1772477619) llite.lustre-ffff96ab8647c800.statahead_max=1024 llite.lustre-ffff96ab8647c800.statahead_batch_max=32 llite.lustre-ffff96ab8647c800.statahead_min=64 llite.lustre-ffff96ab8647c800.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.05 seconds: 955.87 ops/second llite.lustre-ffff96ab8647c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96ab8647c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96ab8647c800.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: 1772477624.686096135 secs.nsecs start_time: 1772477622.823826377 secs.nsecs elapsed_time: 1.862269758 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 3 3 5 4: 13 15 20 8: 8 9 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1772477624.686143865 secs.nsecs start_time: 1772477622.823900306 secs.nsecs elapsed_time: 1.862243559 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: 1772477655.848716306 secs.nsecs start_time: 1772477622.823826377 secs.nsecs elapsed_time: 33.024889929 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 6 4: 13 14 21 8: 8 9 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1772477655.848758619 secs.nsecs start_time: 1772477622.823900306 secs.nsecs elapsed_time: 33.024858313 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 0.95 seconds: 1055.74 ops/second llite.lustre-ffff96ab8647c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96ab8647c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96ab8647c800.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: 1772477660.032523657 secs.nsecs start_time: 1772477658.401934863 secs.nsecs elapsed_time: 1.630588794 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 1 1 4: 2 2 3 8: 17 21 25 16: 2 2 27 32: 58 72 100 snapshot_time: 1772477660.032562777 secs.nsecs start_time: 1772477658.401991528 secs.nsecs elapsed_time: 1.630571249 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: 1772477691.228687350 secs.nsecs start_time: 1772477658.401934863 secs.nsecs elapsed_time: 32.826752487 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 2 2 4 8: 17 20 25 16: 2 2 28 32: 58 71 100 snapshot_time: 1772477691.228730305 secs.nsecs start_time: 1772477658.401991528 secs.nsecs elapsed_time: 32.826738777 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1772477693 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1772477695 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff96ab8647c800.enable_statahead_fname=1 llite.lustre-ffff96ab8647c800.statahead_min=8 llite.lustre-ffff96ab8647c800.statahead_batch_max=64 llite.lustre-ffff96ab8647c800.statahead_max=128