== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:08:33 (1788516513) llite.lustre-ffff930437b22000.statahead_max=1024 llite.lustre-ffff930437b22000.statahead_batch_max=32 llite.lustre-ffff930437b22000.statahead_min=64 llite.lustre-ffff930437b22000.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.42 seconds: 155.66 ops/second llite.lustre-ffff930437b22000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff930437b22000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff930437b22000.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: 1788516529.246220765 secs.nsecs start_time: 1788516525.204098969 secs.nsecs elapsed_time: 4.042121796 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 8 13 4: 6 6 20 8: 7 8 28 16: 3 3 32 32: 59 67 100 snapshot_time: 1788516529.246295850 secs.nsecs start_time: 1788516525.204199726 secs.nsecs elapsed_time: 4.042096124 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: 1788516559.658148288 secs.nsecs start_time: 1788516525.204098969 secs.nsecs elapsed_time: 34.454049319 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 7 7 14 4: 6 6 21 8: 7 7 29 16: 3 3 32 32: 59 67 100 snapshot_time: 1788516559.658221788 secs.nsecs start_time: 1788516525.204199726 secs.nsecs elapsed_time: 34.454022062 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.79 seconds: 147.23 ops/second llite.lustre-ffff930437b22000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff930437b22000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff930437b22000.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: 1788516576.426529535 secs.nsecs start_time: 1788516572.422591147 secs.nsecs elapsed_time: 4.003938388 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 0 0 5 4: 6 7 13 8: 7 8 21 16: 8 9 30 32: 58 69 100 snapshot_time: 1788516576.426593362 secs.nsecs start_time: 1788516572.422719935 secs.nsecs elapsed_time: 4.003873427 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: 993 miss_total: 2 snapshot_time: 1788516606.781995928 secs.nsecs start_time: 1788516572.422591147 secs.nsecs elapsed_time: 34.359404781 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 6 7 14 8: 7 8 22 16: 8 9 31 32: 58 68 100 snapshot_time: 1788516606.782064108 secs.nsecs start_time: 1788516572.422719935 secs.nsecs elapsed_time: 34.359344173 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788516615 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1788516625 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff930437b22000.enable_statahead_fname=1 llite.lustre-ffff930437b22000.statahead_min=8 llite.lustre-ffff930437b22000.statahead_batch_max=64 llite.lustre-ffff930437b22000.statahead_max=128