summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-01-14 09:39:57 +0000
committermav <mav@FreeBSD.org>2015-01-14 09:39:57 +0000
commit7d12e026a4c97d90e0ca4a2d85371c1a779a7667 (patch)
tree301cf1f2fb89422a76a40e24e662e294f86c8320 /sbin
parent4091be74c6251d91f55098caf1a7ed06b1824534 (diff)
downloadFreeBSD-src-7d12e026a4c97d90e0ca4a2d85371c1a779a7667.zip
FreeBSD-src-7d12e026a4c97d90e0ca4a2d85371c1a779a7667.tar.gz
Reimplement TRIM throttling added in r248577.
Previous throttling implementation approached problem from the wrong side. It significantly limited useful delaying of TRIM requests and aggregation potential, while not so much controlled TRIM burstiness under heavy load. With this change random 4K write benchmarks (probably the worst case for TRIM) show me IOPS increase by 20%, average latency reduction by 30%, peak TRIM bursts reduction by 3 times and same peak TRIM map size (memory usage). Also the new logic does not force map size down so heavily, really allowing to keep deleted data for 32 TXG or 30 seconds under moderate load. It was practically impossible with old throttling logic, which pushed map down to only 64 segments. Reviewed by: smh MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud