diff options
author | mav <mav@FreeBSD.org> | 2017-02-25 01:53:45 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-02-25 01:53:45 +0000 |
commit | 51c89b98e6d1180067ad03454d5303e098ca812e (patch) | |
tree | fae51ea1243c9326d6517f0161564f3a06c3f6d4 /sys/geom | |
parent | e13dc0131627347529a3e93e6da9f0ab619d080c (diff) | |
download | FreeBSD-src-51c89b98e6d1180067ad03454d5303e098ca812e.zip FreeBSD-src-51c89b98e6d1180067ad03454d5303e098ca812e.tar.gz |
MFC r313910: Change XCOPY memory allocations.
Before this change XCOPY code could allocate memory in chunks up to 16-32MB
(VMware does XCOPY in 4MB chunks by default), that could be difficult for
VM subsystem to do due to KVA fragmentation, that sometimes created huge
allocation delays, blocking any I/O for respective LU for that time.
This change limits allocations down to TPC_MAX_IO_SIZE, which is 1MB now.
1MB is also not a cookie, but ZFS also can do that for large blocks, so
it should be less dramatic. As drawback this increases CPU overhead, but
it still look acceptable comparing to time consumed by ZFS read/write.
Diffstat (limited to 'sys/geom')
0 files changed, 0 insertions, 0 deletions