OpenStack物理资源虚拟化比率设置
2016-09-14 10:28
351 查看
默认配置文件路径/etc/nova/nova.conf
1. CPU虚拟化比率
1.1 配置参数描述与默认配置
# Virtual CPU to physical CPU allocation ratio which affects all CPU filters. # This configuration specifies a global ratio for CoreFilter. For # AggregateCoreFilter, it will fall back to this configuration value if no per- # aggregate setting found. NOTE: This can be set per-compute, or if set to 0.0, # the value set on the scheduler node(s) will be used and defaulted to 16.0 # (floating point value) #cpu_allocation_ratio=0.0
1.2 参数配置
根据实际负载需求修改为合适的值,例如修改为cpu_allocation_ratio=5.0
2. 内存虚拟化比率
2.1 配置参数描述与默认配置
# Virtual ram to physical ram allocation ratio which affects all ram filters. # This configuration specifies a global ratio for RamFilter. For # AggregateRamFilter, it will fall back to this configuration value if no per- # aggregate setting found. NOTE: This can be set per-compute, or if set to 0.0, # the value set on the scheduler node(s) will be used and defaulted to 1.5 # (floating point value) #ram_allocation_ratio=0.0
2.2 参数配置
根据实际负载需求修改为合适的值,例如修改为ram_allocation_ratio=1.0
3. 磁盘虚拟化比率
3.1 配置参数描述与默认配置
# This is the virtual disk to physical disk allocation ratio used by the # disk_filter.py script to determine if a host has sufficient disk space to fit # a requested instance. A ratio greater than 1.0 will result in over- # subscription of the available physical disk, which can be useful for more # efficiently packing instances created with images that do not use the entire # virtual disk,such as sparse or compressed images. It can be set to a value # between 0.0 and 1.0 in order to preserve a percentage of the disk for uses # other than instances.NOTE: This can be set per-compute, or if set to 0.0, the # value set on the scheduler node(s) will be used and defaulted to 1.0 # (floating point value) #disk_allocation_ratio=0.0
3.2 参数配置
根据实际负载需求修改为合适的值,例如修改为disk_allocation_ratio=1.0
相关文章推荐
- openstack kilo-with-dokcer
- 学习VMware虚拟化技术
- 什么是OpenStack 开源的云计算管理平台项目
- Windows Server 2012 R2 Hyper-V虚拟化常见异常处理方法总结
- openstack(juno版)使用rsyslog转发日志
- OpenStack Murano Dashboard(Kilo)安装
- Openstack Murano(Kilo) 网络排错
- Openstack Murano(kilo)二次开发之添加Volume
- Openstack Horizon(kilo)二次开发之匿名访问View
- Work flow of a VM request inside openstack
- convert(一)—— 部署managed
- convirt(二)—— 创建第一台虚机
- Ubuntu源码安装Openstack(一)
- Ubuntu源码安装Openstack(二)
- openstack开发之--zabbix被坑的地方
- QEMU 1: 使用QEMU创建虚拟机
- QEMU 2: 参数解析
- 虚拟磁盘空间不足虚拟电脑运行发生错误的原因及解决