From 13bc3b5df1ff65c5bc01538681f1fdf77b5994e4 Mon Sep 17 00:00:00 2001 From: Xiao Liang Date: Thu, 23 Jun 2022 19:46:30 +0800 Subject: [PATCH] profiles: added aws profile for aws ec2 instances Resolves: rhbz#1935848 Signed-off-by: Xiao Liang --- profiles/aws/tuned.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 profiles/aws/tuned.conf diff --git a/profiles/aws/tuned.conf b/profiles/aws/tuned.conf new file mode 100644 index 0000000..f45456c --- /dev/null +++ b/profiles/aws/tuned.conf @@ -0,0 +1,21 @@ +# +# tuned configuration +# + +[main] +summary=Optimize for aws ec2 instances +include=throughput-performance + +# Marvell ThunderX +[bootloader.thunderx] +# rhbz:1836058 +type=bootloader +uname_regex=aarch64 +cmdline=+iommu.strict=0 + +[bootloader] +# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes +# set nvme_core.io_timeout to 4294967295 +# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html +# set net.ifnames to 0 +cmdline=+net.ifnames=0 nvme_core.io_timeout=4294967295