== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:55:34 (1787835334) llite.lustre-ffff8c73601c6000.statahead_max=1024 llite.lustre-ffff8c73601c6000.statahead_batch_max=32 llite.lustre-ffff8c73601c6000.statahead_min=64 llite.lustre-ffff8c73601c6000.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.46 seconds: 183.30 ops/second llite.lustre-ffff8c73601c6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c73601c6000.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: 1787835348.232196134 secs.nsecs start_time: 1787835344.794521515 secs.nsecs elapsed_time: 3.437674619 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 13 14 28 8: 4 4 33 16: 0 0 33 32: 60 66 100 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: 1787835379.109652690 secs.nsecs start_time: 1787835344.794521515 secs.nsecs elapsed_time: 34.315131175 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 6 6 15 4: 13 14 29 8: 4 4 34 16: 0 0 34 32: 60 65 100 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.72 seconds: 148.92 ops/second llite.lustre-ffff8c73601c6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c73601c6000.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: 1787835393.412372444 secs.nsecs start_time: 1787835390.339574037 secs.nsecs elapsed_time: 3.072798407 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 5 4: 7 9 14 8: 5 6 20 16: 1 1 22 32: 60 77 100 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: 995 miss_total: 0 snapshot_time: 1787835423.973473842 secs.nsecs start_time: 1787835390.339574037 secs.nsecs elapsed_time: 33.633899805 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 7 8 15 8: 5 6 21 16: 1 1 23 32: 60 76 100 - unlinked 0 (time 1787835431 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787835441 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8c73601c6000.enable_statahead_fname=1 llite.lustre-ffff8c73601c6000.statahead_min=8 llite.lustre-ffff8c73601c6000.statahead_batch_max=64 llite.lustre-ffff8c73601c6000.statahead_max=128