== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:34:55 (1788755695) llite.lustre-ffff999381ceb800.statahead_max=1024 llite.lustre-ffff999381ceb800.statahead_batch_max=32 llite.lustre-ffff999381ceb800.statahead_min=64 llite.lustre-ffff999381ceb800.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 6.31 seconds: 158.54 ops/second llite.lustre-ffff999381ceb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff999381ceb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff999381ceb800.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: 1788755713.853343194 secs.nsecs start_time: 1788755708.918931889 secs.nsecs elapsed_time: 4.934411305 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 13 14 29 8: 3 3 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1788755713.853411280 secs.nsecs start_time: 1788755708.919013489 secs.nsecs elapsed_time: 4.934397791 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: 1788755745.282633136 secs.nsecs start_time: 1788755708.918931889 secs.nsecs elapsed_time: 36.363701247 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 5 5 15 4: 13 14 30 8: 3 3 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1788755745.282710042 secs.nsecs start_time: 1788755708.919013489 secs.nsecs elapsed_time: 36.363696553 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 6.70 seconds: 149.21 ops/second llite.lustre-ffff999381ceb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff999381ceb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff999381ceb800.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: 1788755762.612849124 secs.nsecs start_time: 1788755757.824399025 secs.nsecs elapsed_time: 4.788450099 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 6 7 13 8: 9 10 24 16: 5 6 30 32: 58 69 100 snapshot_time: 1788755762.612923291 secs.nsecs start_time: 1788755757.824511403 secs.nsecs elapsed_time: 4.788411888 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: 995 miss_total: 0 snapshot_time: 1788755793.150039011 secs.nsecs start_time: 1788755757.824399025 secs.nsecs elapsed_time: 35.325639986 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 6 7 14 8: 9 10 25 16: 5 5 30 32: 58 69 100 snapshot_time: 1788755793.150134806 secs.nsecs start_time: 1788755757.824511403 secs.nsecs elapsed_time: 35.325623403 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788755805 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788755817 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff999381ceb800.enable_statahead_fname=1 llite.lustre-ffff999381ceb800.statahead_min=8 llite.lustre-ffff999381ceb800.statahead_batch_max=64 llite.lustre-ffff999381ceb800.statahead_max=128