== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:55:07 (1787849707) llite.lustre-ffff98d130563800.statahead_max=1024 llite.lustre-ffff98d130563800.statahead_batch_max=32 llite.lustre-ffff98d130563800.statahead_min=64 llite.lustre-ffff98d130563800.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.10 seconds: 196.24 ops/second llite.lustre-ffff98d130563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98d130563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98d130563800.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: 1787849721.033467269 secs.nsecs start_time: 1787849717.461591212 secs.nsecs elapsed_time: 3.571876057 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 6 7 8 4: 13 15 23 8: 2 2 25 16: 4 4 30 32: 59 69 100 snapshot_time: 1787849721.033541932 secs.nsecs start_time: 1787849717.461845359 secs.nsecs elapsed_time: 3.571696573 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: 1787849752.233958486 secs.nsecs start_time: 1787849717.461591212 secs.nsecs elapsed_time: 34.772367274 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 6 9 4: 13 15 24 8: 2 2 26 16: 4 4 31 32: 59 68 100 snapshot_time: 1787849752.234017565 secs.nsecs start_time: 1787849717.461845359 secs.nsecs elapsed_time: 34.772172206 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.64 seconds: 215.51 ops/second llite.lustre-ffff98d130563800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98d130563800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98d130563800.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: 1787849765.935583866 secs.nsecs start_time: 1787849761.676779942 secs.nsecs elapsed_time: 4.258803924 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 5 6 8 8: 9 11 20 16: 4 5 25 32: 58 74 100 snapshot_time: 1787849765.935654049 secs.nsecs start_time: 1787849761.676901817 secs.nsecs elapsed_time: 4.258752232 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: 994 miss_total: 1 snapshot_time: 1787849797.124429958 secs.nsecs start_time: 1787849761.676779942 secs.nsecs elapsed_time: 35.447650016 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 5 6 9 8: 9 11 20 16: 4 4 25 32: 60 74 100 snapshot_time: 1787849797.124490048 secs.nsecs start_time: 1787849761.676901817 secs.nsecs elapsed_time: 35.447588231 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787849804 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787849813 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff98d130563800.enable_statahead_fname=1 llite.lustre-ffff98d130563800.statahead_min=8 llite.lustre-ffff98d130563800.statahead_batch_max=64 llite.lustre-ffff98d130563800.statahead_max=128