== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:10:15 (1785769815) llite.lustre-ffff8bf748de0800.statahead_max=1024 llite.lustre-ffff8bf748de0800.statahead_batch_max=32 llite.lustre-ffff8bf748de0800.statahead_min=64 llite.lustre-ffff8bf748de0800.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 8.94 seconds: 111.88 ops/second llite.lustre-ffff8bf748de0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf748de0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf748de0800.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: 1785769838.606941010 secs.nsecs start_time: 1785769832.729310552 secs.nsecs elapsed_time: 5.877630458 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 11 13 20 8: 5 6 26 16: 2 2 28 32: 59 71 100 snapshot_time: 1785769838.607005785 secs.nsecs start_time: 1785769832.729391791 secs.nsecs elapsed_time: 5.877613994 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 '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1785769869.739425763 secs.nsecs start_time: 1785769832.729310552 secs.nsecs elapsed_time: 37.010115211 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 11 13 21 8: 5 5 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1785769869.739725025 secs.nsecs start_time: 1785769832.729391791 secs.nsecs elapsed_time: 37.010333234 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.89 seconds: 126.77 ops/second llite.lustre-ffff8bf748de0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf748de0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf748de0800.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: 1785769890.792489355 secs.nsecs start_time: 1785769885.426766905 secs.nsecs elapsed_time: 5.365722450 secs.nsecs subreqs per batch batches %% cum %% 1: 14 14 14 2: 5 5 19 4: 5 5 24 8: 11 11 35 16: 8 8 43 32: 57 57 100 snapshot_time: 1785769890.792555268 secs.nsecs start_time: 1785769885.426841741 secs.nsecs elapsed_time: 5.365713527 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: 995 miss_total: 0 snapshot_time: 1785769921.741515541 secs.nsecs start_time: 1785769885.426766905 secs.nsecs elapsed_time: 36.314748636 secs.nsecs subreqs per batch batches %% cum %% 1: 15 14 14 2: 5 4 19 4: 5 4 24 8: 11 10 35 16: 8 7 43 32: 57 56 100 snapshot_time: 1785769921.741590262 secs.nsecs start_time: 1785769885.426841741 secs.nsecs elapsed_time: 36.314748521 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785769934 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1785769949 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff8bf748de0800.enable_statahead_fname=1 llite.lustre-ffff8bf748de0800.statahead_min=8 llite.lustre-ffff8bf748de0800.statahead_batch_max=64 llite.lustre-ffff8bf748de0800.statahead_max=128