== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:02:49 (1784944969) llite.lustre-ffff88d550a77800.statahead_max=1024 llite.lustre-ffff88d550a77800.statahead_batch_max=32 llite.lustre-ffff88d550a77800.statahead_min=64 llite.lustre-ffff88d550a77800.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 3.59 seconds: 278.92 ops/second llite.lustre-ffff88d550a77800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88d550a77800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88d550a77800.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: 1784944978.341025338 secs.nsecs start_time: 1784944975.978300799 secs.nsecs elapsed_time: 2.362724539 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 9 10 18 8: 7 8 26 16: 4 4 31 32: 59 68 100 snapshot_time: 1784944978.341505326 secs.nsecs start_time: 1784944975.978404618 secs.nsecs elapsed_time: 2.363100708 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: 1784945008.983847352 secs.nsecs start_time: 1784944975.978300799 secs.nsecs elapsed_time: 33.005546553 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 9 10 19 8: 7 8 27 16: 4 4 32 32: 59 67 100 snapshot_time: 1784945008.983918058 secs.nsecs start_time: 1784944975.978404618 secs.nsecs elapsed_time: 33.005513440 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 2.18 seconds: 458.01 ops/second llite.lustre-ffff88d550a77800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88d550a77800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88d550a77800.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: 1784945015.176588850 secs.nsecs start_time: 1784945013.252352586 secs.nsecs elapsed_time: 1.924236264 secs.nsecs subreqs per batch batches %% cum %% 1: 52 37 37 2: 5 3 40 4: 8 5 46 8: 17 12 58 16: 3 2 60 32: 55 39 100 snapshot_time: 1784945015.176631500 secs.nsecs start_time: 1784945013.252427143 secs.nsecs elapsed_time: 1.924204357 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: 1784945045.732924346 secs.nsecs start_time: 1784945013.252352586 secs.nsecs elapsed_time: 32.480571760 secs.nsecs subreqs per batch batches %% cum %% 1: 53 37 37 2: 5 3 41 4: 8 5 46 8: 17 12 58 16: 3 2 60 32: 55 39 100 snapshot_time: 1784945045.733005256 secs.nsecs start_time: 1784945013.252427143 secs.nsecs elapsed_time: 32.480578113 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784945048 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1784945051 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff88d550a77800.enable_statahead_fname=1 llite.lustre-ffff88d550a77800.statahead_min=8 llite.lustre-ffff88d550a77800.statahead_batch_max=64 llite.lustre-ffff88d550a77800.statahead_max=128