== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:41:19 (1787708479) llite.lustre-ffff8bf8051c5000.statahead_max=1024 llite.lustre-ffff8bf8051c5000.statahead_batch_max=32 llite.lustre-ffff8bf8051c5000.statahead_min=64 llite.lustre-ffff8bf8051c5000.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.72 seconds: 148.75 ops/second llite.lustre-ffff8bf8051c5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf8051c5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf8051c5000.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: 1787708497.103620003 secs.nsecs start_time: 1787708492.478160866 secs.nsecs elapsed_time: 4.625459137 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 8 8 15 4: 7 7 23 8: 9 9 32 16: 2 2 35 32: 59 64 100 snapshot_time: 1787708497.103688754 secs.nsecs start_time: 1787708492.478272364 secs.nsecs elapsed_time: 4.625416390 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: 1787708527.771746873 secs.nsecs start_time: 1787708492.478160866 secs.nsecs elapsed_time: 35.293586007 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 8 8 16 4: 7 7 23 8: 9 9 33 16: 2 2 35 32: 59 64 100 snapshot_time: 1787708527.771816201 secs.nsecs start_time: 1787708492.478272364 secs.nsecs elapsed_time: 35.293543837 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.64 seconds: 130.91 ops/second llite.lustre-ffff8bf8051c5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf8051c5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf8051c5000.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: 1787708544.107722707 secs.nsecs start_time: 1787708540.755985141 secs.nsecs elapsed_time: 3.351737566 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 9 10 14 8: 4 4 19 16: 6 7 26 32: 60 73 100 snapshot_time: 1787708544.107801448 secs.nsecs start_time: 1787708540.756097631 secs.nsecs elapsed_time: 3.351703817 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: 1787708575.381736298 secs.nsecs start_time: 1787708540.755985141 secs.nsecs elapsed_time: 34.625751157 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 9 10 15 8: 4 4 20 16: 6 7 27 32: 60 72 100 snapshot_time: 1787708575.381814920 secs.nsecs start_time: 1787708540.756097631 secs.nsecs elapsed_time: 34.625717289 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787708584 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787708594 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8bf8051c5000.enable_statahead_fname=1 llite.lustre-ffff8bf8051c5000.statahead_min=8 llite.lustre-ffff8bf8051c5000.statahead_batch_max=64 llite.lustre-ffff8bf8051c5000.statahead_max=128