== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:29:35 (1786753775) llite.lustre-ffff8fb3817b2000.statahead_max=1024 llite.lustre-ffff8fb3817b2000.statahead_batch_max=32 llite.lustre-ffff8fb3817b2000.statahead_min=64 llite.lustre-ffff8fb3817b2000.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 7.74 seconds: 129.13 ops/second llite.lustre-ffff8fb3817b2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fb3817b2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fb3817b2000.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: 1786753794.790803924 secs.nsecs start_time: 1786753790.061179240 secs.nsecs elapsed_time: 4.729624684 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 6 6 16 4: 8 9 25 8: 4 4 29 16: 0 0 29 32: 61 70 100 snapshot_time: 1786753794.790882742 secs.nsecs start_time: 1786753790.061265434 secs.nsecs elapsed_time: 4.729617308 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: 1786753825.032262263 secs.nsecs start_time: 1786753790.061179240 secs.nsecs elapsed_time: 34.971083023 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 6 6 17 4: 8 9 26 8: 4 4 30 16: 0 0 30 32: 61 69 100 snapshot_time: 1786753825.032333467 secs.nsecs start_time: 1786753790.061265434 secs.nsecs elapsed_time: 34.971068033 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.18 seconds: 193.15 ops/second llite.lustre-ffff8fb3817b2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fb3817b2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fb3817b2000.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: 1786753839.824772493 secs.nsecs start_time: 1786753836.114169970 secs.nsecs elapsed_time: 3.710602523 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 10 11 16 8: 10 11 28 16: 6 6 34 32: 58 65 100 snapshot_time: 1786753839.824835515 secs.nsecs start_time: 1786753836.114315191 secs.nsecs elapsed_time: 3.710520324 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 '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786753870.737414766 secs.nsecs start_time: 1786753836.114169970 secs.nsecs elapsed_time: 34.623244796 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 10 11 17 8: 10 11 28 16: 6 6 35 32: 58 64 100 snapshot_time: 1786753870.737527952 secs.nsecs start_time: 1786753836.114315191 secs.nsecs elapsed_time: 34.623212761 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786753879 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786753888 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8fb3817b2000.enable_statahead_fname=1 llite.lustre-ffff8fb3817b2000.statahead_min=8 llite.lustre-ffff8fb3817b2000.statahead_batch_max=64 llite.lustre-ffff8fb3817b2000.statahead_max=128