== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:28:09 (1788208089) llite.lustre-ffff98005cf7c800.statahead_max=1024 llite.lustre-ffff98005cf7c800.statahead_batch_max=32 llite.lustre-ffff98005cf7c800.statahead_min=64 llite.lustre-ffff98005cf7c800.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.11 seconds: 195.67 ops/second llite.lustre-ffff98005cf7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98005cf7c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98005cf7c800.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: 1788208104.977299781 secs.nsecs start_time: 1788208101.439856345 secs.nsecs elapsed_time: 3.537443436 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 13 14 23 8: 6 6 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1788208104.977746471 secs.nsecs start_time: 1788208101.439978172 secs.nsecs elapsed_time: 3.537768299 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: 1788208135.932827943 secs.nsecs start_time: 1788208101.439856345 secs.nsecs elapsed_time: 34.492971598 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 13 14 24 8: 6 6 31 16: 2 2 33 32: 59 66 100 snapshot_time: 1788208135.932965729 secs.nsecs start_time: 1788208101.439978172 secs.nsecs elapsed_time: 34.492987557 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.49 seconds: 182.14 ops/second llite.lustre-ffff98005cf7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98005cf7c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98005cf7c800.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: 1788208149.791342772 secs.nsecs start_time: 1788208146.438887856 secs.nsecs elapsed_time: 3.352454916 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 0 0 6 8: 7 8 15 16: 8 10 25 32: 59 74 100 snapshot_time: 1788208149.791416531 secs.nsecs start_time: 1788208146.439013999 secs.nsecs elapsed_time: 3.352402532 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1788208180.317753069 secs.nsecs start_time: 1788208146.438887856 secs.nsecs elapsed_time: 33.878865213 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 0 0 7 8: 7 8 16 16: 8 10 26 32: 59 73 100 snapshot_time: 1788208180.317826820 secs.nsecs start_time: 1788208146.439013999 secs.nsecs elapsed_time: 33.878812821 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788208191 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788208203 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff98005cf7c800.enable_statahead_fname=1 llite.lustre-ffff98005cf7c800.statahead_min=8 llite.lustre-ffff98005cf7c800.statahead_batch_max=64 llite.lustre-ffff98005cf7c800.statahead_max=128