== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:44:37 (1787391877) llite.lustre-ffff95d2113f9000.statahead_max=1024 llite.lustre-ffff95d2113f9000.statahead_batch_max=32 llite.lustre-ffff95d2113f9000.statahead_min=64 llite.lustre-ffff95d2113f9000.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.95 seconds: 143.95 ops/second llite.lustre-ffff95d2113f9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95d2113f9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95d2113f9000.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: 1787391895.318122409 secs.nsecs start_time: 1787391891.433853742 secs.nsecs elapsed_time: 3.884268667 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 8 9 19 8: 7 8 27 16: 0 0 27 32: 61 72 100 snapshot_time: 1787391895.318188777 secs.nsecs start_time: 1787391891.433982075 secs.nsecs elapsed_time: 3.884206702 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: 1787391926.469535159 secs.nsecs start_time: 1787391891.433853742 secs.nsecs elapsed_time: 35.035681417 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 8 9 20 8: 7 8 28 16: 0 0 28 32: 61 71 100 snapshot_time: 1787391926.469595889 secs.nsecs start_time: 1787391891.433982075 secs.nsecs elapsed_time: 35.035613814 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 7.01 seconds: 142.66 ops/second llite.lustre-ffff95d2113f9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95d2113f9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95d2113f9000.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: 1787391942.813180741 secs.nsecs start_time: 1787391939.521313011 secs.nsecs elapsed_time: 3.291867730 secs.nsecs subreqs per batch batches %% cum %% 1: 11 12 12 2: 1 1 13 4: 2 2 15 8: 6 6 22 16: 8 9 31 32: 60 68 100 snapshot_time: 1787391942.813311058 secs.nsecs start_time: 1787391939.521394737 secs.nsecs elapsed_time: 3.291916321 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787391974.119921420 secs.nsecs start_time: 1787391939.521313011 secs.nsecs elapsed_time: 34.598608409 secs.nsecs subreqs per batch batches %% cum %% 1: 12 13 13 2: 1 1 14 4: 2 2 16 8: 6 6 23 16: 8 8 32 32: 60 67 100 snapshot_time: 1787391974.119985262 secs.nsecs start_time: 1787391939.521394737 secs.nsecs elapsed_time: 34.598590525 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787391982 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787391992 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff95d2113f9000.enable_statahead_fname=1 llite.lustre-ffff95d2113f9000.statahead_min=8 llite.lustre-ffff95d2113f9000.statahead_batch_max=64 llite.lustre-ffff95d2113f9000.statahead_max=128