diff options
author | Etienne Dechamps <[email protected]> | 2012-06-12 11:40:36 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-06-12 08:45:53 -0700 |
commit | ee191e802c515ae509aec382cac33c9d89235dc5 (patch) | |
tree | a82decdca42590e9beb1a31ec55cdf92150fe93b /cmd/zvol_id | |
parent | c6327b63e6d3a11bb333829a8341d572e2fa7d9f (diff) |
Make zil_slog_limit a tunable module parameter.
zil_slog_limit specifies the maximum commit size to be written to the separate
log device. Larger commits bypass the separate log device and go directly to
the data devices.
The optimal value for zil_slog_limit directly depends on the latency and
throughput characteristics of both the separate log device and the data disks.
Small synchronous writes are faster on low-latency separate log devices (e.g.
SSDs) whereas large synchronous writes are faster on high-latency data disks
(e.g. spindles) because of higher throughput, especially with a large array.
The point is, the line between "small" and "large" synchronous writes in this
scenario is heavily dependent on the hardware used. That's why it should be
made configurable.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #783
Diffstat (limited to 'cmd/zvol_id')
0 files changed, 0 insertions, 0 deletions