== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:05:01 (1787839501) llite.lustre-ffff8d274c045800.statahead_max=1024 llite.lustre-ffff8d274c045800.statahead_batch_max=32 llite.lustre-ffff8d274c045800.statahead_min=64 llite.lustre-ffff8d274c045800.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.61 seconds: 178.35 ops/second llite.lustre-ffff8d274c045800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d274c045800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d274c045800.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: 1787839515.494497803 secs.nsecs start_time: 1787839512.155508025 secs.nsecs elapsed_time: 3.338989778 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 7 13 4: 9 10 23 8: 8 8 32 16: 2 2 34 32: 59 65 100 snapshot_time: 1787839515.494574706 secs.nsecs start_time: 1787839512.155605802 secs.nsecs elapsed_time: 3.338968904 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: 1787839546.396362989 secs.nsecs start_time: 1787839512.155508025 secs.nsecs elapsed_time: 34.240854964 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 7 7 14 4: 9 9 24 8: 8 8 32 16: 2 2 35 32: 59 64 100 snapshot_time: 1787839546.396431953 secs.nsecs start_time: 1787839512.155605802 secs.nsecs elapsed_time: 34.240826151 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 6.59 seconds: 151.68 ops/second llite.lustre-ffff8d274c045800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d274c045800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d274c045800.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: 1787839561.794345539 secs.nsecs start_time: 1787839558.294236431 secs.nsecs elapsed_time: 3.500109108 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 7 9 4: 5 5 15 8: 5 5 21 16: 7 8 29 32: 59 70 100 snapshot_time: 1787839561.794410716 secs.nsecs start_time: 1787839558.294366658 secs.nsecs elapsed_time: 3.500044058 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: 1787839592.641163157 secs.nsecs start_time: 1787839558.294236431 secs.nsecs elapsed_time: 34.346926726 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 6 7 10 4: 5 5 16 8: 5 5 22 16: 7 8 30 32: 59 69 100 snapshot_time: 1787839592.641232057 secs.nsecs start_time: 1787839558.294366658 secs.nsecs elapsed_time: 34.346865399 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787839599 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787839608 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8d274c045800.enable_statahead_fname=1 llite.lustre-ffff8d274c045800.statahead_min=8 llite.lustre-ffff8d274c045800.statahead_batch_max=64 llite.lustre-ffff8d274c045800.statahead_max=128