== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:25:18 (1787754318) llite.lustre-ffff9750e8e76000.statahead_max=1024 llite.lustre-ffff9750e8e76000.statahead_batch_max=32 llite.lustre-ffff9750e8e76000.statahead_min=64 llite.lustre-ffff9750e8e76000.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 8.65 seconds: 115.64 ops/second llite.lustre-ffff9750e8e76000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9750e8e76000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9750e8e76000.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: 1787754338.191977691 secs.nsecs start_time: 1787754334.286919990 secs.nsecs elapsed_time: 3.905057701 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 8 10 16 8: 4 5 21 16: 1 1 22 32: 61 77 100 snapshot_time: 1787754338.192056347 secs.nsecs start_time: 1787754334.287048835 secs.nsecs elapsed_time: 3.905007512 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787754368.871275422 secs.nsecs start_time: 1787754334.286919990 secs.nsecs elapsed_time: 34.584355432 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 8 10 17 8: 4 5 22 16: 1 1 23 32: 61 76 100 snapshot_time: 1787754368.871744107 secs.nsecs start_time: 1787754334.287048835 secs.nsecs elapsed_time: 34.584695272 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.48 seconds: 117.95 ops/second llite.lustre-ffff9750e8e76000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9750e8e76000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9750e8e76000.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: 1787754387.719255849 secs.nsecs start_time: 1787754384.033954624 secs.nsecs elapsed_time: 3.685301225 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 6 8 10 8: 3 4 15 16: 1 1 16 32: 61 83 100 snapshot_time: 1787754387.719400919 secs.nsecs start_time: 1787754384.034179254 secs.nsecs elapsed_time: 3.685221665 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 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: 1787754418.656800731 secs.nsecs start_time: 1787754384.033954624 secs.nsecs elapsed_time: 34.622846107 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 4 4: 6 8 12 8: 3 4 16 16: 1 1 17 32: 61 82 100 snapshot_time: 1787754418.656863261 secs.nsecs start_time: 1787754384.034179254 secs.nsecs elapsed_time: 34.622684007 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787754427 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787754437 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9750e8e76000.enable_statahead_fname=1 llite.lustre-ffff9750e8e76000.statahead_min=8 llite.lustre-ffff9750e8e76000.statahead_batch_max=64 llite.lustre-ffff9750e8e76000.statahead_max=128