== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:31:49 (1790721109) llite.lustre-ffff8b8e151c5800.statahead_max=1024 llite.lustre-ffff8b8e151c5800.statahead_batch_max=32 llite.lustre-ffff8b8e151c5800.statahead_min=64 llite.lustre-ffff8b8e151c5800.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.69 seconds: 175.60 ops/second llite.lustre-ffff8b8e151c5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b8e151c5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b8e151c5800.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: 1790721126.399189893 secs.nsecs start_time: 1790721121.528759432 secs.nsecs elapsed_time: 4.870430461 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 6 7 10 4: 8 9 20 8: 6 7 27 16: 3 3 30 32: 59 69 100 snapshot_time: 1790721126.399256754 secs.nsecs start_time: 1790721121.528853965 secs.nsecs elapsed_time: 4.870402789 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: 1790721157.278181397 secs.nsecs start_time: 1790721121.528759432 secs.nsecs elapsed_time: 35.749421965 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 6 11 4: 8 9 20 8: 6 6 27 16: 3 3 31 32: 59 68 100 snapshot_time: 1790721157.278413702 secs.nsecs start_time: 1790721121.528853965 secs.nsecs elapsed_time: 35.749559737 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.59 seconds: 179.02 ops/second llite.lustre-ffff8b8e151c5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b8e151c5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b8e151c5800.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: 1790721172.021575802 secs.nsecs start_time: 1790721168.461889854 secs.nsecs elapsed_time: 3.559685948 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 3 3 10 4: 3 3 14 8: 6 7 21 16: 5 5 27 32: 61 72 100 snapshot_time: 1790721172.021620355 secs.nsecs start_time: 1790721168.461985755 secs.nsecs elapsed_time: 3.559634600 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: 1790721202.685597178 secs.nsecs start_time: 1790721168.461889854 secs.nsecs elapsed_time: 34.223707324 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 3 3 11 4: 3 3 15 8: 6 7 22 16: 5 5 28 32: 61 71 100 snapshot_time: 1790721202.685689835 secs.nsecs start_time: 1790721168.461985755 secs.nsecs elapsed_time: 34.223704080 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790721212 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1790721223 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8b8e151c5800.enable_statahead_fname=1 llite.lustre-ffff8b8e151c5800.statahead_min=8 llite.lustre-ffff8b8e151c5800.statahead_batch_max=64 llite.lustre-ffff8b8e151c5800.statahead_max=128