sonic-buildimage/files
Samuel Angebault cf4f06d1c5 Disable CPU C-States other than C1 (#16703)
Why I did it
Networking devices need to be responsive. Such responsiveness is harmed when the CPU change state.
There is a latency penalty when a CPU is idle (e.g C2) and need to exit this state to come back to C1 state.
To prevent this from happening the CPU should be forced to remain in C1 state.

How I did it
Generalize the cstate forcing to C1 to all Arista products.
This is done by adding processor.max_cstate=1 to the kernel cmdline for all CPUs.
Additionally Intel CPUs also need intel_idle.max_cstate=0 to fallback to the acpi_idle driver.

How to verify it
Check that processor.max_cstate=1 is present on the cmdline for AMD CPUs
Check that both processor.max_cstate=1 and intel_idle.max_cstate=0 are present on the cmdline for Intel CPUs
2023-10-20 12:33:31 +08:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-20 12:33:31 +08:00
apt [Build] set apt Acquire::Retries to 3 for bullseye (#12758) 2022-12-10 10:33:21 +08:00
build/versions [ci/build]: Upgrade SONiC package versions (#15614) 2023-09-23 00:34:57 -07:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) (#13651) 2023-02-13 01:15:26 +08:00
build_templates [baseimage]: Update openssh to 1:8.4p1-5+deb11u2 (#16826) 2023-10-20 12:33:26 +08:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2019-12-10 08:16:56 -08:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-22 20:55:46 +08:00
image_config update rsyslog log size conf (#15821) 2023-09-01 14:33:30 +08:00
initramfs-tools [Arista] Add initial support for 720DT-48S (#10656) 2022-06-29 09:56:24 -07:00
scripts [swss] Chassis db clean up optimization and bug fixes (#16454) (#16540) 2023-09-14 14:06:52 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00