mirror of
https://github.com/Dichgrem/Blog.git
synced 2025-07-30 00:29:32 -04:00
update:arch
This commit is contained in:
@ -346,6 +346,26 @@ sysctl net.ipv4.tcp_congestion_control
|
||||
```
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
```
|
||||
|
||||
## 性能模式切换
|
||||
需要安装``power-profiles-daemon``
|
||||
```
|
||||
# 查看可用的电源配置文件(profiles)
|
||||
powerprofilesctl list
|
||||
|
||||
# 查看当前正在使用的 profile
|
||||
powerprofilesctl get
|
||||
|
||||
# 切换到“性能”模式
|
||||
sudo powerprofilesctl set performance
|
||||
|
||||
# 切换到“平衡”模式
|
||||
sudo powerprofilesctl set balanced
|
||||
|
||||
# 切换到“省电”模式
|
||||
sudo powerprofilesctl set power-saver
|
||||
```
|
||||
|
||||
## 在Arch Linux上安装Docker
|
||||
|
||||
一般推荐在qemu虚拟机中安装,这里仅做示例:
|
||||
|
@ -431,6 +431,23 @@
|
||||
<p>应该输出:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>net.ipv4.tcp_congestion_control = bbr
|
||||
</span></code></pre>
|
||||
<h2 id="xing-neng-mo-shi-qie-huan">性能模式切换</h2>
|
||||
<p>需要安装<code>power-profiles-daemon</code></p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span># 查看可用的电源配置文件(profiles)
|
||||
</span><span>powerprofilesctl list
|
||||
</span><span>
|
||||
</span><span># 查看当前正在使用的 profile
|
||||
</span><span>powerprofilesctl get
|
||||
</span><span>
|
||||
</span><span># 切换到“性能”模式
|
||||
</span><span>sudo powerprofilesctl set performance
|
||||
</span><span>
|
||||
</span><span># 切换到“平衡”模式
|
||||
</span><span>sudo powerprofilesctl set balanced
|
||||
</span><span>
|
||||
</span><span># 切换到“省电”模式
|
||||
</span><span>sudo powerprofilesctl set power-saver
|
||||
</span></code></pre>
|
||||
<h2 id="zai-arch-linuxshang-an-zhuang-docker">在Arch Linux上安装Docker</h2>
|
||||
<p>一般推荐在qemu虚拟机中安装,这里仅做示例:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo pacman -S docker
|
||||
|
BIN
public/pagefind/fragment/en_3a978e6.pf_fragment
Normal file
BIN
public/pagefind/fragment/en_3a978e6.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_51b46e8.pf_index
Normal file
BIN
public/pagefind/index/en_51b46e8.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_5dff844.pf_index
Normal file
BIN
public/pagefind/index/en_5dff844.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_6bc89b9.pf_index
Normal file
BIN
public/pagefind/index/en_6bc89b9.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_9655373.pf_index
Normal file
BIN
public/pagefind/index/en_9655373.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_c6efafc.pf_index
Normal file
BIN
public/pagefind/index/en_c6efafc.pf_index
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
{"version":"1.3.0","languages":{"en":{"hash":"en_a08988742e","wasm":"en","page_count":98}}}
|
||||
{"version":"1.3.0","languages":{"en":{"hash":"en_58a3811327","wasm":"en","page_count":98}}}
|
BIN
public/pagefind/pagefind.en_58a3811327.pf_meta
Normal file
BIN
public/pagefind/pagefind.en_58a3811327.pf_meta
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user