== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:12:37 (1789272757) llite.lustre-ffff8a134c1be800.statahead_max=1024 llite.lustre-ffff8a134c1be800.statahead_batch_max=32 llite.lustre-ffff8a134c1be800.statahead_min=64 llite.lustre-ffff8a134c1be800.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.16 seconds: 162.26 ops/second llite.lustre-ffff8a134c1be800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a134c1be800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a134c1be800.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: 1789272773.569107701 secs.nsecs start_time: 1789272769.570942758 secs.nsecs elapsed_time: 3.998164943 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 7 8 9 4: 15 17 26 8: 3 3 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1789272773.569553799 secs.nsecs start_time: 1789272769.571104993 secs.nsecs elapsed_time: 3.998448806 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: 993 miss_total: 2 snapshot_time: 1789272805.030392392 secs.nsecs start_time: 1789272769.570942758 secs.nsecs elapsed_time: 35.459449634 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 7 7 10 4: 15 17 27 8: 3 3 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1789272805.030466578 secs.nsecs start_time: 1789272769.571104993 secs.nsecs elapsed_time: 35.459361585 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.96 seconds: 167.91 ops/second llite.lustre-ffff8a134c1be800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a134c1be800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a134c1be800.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: 1789272820.689811155 secs.nsecs start_time: 1789272816.785048868 secs.nsecs elapsed_time: 3.904762287 secs.nsecs subreqs per batch batches %% cum %% 1: 11 13 13 2: 3 3 16 4: 3 3 20 8: 4 4 25 16: 2 2 27 32: 60 72 100 snapshot_time: 1789272820.689875995 secs.nsecs start_time: 1789272816.785276916 secs.nsecs elapsed_time: 3.904599079 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1789272852.256855894 secs.nsecs start_time: 1789272816.785048868 secs.nsecs elapsed_time: 35.471807026 secs.nsecs subreqs per batch batches %% cum %% 1: 12 14 14 2: 3 3 17 4: 3 3 21 8: 4 4 26 16: 2 2 28 32: 60 71 100 snapshot_time: 1789272852.257309789 secs.nsecs start_time: 1789272816.785276916 secs.nsecs elapsed_time: 35.472032873 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789272864 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1789272878 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff8a134c1be800.enable_statahead_fname=1 llite.lustre-ffff8a134c1be800.statahead_min=8 llite.lustre-ffff8a134c1be800.statahead_batch_max=64 llite.lustre-ffff8a134c1be800.statahead_max=128