---
title: 配置指令流性能环境
description: "1. 修改系统属性的默认值。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_20_0016.html
sourcePath: /source/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_20_0016.html
indexId: 9f0f3aff8d76173b1e73986b0dcda1199aef8638c2f3131e6ec031f223ccf4d485
---
# 配置指令流性能环境

1. 修改系统属性的默认值。
  修改位于InstructionPhoneAndroidRServer.tar.gz压缩包的“vendor/default.prop”文件以下属性值，并使用修改后的压缩包启动指令流容器。

```
ro.hardware.fps=30
vmi.lock.fps=30
vmi.vertex.compress=0
```


2. 修改cfct中变量CPUS_NUM_PER_CNTR_TMP，该变量可以控制每个云手机容器绑定的CPU核数。
  将cfct中“CPUS_NUM_PER_CNTR_TMP”变量的值改成“1”。

3. 关闭部分系统服务。
  1 2 3 4 5 6 systemctl stop multipathd systemctl disable multipathd systemctl stop irqbalance systemctl disable irqbalance systemctl stop snapd systemctl disable snapd

4. 网络中断绑核。
  建议使用两张网卡进行测试，都分别绑在空闲的CPU上（空闲CPU有：0-1、32-33、64-65、96-97）。网卡中断绑定空闲核请参见《Kbox云手机容器 特性指南(https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2300/armnative/kunpengcpskbox_20_0050.html)》中的“网卡绑定CPU”章节。

5. 若配置了定时清除cache的脚本时，需将其绑定到空闲核。
