== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:14:14 (1753434854) llite.lustre-ffff8a20844ab000.statahead_max=1024 llite.lustre-ffff8a20844ab000.statahead_batch_max=32 llite.lustre-ffff8a20844ab000.statahead_min=64 llite.lustre-ffff8a20844ab000.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.13 seconds: 194.87 ops/second llite.lustre-ffff8a20844ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a20844ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a20844ab000.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: 1753434867.627748439 secs.nsecs start_time: 1753434864.441839564 secs.nsecs elapsed_time: 3.185908875 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 2 2 11 4: 4 4 16 8: 3 3 19 16: 6 7 27 32: 59 72 100 snapshot_time: 1753434867.627810292 secs.nsecs start_time: 1753434864.442701099 secs.nsecs elapsed_time: 3.185109193 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1753434899.086155446 secs.nsecs start_time: 1753434864.441839564 secs.nsecs elapsed_time: 34.644315882 secs.nsecs subreqs per batch batches % cum % 1: 8 9 9 2: 2 2 12 4: 4 4 17 8: 3 3 20 16: 6 7 28 32: 59 71 100 snapshot_time: 1753434899.086297625 secs.nsecs start_time: 1753434864.442701099 secs.nsecs elapsed_time: 34.643596526 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 4.21 seconds: 237.26 ops/second llite.lustre-ffff8a20844ab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a20844ab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a20844ab000.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: 1753434908.431343953 secs.nsecs start_time: 1753434906.172553874 secs.nsecs elapsed_time: 2.258790079 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 3 3 8 4: 2 2 10 8: 9 10 21 16: 6 7 29 32: 58 70 100 snapshot_time: 1753434908.431418615 secs.nsecs start_time: 1753434906.172647967 secs.nsecs elapsed_time: 2.258770648 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: 1753434939.557859232 secs.nsecs start_time: 1753434906.172553874 secs.nsecs elapsed_time: 33.385305358 secs.nsecs subreqs per batch batches % cum % 1: 5 6 6 2: 3 3 9 4: 2 2 12 8: 9 10 22 16: 6 7 30 32: 58 69 100 snapshot_time: 1753434939.557962221 secs.nsecs start_time: 1753434906.172647967 secs.nsecs elapsed_time: 33.385314254 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1753434943 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1753434950 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8a20844ab000.enable_statahead_fname=1 llite.lustre-ffff8a20844ab000.statahead_min=8 llite.lustre-ffff8a20844ab000.statahead_batch_max=64 llite.lustre-ffff8a20844ab000.statahead_max=128