mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
docs: Fix sudo
position in CPU scaling governor command (#4142)
This commit is contained in:
parent
a8524b6e36
commit
af81d3cf0d
@ -21,7 +21,7 @@ You can use `turbostat` to view the CPU's actual clock rate under a load.
|
|||||||
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
|
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||||
```
|
```
|
||||||
|
|
||||||
## CPU Limitations
|
## CPU Limitations
|
||||||
|
@ -21,7 +21,7 @@ Turbo-Boost крайне не рекомендуется отключать. П
|
|||||||
Нужно всегда использовать `performance` scaling governor. `ondemand` scaling governor работает намного хуже при постоянно высоком спросе.
|
Нужно всегда использовать `performance` scaling governor. `ondemand` scaling governor работает намного хуже при постоянно высоком спросе.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||||
```
|
```
|
||||||
|
|
||||||
## Ограничение CPU
|
## Ограничение CPU
|
||||||
|
@ -21,7 +21,7 @@ You can use `turbostat` to view the CPU's actual clock rate under a load.
|
|||||||
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
|
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||||
```
|
```
|
||||||
|
|
||||||
## CPU Limitations
|
## CPU Limitations
|
||||||
|
Loading…
Reference in New Issue
Block a user