summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2015-09-14 19:37:51 +0000
committercperciva <cperciva@FreeBSD.org>2015-09-14 19:37:51 +0000
commita6f66e44deebac6adc1fdb2f3abb6f0afbbc38de (patch)
treef225645db73507994845c99aef9978dee87bd2cc /release
parent7def3b237569e524815cdc74b0ce136b0a96b87e (diff)
downloadFreeBSD-src-a6f66e44deebac6adc1fdb2f3abb6f0afbbc38de.zip
FreeBSD-src-a6f66e44deebac6adc1fdb2f3abb6f0afbbc38de.tar.gz
MFC r286062, r286063
Add support to blkfront for blkif indirect segment I/Os. Turn this support off by default in EC2 builds due to performance issues on some EC2 instance types.
Diffstat (limited to 'release')
-rw-r--r--release/tools/ec2.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 9472ec5..557e602 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -70,6 +70,11 @@ vm_extra_pre_umount() {
# nodes, but apply the workaround just in case.
echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf
+ # Some EC2 instances suffer a significant (~40%) reduction in
+ # throughput when using blkif indirect segment I/Os. Disable this
+ # by default for now.
+ echo 'hw.xbd.xbd_enable_indirect="0"' >> ${DESTDIR}/boot/loader.conf
+
# The first time the AMI boots, the installed "first boot" scripts
# should be allowed to run:
# * ec2_configinit (download and process EC2 user-data)
OpenPOWER on IntegriCloud