== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:11:28 (1787325088) llite.lustre-ffff916bc5087000.statahead_max=1024 llite.lustre-ffff916bc5087000.statahead_batch_max=32 llite.lustre-ffff916bc5087000.statahead_min=64 llite.lustre-ffff916bc5087000.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 6.70 seconds: 149.25 ops/second llite.lustre-ffff916bc5087000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff916bc5087000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff916bc5087000.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: 1787325107.743170794 secs.nsecs start_time: 1787325102.151177355 secs.nsecs elapsed_time: 5.591993439 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 7 7 15 4: 11 12 27 8: 4 4 32 16: 1 1 33 32: 60 66 100 snapshot_time: 1787325107.743248182 secs.nsecs start_time: 1787325102.151299300 secs.nsecs elapsed_time: 5.591948882 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: 1787325138.657961285 secs.nsecs start_time: 1787325102.151177355 secs.nsecs elapsed_time: 36.506783930 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 7 7 16 4: 11 12 28 8: 4 4 32 16: 1 1 34 32: 60 65 100 snapshot_time: 1787325138.658031433 secs.nsecs start_time: 1787325102.151299300 secs.nsecs elapsed_time: 36.506732133 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.35 seconds: 119.76 ops/second llite.lustre-ffff916bc5087000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff916bc5087000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff916bc5087000.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: 1787325158.681390634 secs.nsecs start_time: 1787325153.812397429 secs.nsecs elapsed_time: 4.868993205 secs.nsecs subreqs per batch batches %% cum %% 1: 21 21 21 2: 5 5 26 4: 5 5 31 8: 6 6 37 16: 3 3 40 32: 60 60 100 snapshot_time: 1787325158.681455831 secs.nsecs start_time: 1787325153.812543537 secs.nsecs elapsed_time: 4.868912294 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: 995 miss_total: 0 snapshot_time: 1787325189.161527189 secs.nsecs start_time: 1787325153.812397429 secs.nsecs elapsed_time: 35.349129760 secs.nsecs subreqs per batch batches %% cum %% 1: 22 21 21 2: 5 4 26 4: 5 4 31 8: 6 5 37 16: 3 2 40 32: 60 59 100 snapshot_time: 1787325189.162199724 secs.nsecs start_time: 1787325153.812543537 secs.nsecs elapsed_time: 35.349656187 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787325198 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787325211 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff916bc5087000.enable_statahead_fname=1 llite.lustre-ffff916bc5087000.statahead_min=8 llite.lustre-ffff916bc5087000.statahead_batch_max=64 llite.lustre-ffff916bc5087000.statahead_max=128