Skip to content

Commit

Permalink
Enable NUMA balancing and UCLAMP task feature (microsoft#12183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto-Perez-Guevara authored Jan 31, 2025
1 parent acc85ed commit 0097e27
Show file tree
Hide file tree
Showing 31 changed files with 116 additions and 38 deletions.
5 changes: 4 additions & 1 deletion SPECS-SIGNED/fwctl-signed/fwctl-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
Summary: %{_name} Driver
Name: %{_name}
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://nvidia.com
Group: System Environment/Base
Expand Down Expand Up @@ -99,6 +99,9 @@ fi # 1 : closed


%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/iser-signed/iser-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Summary: %{_name} Driver
Name: %{_name}
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -93,6 +93,9 @@ fi # 1 : closed
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/isert-signed/isert-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Summary: %{_name} Driver
Name: %{_name}
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -92,6 +92,9 @@ fi # 1 : closed
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/kernel-64k-signed/kernel-64k-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Summary: Signed Linux Kernel for %{buildarch} systems
Name: kernel-64k-signed-%{buildarch}
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -105,6 +105,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
%exclude /module_info.ld

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump to match kernel-64k

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/kernel-signed/kernel-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Summary: Signed Linux Kernel for %{buildarch} systems
Name: kernel-signed-%{buildarch}
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -145,6 +145,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
%exclude /module_info.ld

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump release to match kernel

Expand Down
7 changes: 5 additions & 2 deletions SPECS-SIGNED/kernel-uki-signed/kernel-uki-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Summary: Signed Unified Kernel Image for %{buildarch} systems
Name: kernel-uki-signed-%{buildarch}
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -68,7 +68,10 @@ popd
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi

%changelog
* Thu Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump release to match kernel

* Thu Jan 30 2025 Rachel Menge <rachelmenge@microsoft.com> - 6.6.64.2-5
Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/knem-modules-signed/knem-modules-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
Summary: KNEM: High-Performance Intra-Node MPI Communication
Name: %{_name}-modules
Version: 1.1.4.90mlnx3
Release: 3%{?dist}
Release: 4%{?dist}
Provides: knem-mlnx = %{version}-%{release}
Obsoletes: knem-mlnx < %{version}-%{release}
License: BSD and GPLv2
Expand Down Expand Up @@ -93,6 +93,9 @@ fi
/lib/modules/

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 1.1.4.90mlnx3-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 1.1.4.90mlnx3-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/mft_kernel-signed/mft_kernel-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Name: mft_kernel
Summary: %{name} Kernel Module for the %{KVERSION} kernel
Version: 4.30.0
Release: 3%{?dist}
Release: 4%{?dist}
License: Dual BSD/GPLv2
Group: System Environment/Kernel

Expand Down Expand Up @@ -65,6 +65,9 @@ rm -rf %{buildroot}
/lib/modules/%{KVERSION}/updates/

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 4.30.0-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 4.30.0-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/mlnx-nfsrdma-signed/mlnx-nfsrdma-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
Summary: %{_name} Driver
Name: %{_name}
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -99,6 +99,9 @@ fi
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-%{name}-*.conf

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperez@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperez@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Summary: Infiniband HCA Driver
Name: %{_name}-modules
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com/
Group: System Environment/Base
Expand Down Expand Up @@ -171,6 +171,9 @@ fi
%license %{_datadir}/licenses/%{name}/copyright

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Thu Jan 30 2025 Rachel Menge <rachelmenge@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/srp-signed/srp-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Summary: srp driver
Name: srp
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -86,6 +86,9 @@ rm -rf %{buildroot}
%license %{_datadir}/licenses/%{name}/copyright

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Thu Jan 30 2025 Rachel Menge <rachelmenge@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS-SIGNED/xpmem-modules-signed/xpmem-modules-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Summary: Cross-partition memory
Name: xpmem-modules
Version: 2.7.4
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2 and LGPLv2.1
Group: System Environment/Libraries
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -63,6 +63,9 @@ rm -rf %{buildroot}


%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 2.7.4-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 2.7.4-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS/fwctl/fwctl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
Summary: %{_name} Driver
Name: fwctl
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://nvidia.com
Group: System Environment/Base
Expand Down Expand Up @@ -250,6 +250,9 @@ fi # 1 : closed
%endif

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS/iser/iser.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
Summary: %{_name} Driver
Name: iser
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -247,6 +247,9 @@ fi # 1 : closed
%endif

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS/isert/isert.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
Summary: %{_name} Driver
Name: isert
Version: 24.10
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Url: http://www.mellanox.com
Group: System Environment/Base
Expand Down Expand Up @@ -247,6 +247,9 @@ fi # 1 : closed
%endif

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-4
- Bump release to rebuild for new kernel release

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 24.10-3
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS/kernel-64k/kernel-64k.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Summary: Linux Kernel
Name: kernel-64k
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -370,6 +370,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
%{_sysconfdir}/bash_completion.d/bpftool

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump release to match kernel

Expand Down
5 changes: 4 additions & 1 deletion SPECS/kernel-headers/kernel-headers.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Summary: Linux API header files
Name: kernel-headers
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -75,6 +75,9 @@ done
%endif

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump release to match kernel

Expand Down
7 changes: 5 additions & 2 deletions SPECS/kernel/config
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
CONFIG_UCLAMP_TASK=y
CONFIG_UCLAMP_BUCKETS_COUNT=5
# end of Scheduler features

CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
Expand All @@ -185,7 +186,8 @@ CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_CC_NO_ARRAY_BOUNDS=y
CONFIG_ARCH_SUPPORTS_INT128=y
# CONFIG_NUMA_BALANCING is not set
CONFIG_NUMA_BALANCING=y
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
# CONFIG_CGROUP_FAVOR_DYNMODS is not set
Expand All @@ -198,6 +200,7 @@ CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_SCHED_MM_CID=y
CONFIG_UCLAMP_TASK_GROUP=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
CONFIG_CGROUP_FREEZER=y
Expand Down
5 changes: 4 additions & 1 deletion SPECS/kernel/kernel-uki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Summary: Unified Kernel Image
Name: kernel-uki
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -70,6 +70,9 @@ cp %{buildroot}/boot/vmlinuz-uki-%{kernelver}.efi %{buildroot}/boot/efi/EFI/Linu
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Bump release to match kernel

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Bump release to match kernel

Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel/kernel.signatures.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Signatures": {
"azurelinux-ca-20230216.pem": "d545401163c75878319f01470455e6bc18a5968e39dd964323225e3fe308849b",
"config": "13ccaf3b6c74326e58ec02c78b52ff3e36c77bbe298c06d4a1b91f66de689a5e",
"config": "e215b7795a78bc56ad815fa759983baab20aec8a8964d8ef621001e552ceca1b",
"config_aarch64": "017245201dda4a823fc51f8e212c410d2b12ab849a2da7588d000bcb8cc48ef4",
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",
Expand Down
5 changes: 4 additions & 1 deletion SPECS/kernel/kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Summary: Linux Kernel
Name: kernel
Version: 6.6.64.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -428,6 +428,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
%{_sysconfdir}/bash_completion.d/bpftool

%changelog
* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-7
- Enable NUMA Balancing and UCLAMP task

* Fri Jan 31 2025 Alberto David Perez Guevara <aperezguevar@microsoft.com> - 6.6.64.2-6
- Performance improvements enabled via kernel configuration options

Expand Down
Loading

0 comments on commit 0097e27

Please sign in to comment.