== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:56:50 (1787864210) llite.lustre-ffff913d02a8c800.statahead_max=1024 llite.lustre-ffff913d02a8c800.statahead_batch_max=32 llite.lustre-ffff913d02a8c800.statahead_min=64 llite.lustre-ffff913d02a8c800.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.08 seconds: 164.52 ops/second llite.lustre-ffff913d02a8c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff913d02a8c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff913d02a8c800.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: 1787864227.546827791 secs.nsecs start_time: 1787864223.692547003 secs.nsecs elapsed_time: 3.854280788 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 7 7 11 4: 13 14 26 8: 4 4 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1787864227.551014099 secs.nsecs start_time: 1787864223.692701796 secs.nsecs elapsed_time: 3.858312303 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: 1787864257.841874206 secs.nsecs start_time: 1787864223.692547003 secs.nsecs elapsed_time: 34.149327203 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 7 12 4: 13 14 26 8: 4 4 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1787864257.841938148 secs.nsecs start_time: 1787864223.692701796 secs.nsecs elapsed_time: 34.149236352 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.52 seconds: 181.26 ops/second llite.lustre-ffff913d02a8c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff913d02a8c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff913d02a8c800.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: 1787864272.203501201 secs.nsecs start_time: 1787864268.409873597 secs.nsecs elapsed_time: 3.793627604 secs.nsecs subreqs per batch batches %% cum %% 1: 14 15 15 2: 3 3 18 4: 1 1 19 8: 7 7 27 16: 7 7 35 32: 59 64 100 snapshot_time: 1787864272.203574040 secs.nsecs start_time: 1787864268.409965732 secs.nsecs elapsed_time: 3.793608308 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: 1787864303.052899710 secs.nsecs start_time: 1787864268.409873597 secs.nsecs elapsed_time: 34.643026113 secs.nsecs subreqs per batch batches %% cum %% 1: 15 16 16 2: 3 3 19 4: 1 1 20 8: 7 7 28 16: 7 7 35 32: 59 64 100 snapshot_time: 1787864303.052962483 secs.nsecs start_time: 1787864268.409965732 secs.nsecs elapsed_time: 34.642996751 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787864310 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787864320 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff913d02a8c800.enable_statahead_fname=1 llite.lustre-ffff913d02a8c800.statahead_min=8 llite.lustre-ffff913d02a8c800.statahead_batch_max=64 llite.lustre-ffff913d02a8c800.statahead_max=128