== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:19:48 (1787793588) llite.lustre-ffff8c087c468000.statahead_max=1024 llite.lustre-ffff8c087c468000.statahead_batch_max=32 llite.lustre-ffff8c087c468000.statahead_min=64 llite.lustre-ffff8c087c468000.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.18 seconds: 161.94 ops/second llite.lustre-ffff8c087c468000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c087c468000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c087c468000.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: 1787793606.234791849 secs.nsecs start_time: 1787793601.663589755 secs.nsecs elapsed_time: 4.571202094 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 7 7 14 4: 8 9 23 8: 6 6 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1787793606.234882279 secs.nsecs start_time: 1787793601.667339574 secs.nsecs elapsed_time: 4.567542705 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: 1787793637.163438309 secs.nsecs start_time: 1787793601.663589755 secs.nsecs elapsed_time: 35.499848554 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 7 7 15 4: 8 8 24 8: 6 6 31 16: 2 2 33 32: 59 66 100 snapshot_time: 1787793637.163527719 secs.nsecs start_time: 1787793601.667339574 secs.nsecs elapsed_time: 35.496188145 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 6.42 seconds: 155.73 ops/second llite.lustre-ffff8c087c468000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c087c468000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c087c468000.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: 1787793654.206746813 secs.nsecs start_time: 1787793649.596670057 secs.nsecs elapsed_time: 4.610076756 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 5 5 13 8: 11 12 26 16: 4 4 31 32: 59 68 100 snapshot_time: 1787793654.206813355 secs.nsecs start_time: 1787793649.596778523 secs.nsecs elapsed_time: 4.610034832 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: 994 miss_total: 1 snapshot_time: 1787793684.820211998 secs.nsecs start_time: 1787793649.596670057 secs.nsecs elapsed_time: 35.223541941 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 2 2 9 4: 5 5 14 8: 11 12 27 16: 4 4 32 32: 59 67 100 snapshot_time: 1787793684.820312076 secs.nsecs start_time: 1787793649.596778523 secs.nsecs elapsed_time: 35.223533553 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787793696 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787793709 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8c087c468000.enable_statahead_fname=1 llite.lustre-ffff8c087c468000.statahead_min=8 llite.lustre-ffff8c087c468000.statahead_batch_max=64 llite.lustre-ffff8c087c468000.statahead_max=128