== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:36:43 (1781235403) llite.lustre-ffff94143b0e8000.statahead_max=1024 llite.lustre-ffff94143b0e8000.statahead_batch_max=32 llite.lustre-ffff94143b0e8000.statahead_min=64 llite.lustre-ffff94143b0e8000.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 3.89 seconds: 257.40 ops/second llite.lustre-ffff94143b0e8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94143b0e8000.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: 1781235412.427519882 secs.nsecs start_time: 1781235410.284072646 secs.nsecs elapsed_time: 2.143447236 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 7 4: 9 10 17 8: 8 9 27 16: 3 3 30 32: 59 69 100 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: 994 miss_total: 1 snapshot_time: 1781235443.073091882 secs.nsecs start_time: 1781235410.284072646 secs.nsecs elapsed_time: 32.789019236 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 8 4: 9 10 18 8: 8 9 27 16: 3 3 31 32: 59 68 100 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 3.25 seconds: 308.01 ops/second llite.lustre-ffff94143b0e8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94143b0e8000.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: 1781235450.523811063 secs.nsecs start_time: 1781235448.714766302 secs.nsecs elapsed_time: 1.809044761 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 3 3 11 4: 4 4 16 8: 7 8 24 16: 5 5 30 32: 60 69 100 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: 1781235481.337676347 secs.nsecs start_time: 1781235448.714766302 secs.nsecs elapsed_time: 32.622910045 secs.nsecs subreqs per batch batches % cum % 1: 8 9 9 2: 3 3 12 4: 4 4 17 8: 7 8 25 16: 5 5 31 32: 60 68 100 - unlinked 0 (time 1781235485 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1781235491 ; total 1 ; last 1) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second llite.lustre-ffff94143b0e8000.enable_statahead_fname=1 llite.lustre-ffff94143b0e8000.statahead_min=8 llite.lustre-ffff94143b0e8000.statahead_batch_max=64 llite.lustre-ffff94143b0e8000.statahead_max=128