Option
This chapter describe the possibilities of advanced system behavior.
General
Action which will be run once the ctrl-alt-del keystroke is received.
Enables the root partition auto-extension and resizes to the maximum available space on system boot.
Kernel
Disable all optional CPU mitigations. This improves system performance, but it may also expose users to several CPU vulnerabilities.
This will add the following option to the Kernel commandline:
mitigations=off
Note
Setting will only become active with the next reboot!
This will add the following two options to the Kernel commandline:
intel_idle.max_cstate=0
Disable intel_idle and fall back on acpi_idleprocessor.max_cstate=1
Limit processor to maximum C-state 1
Note
Setting will only become active with the next reboot!
Enables and configures p-state driver for modern AMD Ryzen and Epyc CPUs.
The available modes are:
active
This is the low-level firmware control mode based on the profile set and the system governor has no effect.passive
The driver allows the system governor to manage CPU frequency while providing available performance states.guided
The driver allows to set desired performance levels and the firmware selects a performance level in this range and fitting to the current workload.
This will add the following two options to the Kernel commandline:
initcall_blacklist=acpi_cpufreq_init
Disable default ACPI CPU frequency scaleamd_pstate={mode}
Sets the p-state mode
Note
Setting will only become active with the next reboot!
HTTP client
Several commands utilize cURL to initiate transfers. Configure the local source IPv4/IPv6 address used for all cURL operations.
Several commands utilize curl to initiate transfers. Configure the local source interface used for all CURL operations.
Note
source-address and source-interface can not be used at the same time.
SSH client
Use the specified address on the local machine as the source address of the connection. Only useful on systems with more than one address.
Keyboard Layout
When starting a VyOS live system (the installation CD) the configured keyboard layout defaults to US. As this might not suite everyone’s use case you can adjust the used keyboard layout on the system console.
Change system keyboard layout to given language.
Defaults to us
.
Note
Changing the keymap only has an effect on the system console, using SSH or Serial remote access to the device is not affected as the keyboard layout here corresponds to your access system.
Performance
As more and more routers run on Hypervisors, expecially with a NOS as VyOS, it makes fewer and fewer sense to use
static resource bindings like smp-affinity
as present in VyOS 1.2 and
earlier to pin certain interrupt handlers to specific CPUs.
We now utilize tuned for dynamic resource balancing based on profiles.
Configure one of the predefined system performance profiles.
throughput
: A server profile focused on improving network throughput. This profile favors performance over power savings by settingintel_pstate
andmax_perf_pct=100
and increasing kernel network buffer sizes.It enables transparent huge pages, and uses cpupower to set the performance cpufreq governor. It also sets
kernel.sched_min_granularity_ns
to 10 us,kernel.sched_wakeup_granularity_ns
to 15 uss, andvm.dirty_ratio
to 40%.latency
: A server profile focused on lowering network latency. This profile favors performance over power savings by settingintel_pstate
andmin_perf_pct=100
.It disables transparent huge pages, and automatic NUMA balancing. It also uses cpupower to set the performance cpufreq governor, and requests a cpu_dma_latency value of 1. It also sets busy_read and busy_poll times to 50 us, and tcp_fastopen to 3.