未验证 提交 7fd353d8 编写于 作者: O openharmony_ci 提交者: Gitee

!741 在boot阶段初始化1g zram 挑单到Openharmon-3.2-Beta1

Merge pull request !741 from fanchengyang/zram-init-beta
...@@ -198,6 +198,9 @@ ...@@ -198,6 +198,9 @@
}, { }, {
"name" : "boot", "name" : "boot",
"cmds" : [ "cmds" : [
"write /sys/block/zram0/disksize 1024M",
"mkswap /dev/block/zram0",
"swapon /dev/block/zram0",
"write /proc/sys/net/core/xfrm_acq_expires 3600", "write /proc/sys/net/core/xfrm_acq_expires 3600",
"write /proc/sys/vm/overcommit_memory 1", "write /proc/sys/vm/overcommit_memory 1",
"write /proc/sys/vm/min_free_order_shift 4", "write /proc/sys/vm/min_free_order_shift 4",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册