== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:53:50 (1784055230) llite.lustre-ffff93d51140c000.statahead_max=1024 llite.lustre-ffff93d51140c000.statahead_batch_max=32 llite.lustre-ffff93d51140c000.statahead_min=64 llite.lustre-ffff93d51140c000.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.87 seconds: 170.42 ops/second llite.lustre-ffff93d51140c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93d51140c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93d51140c000.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: 1784055248.215543448 secs.nsecs start_time: 1784055243.766878425 secs.nsecs elapsed_time: 4.448665023 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 8 9 18 8: 4 4 23 16: 3 3 26 32: 60 73 100 snapshot_time: 1784055248.215606105 secs.nsecs start_time: 1784055243.766955350 secs.nsecs elapsed_time: 4.448650755 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1784055278.906836190 secs.nsecs start_time: 1784055243.766878425 secs.nsecs elapsed_time: 35.139957765 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 8 9 19 8: 4 4 24 16: 3 3 27 32: 60 72 100 snapshot_time: 1784055278.906901691 secs.nsecs start_time: 1784055243.766955350 secs.nsecs elapsed_time: 35.139946341 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 5.55 seconds: 180.13 ops/second llite.lustre-ffff93d51140c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93d51140c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93d51140c000.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: 1784055293.601710853 secs.nsecs start_time: 1784055290.326838219 secs.nsecs elapsed_time: 3.274872634 secs.nsecs subreqs per batch batches %% cum %% 1: 3 4 4 2: 3 4 8 4: 4 5 13 8: 0 0 13 16: 4 5 18 32: 61 81 100 snapshot_time: 1784055293.601777268 secs.nsecs start_time: 1784055290.326977820 secs.nsecs elapsed_time: 3.274799448 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1784055324.014719280 secs.nsecs start_time: 1784055290.326838219 secs.nsecs elapsed_time: 33.687881061 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 3 3 9 4: 4 5 14 8: 0 0 14 16: 4 5 19 32: 61 80 100 snapshot_time: 1784055324.014788325 secs.nsecs start_time: 1784055290.326977820 secs.nsecs elapsed_time: 33.687810505 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784055334 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1784055343 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff93d51140c000.enable_statahead_fname=1 llite.lustre-ffff93d51140c000.statahead_min=8 llite.lustre-ffff93d51140c000.statahead_batch_max=64 llite.lustre-ffff93d51140c000.statahead_max=128