== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:25:42 (1786829142) llite.lustre-ffff9995c93d6000.statahead_max=1024 llite.lustre-ffff9995c93d6000.statahead_batch_max=32 llite.lustre-ffff9995c93d6000.statahead_min=64 llite.lustre-ffff9995c93d6000.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.74 seconds: 211.19 ops/second llite.lustre-ffff9995c93d6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c93d6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c93d6000.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: 1786829157.686742394 secs.nsecs start_time: 1786829153.323511017 secs.nsecs elapsed_time: 4.363231377 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 14 16 26 8: 4 4 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1786829157.686915066 secs.nsecs start_time: 1786829153.323742912 secs.nsecs elapsed_time: 4.363172154 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: 993 miss_total: 2 snapshot_time: 1786829188.109580885 secs.nsecs start_time: 1786829153.323511017 secs.nsecs elapsed_time: 34.786069868 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 14 15 27 8: 4 4 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1786829188.111482384 secs.nsecs start_time: 1786829153.323742912 secs.nsecs elapsed_time: 34.787739472 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.99 seconds: 200.36 ops/second llite.lustre-ffff9995c93d6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9995c93d6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9995c93d6000.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: 1786829202.207215661 secs.nsecs start_time: 1786829199.236508159 secs.nsecs elapsed_time: 2.970707502 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 5 5 14 8: 8 9 23 16: 3 3 27 32: 61 72 100 snapshot_time: 1786829202.207286143 secs.nsecs start_time: 1786829199.236724937 secs.nsecs elapsed_time: 2.970561206 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: 995 miss_total: 0 snapshot_time: 1786829232.601576021 secs.nsecs start_time: 1786829199.236508159 secs.nsecs elapsed_time: 33.365067862 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 5 5 15 8: 8 9 24 16: 3 3 28 32: 61 71 100 snapshot_time: 1786829232.602054531 secs.nsecs start_time: 1786829199.236724937 secs.nsecs elapsed_time: 33.365329594 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786829242 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786829251 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9995c93d6000.enable_statahead_fname=1 llite.lustre-ffff9995c93d6000.statahead_min=8 llite.lustre-ffff9995c93d6000.statahead_batch_max=64 llite.lustre-ffff9995c93d6000.statahead_max=128