== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:54:16 (1787118856) llite.lustre-ffff8aaa58e99800.statahead_max=1024 llite.lustre-ffff8aaa58e99800.statahead_batch_max=32 llite.lustre-ffff8aaa58e99800.statahead_min=64 llite.lustre-ffff8aaa58e99800.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.54 ops/second llite.lustre-ffff8aaa58e99800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8aaa58e99800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8aaa58e99800.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: 1787118869.975712698 secs.nsecs start_time: 1787118866.374639464 secs.nsecs elapsed_time: 3.601073234 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 1 1 8 4: 13 15 23 8: 4 4 27 16: 3 3 31 32: 59 68 100 snapshot_time: 1787118869.976878307 secs.nsecs start_time: 1787118866.374829646 secs.nsecs elapsed_time: 3.602048661 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: 1787118901.242684139 secs.nsecs start_time: 1787118866.374639464 secs.nsecs elapsed_time: 34.868044675 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 1 1 9 4: 13 14 24 8: 4 4 28 16: 3 3 32 32: 59 67 100 snapshot_time: 1787118901.242731093 secs.nsecs start_time: 1787118866.374829646 secs.nsecs elapsed_time: 34.867901447 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 5.02 seconds: 199.31 ops/second llite.lustre-ffff8aaa58e99800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8aaa58e99800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8aaa58e99800.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: 1787118915.198208968 secs.nsecs start_time: 1787118911.213442632 secs.nsecs elapsed_time: 3.984766336 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 5 5 13 4: 7 7 20 8: 10 10 31 16: 5 5 36 32: 58 63 100 snapshot_time: 1787118915.198279563 secs.nsecs start_time: 1787118911.213517356 secs.nsecs elapsed_time: 3.984762207 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: 1787118945.859962553 secs.nsecs start_time: 1787118911.213442632 secs.nsecs elapsed_time: 34.646519921 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 13 4: 7 7 21 8: 10 10 32 16: 5 5 37 32: 58 62 100 snapshot_time: 1787118945.860081447 secs.nsecs start_time: 1787118911.213517356 secs.nsecs elapsed_time: 34.646564091 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787118953 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787118962 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8aaa58e99800.enable_statahead_fname=1 llite.lustre-ffff8aaa58e99800.statahead_min=8 llite.lustre-ffff8aaa58e99800.statahead_batch_max=64 llite.lustre-ffff8aaa58e99800.statahead_max=128