== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:33:14 (1785411194) llite.lustre-ffff963d82d0b000.statahead_max=1024 llite.lustre-ffff963d82d0b000.statahead_batch_max=32 llite.lustre-ffff963d82d0b000.statahead_min=64 llite.lustre-ffff963d82d0b000.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 9.37 seconds: 106.69 ops/second llite.lustre-ffff963d82d0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff963d82d0b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff963d82d0b000.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: 1785411224.028849187 secs.nsecs start_time: 1785411215.571484615 secs.nsecs elapsed_time: 8.457364572 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 8 13 4: 4 4 18 8: 5 6 24 16: 3 3 27 32: 60 72 100 snapshot_time: 1785411224.028934893 secs.nsecs start_time: 1785411215.571593860 secs.nsecs elapsed_time: 8.457341033 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: 1785411254.528269072 secs.nsecs start_time: 1785411215.571484615 secs.nsecs elapsed_time: 38.956784457 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 8 14 4: 4 4 19 8: 5 5 25 16: 3 3 28 32: 60 71 100 snapshot_time: 1785411254.528351230 secs.nsecs start_time: 1785411215.571593860 secs.nsecs elapsed_time: 38.956757370 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 8.77 seconds: 113.98 ops/second llite.lustre-ffff963d82d0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff963d82d0b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff963d82d0b000.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: 1785411278.163093118 secs.nsecs start_time: 1785411272.167851647 secs.nsecs elapsed_time: 5.995241471 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 5 6 13 8: 10 12 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1785411278.163338104 secs.nsecs start_time: 1785411272.169325177 secs.nsecs elapsed_time: 5.994012927 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: 1785411309.284847578 secs.nsecs start_time: 1785411272.167851647 secs.nsecs elapsed_time: 37.116995931 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 5 5 14 8: 10 11 26 16: 1 1 27 32: 61 72 100 snapshot_time: 1785411309.284903887 secs.nsecs start_time: 1785411272.169325177 secs.nsecs elapsed_time: 37.115578710 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785411320 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1785411336 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff963d82d0b000.enable_statahead_fname=1 llite.lustre-ffff963d82d0b000.statahead_min=8 llite.lustre-ffff963d82d0b000.statahead_batch_max=64 llite.lustre-ffff963d82d0b000.statahead_max=128