summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/lib
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-02-25 01:52:07 +0000
committermav <mav@FreeBSD.org>2017-02-25 01:52:07 +0000
commit0849c1ca0a522335f3fd659afe2e3f39e3b3e0f1 (patch)
tree1c105cc16cd31ad44bb6211eccfe06de604804fe /contrib/ipfilter/lib
parent68cdb7f76210f05d2ae41150a2003c21f99d770d (diff)
downloadFreeBSD-src-0849c1ca0a522335f3fd659afe2e3f39e3b3e0f1.zip
FreeBSD-src-0849c1ca0a522335f3fd659afe2e3f39e3b3e0f1.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 'contrib/ipfilter/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud