== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:20:32 (1785975632) llite.lustre-ffff8e01062b9800.statahead_max=1024 llite.lustre-ffff8e01062b9800.statahead_batch_max=32 llite.lustre-ffff8e01062b9800.statahead_min=64 llite.lustre-ffff8e01062b9800.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.29 seconds: 158.95 ops/second llite.lustre-ffff8e01062b9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e01062b9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e01062b9800.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: 1785975651.870076281 secs.nsecs start_time: 1785975646.119400838 secs.nsecs elapsed_time: 5.750675443 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 7 4: 15 17 24 8: 3 3 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1785975651.870161662 secs.nsecs start_time: 1785975646.119539647 secs.nsecs elapsed_time: 5.750622015 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: 1785975682.431658132 secs.nsecs start_time: 1785975646.119400838 secs.nsecs elapsed_time: 36.312257294 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 15 17 25 8: 3 3 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1785975682.431728767 secs.nsecs start_time: 1785975646.119539647 secs.nsecs elapsed_time: 36.312189120 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.97 seconds: 143.38 ops/second llite.lustre-ffff8e01062b9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e01062b9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e01062b9800.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: 1785975698.359466833 secs.nsecs start_time: 1785975694.851827585 secs.nsecs elapsed_time: 3.507639248 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 1 1 6 4: 1 1 7 8: 5 6 14 16: 7 8 23 32: 60 76 100 snapshot_time: 1785975698.359531856 secs.nsecs start_time: 1785975694.851903040 secs.nsecs elapsed_time: 3.507628816 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: 994 miss_total: 1 snapshot_time: 1785975729.017520197 secs.nsecs start_time: 1785975694.851827585 secs.nsecs elapsed_time: 34.165692612 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 1 1 8 8: 5 6 15 16: 7 8 24 32: 60 75 100 snapshot_time: 1785975729.017586780 secs.nsecs start_time: 1785975694.851903040 secs.nsecs elapsed_time: 34.165683740 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785975738 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1785975749 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8e01062b9800.enable_statahead_fname=1 llite.lustre-ffff8e01062b9800.statahead_min=8 llite.lustre-ffff8e01062b9800.statahead_batch_max=64 llite.lustre-ffff8e01062b9800.statahead_max=128