配置指令流性能环境
- 修改系统属性的默认值。
修改位于InstructionPhoneAndroidRServer.tar.gz压缩包的“vendor/default.prop”文件以下属性值,并使用修改后的压缩包启动指令流容器。
ro.hardware.fps=30 vmi.lock.fps=30 vmi.vertex.compress=0
- 修改cfct中变量CPUS_NUM_PER_CNTR_TMP,该变量可以控制每个云手机容器绑定的CPU核数。
将cfct中“CPUS_NUM_PER_CNTR_TMP”变量的值改成“1”。
- 关闭部分系统服务。
1 2 3 4 5 6
systemctl stop multipathd systemctl disable multipathd systemctl stop irqbalance systemctl disable irqbalance systemctl stop snapd systemctl disable snapd
- 网络中断绑核。
- 若配置了定时清除cache的脚本时,需将其绑核到空闲核。
父主题: 环境要求