== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:06:05 (1782536765) llite.lustre-ffffa07942cd6800.statahead_max=1024 llite.lustre-ffffa07942cd6800.statahead_batch_max=32 llite.lustre-ffffa07942cd6800.statahead_min=64 llite.lustre-ffffa07942cd6800.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 1.07 seconds: 938.91 ops/second llite.lustre-ffffa07942cd6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa07942cd6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa07942cd6800.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: 1782536770.941953418 secs.nsecs start_time: 1782536768.806611348 secs.nsecs elapsed_time: 2.135342070 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 17 19 23 8: 5 5 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1782536770.942023253 secs.nsecs start_time: 1782536768.806683762 secs.nsecs elapsed_time: 2.135339491 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: 1782536802.069190570 secs.nsecs start_time: 1782536768.806611348 secs.nsecs elapsed_time: 33.262579222 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 17 19 24 8: 5 5 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1782536802.069259748 secs.nsecs start_time: 1782536768.806683762 secs.nsecs elapsed_time: 33.262575986 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.11 seconds: 904.41 ops/second llite.lustre-ffffa07942cd6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa07942cd6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa07942cd6800.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: 1782536806.829647693 secs.nsecs start_time: 1782536804.852777876 secs.nsecs elapsed_time: 1.976869817 secs.nsecs subreqs per batch batches %% cum %% 1: 28 25 25 2: 1 0 26 4: 4 3 30 8: 12 11 41 16: 7 6 48 32: 56 51 100 snapshot_time: 1782536806.829686806 secs.nsecs start_time: 1782536804.852833706 secs.nsecs elapsed_time: 1.976853100 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: 1782536838.006987834 secs.nsecs start_time: 1782536804.852777876 secs.nsecs elapsed_time: 33.154209958 secs.nsecs subreqs per batch batches %% cum %% 1: 29 26 26 2: 1 0 27 4: 4 3 31 8: 12 11 42 16: 7 6 48 32: 56 51 100 snapshot_time: 1782536838.007041883 secs.nsecs start_time: 1782536804.852833706 secs.nsecs elapsed_time: 33.154208177 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1782536840 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1782536843 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffffa07942cd6800.enable_statahead_fname=1 llite.lustre-ffffa07942cd6800.statahead_min=8 llite.lustre-ffffa07942cd6800.statahead_batch_max=64 llite.lustre-ffffa07942cd6800.statahead_max=128