== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:01:31 (1767330091) llite.lustre-ffff965bdf8fb000.statahead_max=1024 llite.lustre-ffff965bdf8fb000.statahead_batch_max=32 llite.lustre-ffff965bdf8fb000.statahead_min=64 llite.lustre-ffff965bdf8fb000.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.17 seconds: 856.93 ops/second llite.lustre-ffff965bdf8fb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965bdf8fb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965bdf8fb000.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: 1767330099.188103336 secs.nsecs start_time: 1767330095.705948004 secs.nsecs elapsed_time: 3.482155332 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 23 26 28 8: 1 1 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1767330099.188149004 secs.nsecs start_time: 1767330095.706013134 secs.nsecs elapsed_time: 3.482135870 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: 1767330130.416093444 secs.nsecs start_time: 1767330095.705948004 secs.nsecs elapsed_time: 34.710145440 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 23 26 29 8: 1 1 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1767330130.416167154 secs.nsecs start_time: 1767330095.706013134 secs.nsecs elapsed_time: 34.710154020 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: 788.98 ops/second llite.lustre-ffff965bdf8fb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff965bdf8fb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff965bdf8fb000.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: 1767330136.364180704 secs.nsecs start_time: 1767330133.340129448 secs.nsecs elapsed_time: 3.024051256 secs.nsecs subreqs per batch batches % cum % 1: 11 11 11 2: 2 2 14 4: 0 0 14 8: 20 21 35 16: 0 0 35 32: 59 64 100 snapshot_time: 1767330136.364284554 secs.nsecs start_time: 1767330133.340181295 secs.nsecs elapsed_time: 3.024103259 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: 1767330167.838462461 secs.nsecs start_time: 1767330133.340129448 secs.nsecs elapsed_time: 34.498333013 secs.nsecs subreqs per batch batches % cum % 1: 12 12 12 2: 2 2 15 4: 0 0 15 8: 20 21 36 16: 0 0 36 32: 59 63 100 snapshot_time: 1767330167.838512966 secs.nsecs start_time: 1767330133.340181295 secs.nsecs elapsed_time: 34.498331671 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1767330171 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1767330173 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff965bdf8fb000.enable_statahead_fname=1 llite.lustre-ffff965bdf8fb000.statahead_min=8 llite.lustre-ffff965bdf8fb000.statahead_batch_max=64 llite.lustre-ffff965bdf8fb000.statahead_max=128