== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:35:49 (1787790949) llite.lustre-ffff8a767b78c800.statahead_max=1024 llite.lustre-ffff8a767b78c800.statahead_batch_max=32 llite.lustre-ffff8a767b78c800.statahead_min=64 llite.lustre-ffff8a767b78c800.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 4.73 seconds: 211.59 ops/second llite.lustre-ffff8a767b78c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a767b78c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a767b78c800.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: 1787790964.125050842 secs.nsecs start_time: 1787790960.084325858 secs.nsecs elapsed_time: 4.040724984 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 5 5 16 4: 7 7 24 8: 9 9 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1787790964.125110601 secs.nsecs start_time: 1787790960.084398882 secs.nsecs elapsed_time: 4.040711719 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: 1787790995.173156705 secs.nsecs start_time: 1787790960.084325858 secs.nsecs elapsed_time: 35.088830847 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 5 5 17 4: 7 7 25 8: 9 9 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1787790995.173227897 secs.nsecs start_time: 1787790960.084398882 secs.nsecs elapsed_time: 35.088829015 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 4.76 seconds: 210.26 ops/second llite.lustre-ffff8a767b78c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a767b78c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a767b78c800.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: 1787791007.657335085 secs.nsecs start_time: 1787791004.458528475 secs.nsecs elapsed_time: 3.198806610 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 5 4: 4 5 10 8: 8 10 20 16: 5 6 26 32: 59 73 100 snapshot_time: 1787791007.657460027 secs.nsecs start_time: 1787791004.458622480 secs.nsecs elapsed_time: 3.198837547 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: 1787791039.406140610 secs.nsecs start_time: 1787791004.458528475 secs.nsecs elapsed_time: 34.947612135 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 4 4 11 8: 8 9 20 16: 5 6 27 32: 59 72 100 snapshot_time: 1787791039.406201665 secs.nsecs start_time: 1787791004.458622480 secs.nsecs elapsed_time: 34.947579185 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787791045 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787791054 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8a767b78c800.enable_statahead_fname=1 llite.lustre-ffff8a767b78c800.statahead_min=8 llite.lustre-ffff8a767b78c800.statahead_batch_max=64 llite.lustre-ffff8a767b78c800.statahead_max=128