diff options
author | delphij <delphij@FreeBSD.org> | 2015-09-12 08:35:51 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-09-12 08:35:51 +0000 |
commit | d9e5e9837ea21fc07fcbd873b79462e244cda123 (patch) | |
tree | 295b2de791b277bb1e2c4844d9a29a909692dc20 /lib/libc/regex/utils.h | |
parent | 951f381262d31a52794c52adf978a5ad70a47037 (diff) | |
download | FreeBSD-src-d9e5e9837ea21fc07fcbd873b79462e244cda123.zip FreeBSD-src-d9e5e9837ea21fc07fcbd873b79462e244cda123.tar.gz |
MFV r287624: 5987 zfs prefetch code needs work
Rewrite the ZFS prefetch code to detect only forward, sequential
streams.
The following kstats have been added:
kstat.zfs.misc.arcstats.sync_wait_for_async
How many sync reads have waited for async read
to complete. (less is better)
kstat.zfs.misc.arcstats.demand_hit_predictive_prefetch
How many demand read didn't have to wait for I/O
because of predictive prefetch. (more is better)
zfetch kstats have been similified to hits, misses, and max_streams,
with max_streams representing times when we were not able to create
new stream because we already have the maximum number of sequences
for a file.
The sysctl variable/loader tunable vfs.zfs.zfetch.block_cap have been
replaced by vfs.zfs.zfetch.max_distance, which controls maximum bytes
to prefetch per stream.
illumos/illumos-gate@cf6106c8a0d6598b045811f9650d66e07eb332af
Illumos ZFS issues:
5987 zfs prefetch code needs work
https://www.illumos.org/issues/5987
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions