Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Instruction Stream Performance Environment

  1. Change the default values of system properties.

    Modify the following property values in the vendor/default.prop file in the InstructionPhoneAndroidRServer.tar.gz package, and use the modified package to start an instruction stream container.

    ro.hardware.fps=30
    vmi.lock.fps=30
    vmi.vertex.compress=0
  2. Modify the variable CPUS_NUM_PER_CNTR_TMP in the cfct file. This variable specifies the number of CPU cores bound to each cloud phone container.

    Change the value of CPUS_NUM_PER_CNTR_TMP in the cfct file to 1.

  3. Disable some system services.
    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. Bind network interrupts to CPU cores.

    You are advised to use two NICs for the test and bind network interrupts to idle CPU cores (0–1, 32–33, 64–65, and 96–97). For details, see "Binding NICs to CPUs" in the Kbox Cloud Phone Container Feature Guide.

  5. If the script for periodically clearing the cache is configured, bind the script to an idle core.