== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:33:57 (1786764837) llite.lustre-ffff980d52a8b000.statahead_max=1024 llite.lustre-ffff980d52a8b000.statahead_batch_max=32 llite.lustre-ffff980d52a8b000.statahead_min=64 llite.lustre-ffff980d52a8b000.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.09 seconds: 196.35 ops/second llite.lustre-ffff980d52a8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff980d52a8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff980d52a8b000.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: 1786764854.941424336 secs.nsecs start_time: 1786764848.906710031 secs.nsecs elapsed_time: 6.034714305 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: 1786764854.942473679 secs.nsecs start_time: 1786764848.906882531 secs.nsecs elapsed_time: 6.035591148 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: 1786764885.925232839 secs.nsecs start_time: 1786764848.906710031 secs.nsecs elapsed_time: 37.018522808 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 14 15 28 8: 4 4 32 16: 1 1 33 32: 59 66 100 snapshot_time: 1786764885.925397393 secs.nsecs start_time: 1786764848.906882531 secs.nsecs elapsed_time: 37.018514862 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.44 seconds: 225.26 ops/second llite.lustre-ffff980d52a8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff980d52a8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff980d52a8b000.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: 1786764899.511805319 secs.nsecs start_time: 1786764896.512178097 secs.nsecs elapsed_time: 2.999627222 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 1 1 9 4: 2 2 12 8: 7 8 20 16: 4 4 25 32: 61 74 100 snapshot_time: 1786764899.511945482 secs.nsecs start_time: 1786764896.512247621 secs.nsecs elapsed_time: 2.999697861 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: 1786764929.977623426 secs.nsecs start_time: 1786764896.512178097 secs.nsecs elapsed_time: 33.465445329 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 1 1 10 4: 2 2 13 8: 7 8 21 16: 4 4 26 32: 61 73 100 snapshot_time: 1786764929.977689726 secs.nsecs start_time: 1786764896.512247621 secs.nsecs elapsed_time: 33.465442105 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786764937 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786764946 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff980d52a8b000.enable_statahead_fname=1 llite.lustre-ffff980d52a8b000.statahead_min=8 llite.lustre-ffff980d52a8b000.statahead_batch_max=64 llite.lustre-ffff980d52a8b000.statahead_max=128