From cfdb07f831274dd3c1a0b1e70d3a45f53dbcb9cb Mon Sep 17 00:00:00 2001 From: Aachal Saxena Date: Mon, 8 Dec 2025 11:38:35 +0100 Subject: [PATCH 1/3] D.355372: Fix handling of interfaces name having @ in name Signed-off-by: Aachal Saxena --- ece_os_readiness/mor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ece_os_readiness/mor.py b/ece_os_readiness/mor.py index 94823e1..2619582 100755 --- a/ece_os_readiness/mor.py +++ b/ece_os_readiness/mor.py @@ -328,6 +328,8 @@ def get_ip_of_ifname(netif_name: str) -> str: if not netif_name or isinstance(netif_name, str) is False: print(f"{ERROR} Invalid parameter netif_name: {netif_name}") return '' + if "@" in netif_name: + netif_name = netif_name.split('@')[0] errcnt = 0 cmd = f"ip addr show {netif_name}" @@ -4722,6 +4724,8 @@ def get_speed_of_network_interface(netif: str) -> int: if not netif or isinstance(netif, str) is False: print(f"{ERROR} Invalid parameter netif: {netif}") return -1 + if "@" in netif: + netif = netif.split('@')[0] speed_file = f"/sys/class/net/{netif}/speed" speed = -1 try: From b32b86a96ccdadf9ea3e7a133f20eb65110ce2c3 Mon Sep 17 00:00:00 2001 From: Aachal Saxena Date: Thu, 11 Dec 2025 16:22:08 +0100 Subject: [PATCH 2/3] D.362249 : Create tuned profile for Ubuntu 24.0 Signed-off-by: Aachal Saxena --- ece_tuned_profile/README.md | 10 +++++- .../storagescale-ece_UB24/tuned.conf | 31 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 ece_tuned_profile/storagescale-ece_UB24/tuned.conf diff --git a/ece_tuned_profile/README.md b/ece_tuned_profile/README.md index 4f3344a..6a5e457 100644 --- a/ece_tuned_profile/README.md +++ b/ece_tuned_profile/README.md @@ -19,6 +19,10 @@ NOTE: How to add profile to the system, refer to [Chapter 3. Customizing TuneD p - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/*** directory with new directory named as ***/etc/tuned/storagescale-ece*** - Apply the profile: ***tuned-adm profile storagescale-ece*** + For Ubuntu 24.0: + - Copy the directory which has the suffix ***_UB\**** to the ***/etc/tuned/*** directory with new directory named as ***/etc/tuned/storagescale-ece*** + - Apply the profile: ***tuned-adm profile storagescale-ece*** + - 5.1.9 and subsequent version For RHEL 10: - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/profiles*** directory with new directory named as ***/etc/tuned/profiles/storagescale-ece*** @@ -28,10 +32,14 @@ NOTE: How to add profile to the system, refer to [Chapter 3. Customizing TuneD p - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/*** directory with new directory named as ***/etc/tuned/storagescale-ece*** - Apply the profile: ***tuned-adm profile storagescale-ece*** + For Ubuntu 24.0: + - Copy the directory which has the suffix ***_UB\**** to the ***/etc/tuned/*** directory with new directory named as ***/etc/tuned/storagescale-ece*** + - Apply the profile: ***tuned-adm profile storagescale-ece*** + - 5.1.8 and previous version For RHEL 10: - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/profiles*** directory with new directory named as ***/etc/tuned/profiles/storagescale-ece*** - - Apply the profile: ***tuned-adm profile storagescale-ece*** + - Apply the profile: ***tuned-adm profile spectrumscale-ece*** For versions earlier than RHEL 10: - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/*** directory with new directory named as ***/etc/tuned/spectrumscale-ece*** diff --git a/ece_tuned_profile/storagescale-ece_UB24/tuned.conf b/ece_tuned_profile/storagescale-ece_UB24/tuned.conf new file mode 100644 index 0000000..8a39355 --- /dev/null +++ b/ece_tuned_profile/storagescale-ece_UB24/tuned.conf @@ -0,0 +1,31 @@ +# +# tuned configuration +# + +[main] +summary=Optimizations for Storage Scale Erasure Code Edition + +[cpu] +governor=performance +energy_perf_bias=performance +min_perf_pct=100 + +[sysctl] +kernel.numa_balancing = 1 +vm.dirty_ratio = 40 +vm.dirty_background_ratio = 10 +vm.swappiness=10 +net.ipv4.tcp_window_scaling = 1 +net.ipv4.tcp_timestamps = 1 + +[disk-sas] +type=disk +devices = sd* +elevator = mq-deadline +readahead = 0 + +[disk-nvme] +type=disk +devices = nvme* +elevator = none +readahead = 0 From 9bb7440d3776c72d5c499d5bfcfa14c91ff40240 Mon Sep 17 00:00:00 2001 From: Aachal Saxena Date: Wed, 17 Dec 2025 17:08:20 +0100 Subject: [PATCH 3/3] Updating : tuned package name correction Signed-off-by: Aachal Saxena --- ece_tuned_profile/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ece_tuned_profile/README.md b/ece_tuned_profile/README.md index 6a5e457..24e7cc2 100644 --- a/ece_tuned_profile/README.md +++ b/ece_tuned_profile/README.md @@ -38,7 +38,7 @@ NOTE: How to add profile to the system, refer to [Chapter 3. Customizing TuneD p - 5.1.8 and previous version For RHEL 10: - - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/profiles*** directory with new directory named as ***/etc/tuned/profiles/storagescale-ece*** + - Copy the directory which has the suffix ***_RH\**** to the ***/etc/tuned/profiles*** directory with new directory named as ***/etc/tuned/profiles/spectrumscale-ece*** - Apply the profile: ***tuned-adm profile spectrumscale-ece*** For versions earlier than RHEL 10: