== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:10:08 (1788570608) llite.lustre-ffff95a523076000.statahead_max=1024 llite.lustre-ffff95a523076000.statahead_batch_max=32 llite.lustre-ffff95a523076000.statahead_min=64 llite.lustre-ffff95a523076000.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.93 seconds: 168.59 ops/second llite.lustre-ffff95a523076000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95a523076000.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: 1788570624.791332974 secs.nsecs start_time: 1788570620.815890321 secs.nsecs elapsed_time: 3.975442653 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 12 13 27 8: 5 5 32 16: 1 1 34 32: 60 65 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: 993 miss_total: 2 snapshot_time: 1788570655.211075459 secs.nsecs start_time: 1788570620.815890321 secs.nsecs elapsed_time: 34.395185138 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 5 5 15 4: 12 13 28 8: 5 5 33 16: 1 1 34 32: 60 65 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 6.53 seconds: 153.08 ops/second llite.lustre-ffff95a523076000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95a523076000.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: 1788570671.477661969 secs.nsecs start_time: 1788570667.968185310 secs.nsecs elapsed_time: 3.509476659 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 7 4: 9 10 17 8: 13 14 32 16: 2 2 34 32: 59 65 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1788570701.969048924 secs.nsecs start_time: 1788570667.968185310 secs.nsecs elapsed_time: 34.000863614 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 2 2 8 4: 9 9 18 8: 13 14 32 16: 2 2 35 32: 59 64 100 - unlinked 0 (time 1788570712 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second - unlinked 0 (time 1788570728 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff95a523076000.enable_statahead_fname=1 llite.lustre-ffff95a523076000.statahead_min=8 llite.lustre-ffff95a523076000.statahead_batch_max=64 llite.lustre-ffff95a523076000.statahead_max=128