== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:42:21 (1782765741) llite.lustre-ffff978eff0e2000.statahead_max=1024 llite.lustre-ffff978eff0e2000.statahead_batch_max=32 llite.lustre-ffff978eff0e2000.statahead_min=64 llite.lustre-ffff978eff0e2000.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 4.52 seconds: 221.01 ops/second llite.lustre-ffff978eff0e2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff978eff0e2000.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: 1782765750.743487931 secs.nsecs start_time: 1782765748.821639169 secs.nsecs elapsed_time: 1.921848762 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 7 8 15 8: 7 8 24 16: 4 4 28 32: 59 71 100 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: 1782765782.131094106 secs.nsecs start_time: 1782765748.821639169 secs.nsecs elapsed_time: 33.309454937 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 7 8 16 8: 7 8 25 16: 4 4 29 32: 59 70 100 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 3.77 seconds: 265.48 ops/second llite.lustre-ffff978eff0e2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff978eff0e2000.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: 1782765790.490325605 secs.nsecs start_time: 1782765788.615932259 secs.nsecs elapsed_time: 1.874393346 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 3 3 13 4: 4 4 18 8: 9 9 27 16: 9 9 37 32: 58 62 100 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: 995 miss_total: 0 snapshot_time: 1782765821.467225847 secs.nsecs start_time: 1782765788.615932259 secs.nsecs elapsed_time: 32.851293588 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 3 3 14 4: 4 4 19 8: 9 9 28 16: 9 9 38 32: 58 61 100 - unlinked 0 (time 1782765826 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1782765832 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second llite.lustre-ffff978eff0e2000.enable_statahead_fname=1 llite.lustre-ffff978eff0e2000.statahead_min=8 llite.lustre-ffff978eff0e2000.statahead_batch_max=64 llite.lustre-ffff978eff0e2000.statahead_max=128