From c1075111c272fe829d488a787179c6b0fc204e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Vieira?= Date: Wed, 12 Feb 2025 16:09:20 -0300 Subject: [PATCH] Disable disks spindown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With some disks of model HFS960G32FEH-BA1 running in a controller Fusion-MPT 12GSAS/PCIe Secure SAS38xx (HBA355i Front), notably after a swact, the system goes to a degraded state with errors in sm services and in systemd-udev daemon. The reason is that these disks were being spun down, causing latency when spinning them up again, along with generalized errors across the system. The solution is to disable the disks spindown using the TuneD starlingx profile. This solution provides a temporary fix and may reduce the MTBF in spinning hard disk drives (HDDs). However, HDDs are rarely used in servers nowadays. Test Plan: PASS: 10x swact, without Rook Ceph PASS: 5x swact, with Rook Ceph, 4 OSDs (HFS960G32FEH-BA) in each host, writing data intensively PASS: 10x swact, with Rook Ceph, 11 OSDs (HFS960G32FEH-BA) in each host, writing data intensively Closes-Bug: 2098400 Change-Id: I1a5f52dd5f30976adaf4ea09347f97c9179c260f Signed-off-by: Ítalo Vieira --- tuned-config/files/tuned.conf | 2 ++ tuned-config/source-debian/tuned.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tuned-config/files/tuned.conf b/tuned-config/files/tuned.conf index 9dfa42b..d3478f3 100644 --- a/tuned-config/files/tuned.conf +++ b/tuned-config/files/tuned.conf @@ -34,6 +34,8 @@ radeon_powersave=auto dynamic=0 # Disable APM apm=255 +# Disable spindown +spindown=0 [scsi_host] alpm=max_performance diff --git a/tuned-config/source-debian/tuned.conf b/tuned-config/source-debian/tuned.conf index 9dfa42b..d3478f3 100644 --- a/tuned-config/source-debian/tuned.conf +++ b/tuned-config/source-debian/tuned.conf @@ -34,6 +34,8 @@ radeon_powersave=auto dynamic=0 # Disable APM apm=255 +# Disable spindown +spindown=0 [scsi_host] alpm=max_performance