Page MenuHomeVyOS Platform

Additional Boot Argument Configuration to limit CPU C-States
Closed, ResolvedPublicFEATURE REQUEST

Description

It would be extremely useful if it was possible to set boot arguments; for example something like:

set system boot-args "intel_idle.max_cstate=0 processor.max_cstate=1"

This would help in troubleshooting, as well as in lab environments where things like Spectre and Meltdown mitigations can severely hinder performance.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

That could als help on debugging like adding vyos-config-debug option or as I like on my hosts, vga=773 when debugging and checking for config migration issues.

so +1 from me

erkin set Issue type to Feature (new functionality).Aug 30 2021, 6:15 AM
erkin removed a subscriber: Active contributors.
dmbaturin triaged this task as Wishlist priority.Jan 9 2024, 6:19 PM
dmbaturin edited projects, added VyOS 1.5 Circinus; removed VyOS 1.3 Equuleus (1.3.6).
c-po changed the task status from Open to Needs reporter action.Feb 25 2024, 7:13 PM
c-po claimed this task.

Knob is now available starting 1.4.0-rc3 to disable spectre. Is this sufficient or you still have a usecase for cstates?

I would say this would still be useful for c-states, and also for other things, for example setting hugepages, and If I remember right, the VPP addon also requires boot arguments be added.

c-po renamed this task from Additional Boot Argument Configuration to Additional Boot Argument Configuration to limit CPU C-States.Tue, Mar 5, 7:30 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta (1.4.0-epa1) board.