From f2e4923658f7c6533fd206ea20229513be603b01 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sat, 28 Jan 2023 22:03:03 -0600 Subject: [PATCH] tuned template: set "none" I/O scheduler for non-rotational devices --- roles/tuned_amdgpu/templates/tuned.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/tuned_amdgpu/templates/tuned.conf.j2 b/roles/tuned_amdgpu/templates/tuned.conf.j2 index 636abad..7ed559b 100644 --- a/roles/tuned_amdgpu/templates/tuned.conf.j2 +++ b/roles/tuned_amdgpu/templates/tuned.conf.j2 @@ -20,3 +20,9 @@ vm.max_map_count=1048576 [gpuclockscript] type=script script=${i:PROFILE_DIR}/amdgpu-clock.sh + +# for SSDs with no RPM, set no IO scheduler +[ssdnosched] +type=disk +devices_udev_regex=(ID_ATA_ROTATION_RATE_RPM=0) +elevator=none