Commit Graph

8 Commits

Author SHA1 Message Date
Zhijiang Hu c490b9ec1b Upgrade to OpenStack Queens
This PS does:
1) Build and run Daisycloud-core in queens env
2) Upgrade image verison to Queens
3) Remove UI out from daisycloud-core

Change-Id: Iecdce8bf73001a7930c2f90cb814e4bfcbaae7c4
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-02 17:32:52 +08:00
Zhijiang Hu 3b19059841 test build and run daisy on pike env
Change-Id: Id2e2bc776751f9d4d4952ba641a10540f903409c
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-02 06:28:54 -04:00
Zhijiang Hu eab28e15eb Add helper function for allocating CPUs for DPDK pmd threads
1. If one or more NIC is assigned to be DPDK NIC,
allocate_cpus_for_dpdk() will calculate CPU Ids to be used by
DPDK pmd threads when user calling get_host(s) API. Currently, one
CPU per each NUMA region is allocated. For example:

NUMA layout:
     {'numa_node0': [0,1,2,3,4,5,6,7, 16,17,18,19,20,21,22,23],
      'numa_node1': [8,9,10,11,12,13,14,15, 24,25,26,27,28,29,30,31]}

CPU choosed(no matter which NUMA region the NICs are located):
     [1,9]

Note: On systems with HyperThreading enabled, it is recommended to
      also allocate the HT sibling core. But currently, this is not
      supported.

Note: We currently restrict that all NICs which are assigned to be
DPDK NIC must be located in one NUMA region(In future, this limitation
should be removed, keep it for now for simplicity and compatibility
with DVS).

2. Next step is to impl. assigning NIC as a DPDK nic. Otherwise,
allocate_cpus_for_dpdk() returns nothing.

3. In future, user can get cores allocated to dpdk from host_meta info,
then fills them in isolcpus field in host_meta info to let Daisy to build the
final isolcpus kernel parameters for each compute node.

Note: Cores allocated to dpdk should be removed from the nova vcpu_pin_set
but currently we do not support setting the nova vcpu_pin_set.

Note: It is not recommended to isolate cores in the nova vcpu_pin_set
      unless the host will be dedicated for vms that request cpu pinning.
      So for the common usecase, isolcpus = Cores allocated to dpdk.

Change-Id: I58cd6d361d3d194cd35377b1c1bcef113f8036b0
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-30 04:10:31 -04:00
Zhijiang Hu 902e02b5f5 Add devops doc
Change-Id: Ie3305d3e91d4a846acb571285350c86c0bd45822
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-08-29 01:36:44 +08:00
Zhijiang Hu 46ef69ef7d Seperarte installation doc out from README
Change-Id: I1426bd1449a76e99fb9a3d8159be466799cfed4b
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-08-17 04:08:22 -04:00
Zhijiang Hu 4248506323 Add config doc
Change-Id: I5df78a9070b4bb136f570a889a3f578d8ee82088
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-08-17 03:59:20 -04:00
Zhijiang Hu 866f2f3ca2 Support config hugepage kernel cmdline through kickstart
This is a requrement from Daisy4NFV Jira: DAISY-53

Change-Id: I6e37c7d13f278b7712f14314080761fc108b0e4d
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-08-10 07:01:26 -04:00
Zhijiang Hu 30c83bf9c2 Add doc for diasy call graph among modules.
Change-Id: I5a9d6f529f45b0ff0965fc994ded7e379745034a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-08-05 06:38:08 +00:00