OAI 环境搭建
1 环境介绍
Name | Version |
---|---|
Ubuntu | 18.04 |
oai5g | 2020.w28 |
openair-cn | master (2020-07-15) |
2 内核设置
- disable C-states from BIOS (or from GRUB)
# 注意这是针对intel的cpu 我暂时将intel改成了amd sudo vi /etc/default/grub #在末尾添加: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=disable" GRUB_CMDLINE_LINUX_DEFAULT="quiet processor.max_cstate=1 intel_idle.max_cstate=0 idle=poll" sudo vi /etc/modprobe.d/blacklist.conf #在末未添加:(将Intel的电源管理加入黑名单) blacklist intel_powerclamp sudo reboot
- disable CPU freq. scaling
sudo apt-get install cpufrequtils # 添加`GOVERNOR=“performance”到下面文件 sudo vim /etc/default/