== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:20:07 (1788459607) llite.lustre-ffff978098d50800.statahead_max=1024 llite.lustre-ffff978098d50800.statahead_batch_max=32 llite.lustre-ffff978098d50800.statahead_min=64 llite.lustre-ffff978098d50800.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.02 seconds: 166.02 ops/second llite.lustre-ffff978098d50800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff978098d50800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff978098d50800.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: 1788459623.291518219 secs.nsecs start_time: 1788459619.333408065 secs.nsecs elapsed_time: 3.958110154 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 6 12 4: 11 12 25 8: 4 4 29 16: 2 2 32 32: 59 67 100 snapshot_time: 1788459623.291585480 secs.nsecs start_time: 1788459619.334085041 secs.nsecs elapsed_time: 3.957500439 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: 993 miss_total: 2 snapshot_time: 1788459654.238343794 secs.nsecs start_time: 1788459619.333408065 secs.nsecs elapsed_time: 34.904935729 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 11 12 26 8: 4 4 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1788459654.238713013 secs.nsecs start_time: 1788459619.334085041 secs.nsecs elapsed_time: 34.904627972 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 5.91 seconds: 169.31 ops/second llite.lustre-ffff978098d50800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff978098d50800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff978098d50800.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: 1788459670.134969005 secs.nsecs start_time: 1788459666.037331612 secs.nsecs elapsed_time: 4.097637393 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 6 7 13 8: 6 7 20 16: 6 7 28 32: 59 71 100 snapshot_time: 1788459670.135137196 secs.nsecs start_time: 1788459666.037405117 secs.nsecs elapsed_time: 4.097732079 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: 1788459701.320518263 secs.nsecs start_time: 1788459666.037331612 secs.nsecs elapsed_time: 35.283186651 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 6 7 14 8: 6 7 21 16: 6 7 28 32: 59 71 100 snapshot_time: 1788459701.320600638 secs.nsecs start_time: 1788459666.037405117 secs.nsecs elapsed_time: 35.283195521 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788459709 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788459719 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff978098d50800.enable_statahead_fname=1 llite.lustre-ffff978098d50800.statahead_min=8 llite.lustre-ffff978098d50800.statahead_batch_max=64 llite.lustre-ffff978098d50800.statahead_max=128