== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:28:39 (1772479719) llite.lustre-ffff938ba4d65000.statahead_max=1024 llite.lustre-ffff938ba4d65000.statahead_batch_max=32 llite.lustre-ffff938ba4d65000.statahead_min=64 llite.lustre-ffff938ba4d65000.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 0.98 seconds: 1019.25 ops/second llite.lustre-ffff938ba4d65000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff938ba4d65000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff938ba4d65000.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: 1772479725.044496473 secs.nsecs start_time: 1772479723.088738979 secs.nsecs elapsed_time: 1.955757494 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 21 24 28 8: 1 1 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1772479725.044551126 secs.nsecs start_time: 1772479723.088812534 secs.nsecs elapsed_time: 1.955738592 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: 994 miss_total: 1 snapshot_time: 1772479755.619495374 secs.nsecs start_time: 1772479723.088738979 secs.nsecs elapsed_time: 32.530756395 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 1 1 4 4: 21 24 29 8: 1 1 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1772479755.619542562 secs.nsecs start_time: 1772479723.088812534 secs.nsecs elapsed_time: 32.530730028 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.51 seconds: 661.97 ops/second llite.lustre-ffff938ba4d65000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff938ba4d65000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff938ba4d65000.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: 1772479761.396640615 secs.nsecs start_time: 1772479759.313043434 secs.nsecs elapsed_time: 2.083597181 secs.nsecs subreqs per batch batches % cum % 1: 23 21 21 2: 3 2 24 4: 5 4 28 8: 14 13 42 16: 4 3 45 32: 58 54 100 snapshot_time: 1772479761.396686442 secs.nsecs start_time: 1772479759.313142018 secs.nsecs elapsed_time: 2.083544424 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1772479791.773244183 secs.nsecs start_time: 1772479759.313043434 secs.nsecs elapsed_time: 32.460200749 secs.nsecs subreqs per batch batches % cum % 1: 24 22 22 2: 3 2 25 4: 5 4 29 8: 14 12 42 16: 4 3 46 32: 58 53 100 snapshot_time: 1772479791.773286016 secs.nsecs start_time: 1772479759.313142018 secs.nsecs elapsed_time: 32.460143998 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1772479794 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1772479797 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff938ba4d65000.enable_statahead_fname=1 llite.lustre-ffff938ba4d65000.statahead_min=8 llite.lustre-ffff938ba4d65000.statahead_batch_max=64 llite.lustre-ffff938ba4d65000.statahead_max=128