webvirtcloud

2021-06-01  本文已影响0人  cloudFans
  1. 部署

默认的安装脚本很好用,只是在连接设置的时候,操作方式需要微调一下

image.png image.png

cd ~www-data/.ssh/

ssh-copy-id -i id_rsa.pub root@10.120.25.83

  1. 集成numa 绑核功能

yum install libvirt libvirt-devel libxml2-devel -y; pip install libxml2-python3 libvirt-python

git clone https://github.com/libvirt/libvirt-python.git


(py3env) [root@zbb-test-numa examples]# python nodestats.py 
NUMA stats
NUMA nodes: 0   1
MemTotal:   3736    4010
MemFree:    2871    3358
(py3env) [root@zbb-test-numa examples]# virsh start n20-2048M-pin-0-3
Domain n20-2048M-pin-0-3 started

(py3env) [root@zbb-test-numa examples]# python nodestats.py 
NUMA stats
NUMA nodes: 0   1
MemTotal:   3736    4010
MemFree:    2847    3167
Domain 'n20-2048M-pin-0-3': 
    Overall memory: 2048 MiB nodes 0-1
    Node 0: 1024 MiB
    Node 1: 1024 MiB

上一篇下一篇

猜你喜欢

热点阅读