== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:38:00 (1769085480) llite.lustre-ffff9a1406233000.statahead_max=1024 llite.lustre-ffff9a1406233000.statahead_batch_max=32 llite.lustre-ffff9a1406233000.statahead_min=64 llite.lustre-ffff9a1406233000.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.78 seconds: 560.57 ops/second llite.lustre-ffff9a1406233000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1406233000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a1406233000.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: 1769085486.748850144 secs.nsecs start_time: 1769085484.550604134 secs.nsecs elapsed_time: 2.198246010 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 5 4: 16 18 23 8: 8 9 32 16: 0 0 32 32: 59 67 100 snapshot_time: 1769085486.748902227 secs.nsecs start_time: 1769085484.550667467 secs.nsecs elapsed_time: 2.198234760 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: 1769085517.321289934 secs.nsecs start_time: 1769085484.550604134 secs.nsecs elapsed_time: 32.770685800 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 6 4: 16 17 24 8: 8 8 33 16: 0 0 33 32: 59 66 100 snapshot_time: 1769085517.321362099 secs.nsecs start_time: 1769085484.550667467 secs.nsecs elapsed_time: 32.770694632 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 2.36 seconds: 424.14 ops/second llite.lustre-ffff9a1406233000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1406233000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a1406233000.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: 1769085523.698222826 secs.nsecs start_time: 1769085521.919380252 secs.nsecs elapsed_time: 1.778842574 secs.nsecs subreqs per batch batches % cum % 1: 20 20 20 2: 1 1 21 4: 0 0 21 8: 12 12 33 16: 8 8 41 32: 57 58 100 snapshot_time: 1769085523.698285182 secs.nsecs start_time: 1769085521.919490161 secs.nsecs elapsed_time: 1.778795021 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: 1769085554.356493894 secs.nsecs start_time: 1769085521.919380252 secs.nsecs elapsed_time: 32.437113642 secs.nsecs subreqs per batch batches % cum % 1: 21 21 21 2: 1 1 22 4: 0 0 22 8: 12 12 34 16: 8 8 42 32: 57 57 100 snapshot_time: 1769085554.356573349 secs.nsecs start_time: 1769085521.919490161 secs.nsecs elapsed_time: 32.437083188 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1769085557 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1769085561 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff9a1406233000.enable_statahead_fname=1 llite.lustre-ffff9a1406233000.statahead_min=8 llite.lustre-ffff9a1406233000.statahead_batch_max=64 llite.lustre-ffff9a1406233000.statahead_max=128