1 2 3 | cd /home/kbox_video/ tar -xvf DemoVideoEngine.tar.gz cfct_config chmod 644 cfct_config |
1 | ssh {BMC用户名}@{BMC IP地址} |
1 | ipmcset -d fanmode -v 1 0 |
回显信息如下:
1 2 3 | Set fan mode successfully. Current Mode: manual Time out : 100000000 seconds |
1 | ipmcset -d fanlevel -v 100 |
回显信息如下:
1 2 3 | Set fan level successfully. Current Mode: manual, timeout 100000000 seconds. Global Manual Fan Level: 100% |
1 | ipmcget -d faninfo |
回显信息如下:
1 2 3 | Current Mode: manual, timeout 100000000 seconds. Manual fan level: Fan1: 100, Fan2: 100, Fan3: 100, Fan4: 100 |
1 | ps -ef |grep gfx |
1 2 | root 1703 2 1 Aug31 ? 07:31:36 [gfx_0.0.0] root 1739 2 1 Aug31 ? 09:13:08 [gfx_0.0.0] |
1 | taskset -pc 32-33 1703 |
1 2 | pid 1703's current affinity list: 0-127 pid 1703's new affinity list: 32,33 |
1 | taskset -pc 64-65 1739 |
1 2 | pid 1739's current affinity list: 0-127 pid 1739's new affinity list: 64,65 |
若查询出4个GPU驱动进程,则将前2个驱动进程绑到32-33核,后2个驱动进程绑到64-65核。
1 2 3 4 5 | systemctl stop irqbalance.service systemctl disable irqbalance.service echo ff000000 > /sys/class/net/enp125s0f1/queues/rx-0/rps_cpus echo 4096 > /sys/class/net/enp125s0f1/queues/rx-0/rps_flow_cnt echo 32768 > /proc/sys/net/core/rps_sock_flow_entries |
1 2 | echo 0 > /proc/sys/kernel/numa_balancing swapoff -a |
MODE0_CPUS0=("2,3,4,5,6,7" "8,9,10,11,12,13" "14,15,16,17,18,19" "20,21,22,23,24,25" "26,27,28,29,30,31")
进行多路测试时,需要先登录一路游戏,进入新手关(首次开始游戏后不做任何操作即可),进行对应的画质设置后退出登录,并按照制作基础数据卷中介绍的方法制作基础数据卷,保证后续启动的容器均为对应画质。
1 | ./cfct_video start 1 72 |
1 | ./cfct_video start_game 1 72 |
1 | ./cfct_video screencap 1 72 |
待截图完成后,将截图下载至本地。若看到截图全为地铁跑酷新手关,即证明已成功启动。
1 2 | tar -xvpf VideoClientEmulator.tar.gz cd VideoClientEmulator |
1 | ./test.sh connect 127.0.0.1 8001 8036 |
1 2 | [INFO] checking current client num ... [INFO] current client process num: =36 |
15分钟倒计时结束后会生成类似下图的帧率数据分析报告,并在测试目录下生成记录了单路数据的csv文件。
1 | apt install nmon |
1 | yum install nmon |
1 2 | source env.sh ./native_get_perf_data.sh all {prefix_number} |
python parse.py D:\tmp
“D:\tmp”下会生成一个output文件夹,里面有相应的表格和图片。