== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:59:57 (1786417197) llite.lustre-ffff9412d889c000.statahead_max=1024 llite.lustre-ffff9412d889c000.statahead_batch_max=32 llite.lustre-ffff9412d889c000.statahead_min=64 llite.lustre-ffff9412d889c000.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.59 seconds: 151.75 ops/second llite.lustre-ffff9412d889c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9412d889c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9412d889c000.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: 1786417213.574379241 secs.nsecs start_time: 1786417209.261899148 secs.nsecs elapsed_time: 4.312480093 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 7 8 11 4: 13 14 26 8: 3 3 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1786417213.575149139 secs.nsecs start_time: 1786417209.262031423 secs.nsecs elapsed_time: 4.313117716 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786417244.139017323 secs.nsecs start_time: 1786417209.261899148 secs.nsecs elapsed_time: 34.877118175 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 7 12 4: 13 14 27 8: 3 3 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1786417244.144263283 secs.nsecs start_time: 1786417209.262031423 secs.nsecs elapsed_time: 34.882231860 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.78 seconds: 173.03 ops/second llite.lustre-ffff9412d889c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9412d889c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9412d889c000.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: 1786417259.180495917 secs.nsecs start_time: 1786417255.873872716 secs.nsecs elapsed_time: 3.306623201 secs.nsecs subreqs per batch batches %% cum %% 1: 15 15 15 2: 4 4 20 4: 6 6 26 8: 4 4 30 16: 5 5 35 32: 61 64 100 snapshot_time: 1786417259.180565305 secs.nsecs start_time: 1786417255.874318171 secs.nsecs elapsed_time: 3.306247134 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 '' 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: 1786417290.488698304 secs.nsecs start_time: 1786417255.873872716 secs.nsecs elapsed_time: 34.614825588 secs.nsecs subreqs per batch batches %% cum %% 1: 16 16 16 2: 4 4 20 4: 6 6 27 8: 4 4 31 16: 5 5 36 32: 61 63 100 snapshot_time: 1786417290.488826655 secs.nsecs start_time: 1786417255.874318171 secs.nsecs elapsed_time: 34.614508484 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786417303 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1786417317 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff9412d889c000.enable_statahead_fname=1 llite.lustre-ffff9412d889c000.statahead_min=8 llite.lustre-ffff9412d889c000.statahead_batch_max=64 llite.lustre-ffff9412d889c000.statahead_max=128