Update pi_zero_2_w_Config.md

This commit is contained in:
aiminick 2021-11-15 00:18:26 +08:00 committed by GitHub
parent f612fceffc
commit 7a9ded15c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -29,7 +29,7 @@ arm_freq=1200
over_voltage=6
```
## 4.Tunning: disable vc cma and video code
## 4.Tunning: Disable vc cma and video code
Add file: **/etc/modprobe.d/blacklist.conf**
@ -40,3 +40,12 @@ blacklist bcm2835_isp
blacklist bcm2835_mmal_vchiq
blacklist vc_sm_cma
```
## Optional
Faster speed instead of running programs with large memory requirements (compressed memory)
Undo the following from cmdline:
```
cgroup_enable=1 cgroup_memory=1 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1
zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=lz4 zswap.max_pool_percent=25
```