79 lines
3.5 KiB
Plaintext
79 lines
3.5 KiB
Plaintext
################################################################################
|
|
# Copyright (c) 2013-2015 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
################################################################################
|
|
# COMPUTE Node configuration parameters for reserved memory and physical cores
|
|
# used by Base software and VSWITCH. These are resources that libvirt cannot use.
|
|
#
|
|
|
|
################################################################################
|
|
#
|
|
# Enable compute-huge.sh console debug logs (uncomment)
|
|
#
|
|
################################################################################
|
|
LOG_DEBUG=1
|
|
|
|
|
|
################################################################################
|
|
#
|
|
# List of logical CPU instances available in the system. This value is used
|
|
# for auditing purposes so that the current configuration can be checked for
|
|
# validity against the actual number of logical CPU instances in the system.
|
|
#
|
|
################################################################################
|
|
COMPUTE_CPU_LIST="0-1"
|
|
|
|
################################################################################
|
|
#
|
|
# List of Base software resources reserved per numa node. Each array element
|
|
# consists of a 3-tuple formatted as: <node>:<memory>:<cores>.
|
|
#
|
|
# Example: To reserve 1500MB and 1 core on NUMA node0, and 1500MB and 1 core
|
|
# on NUMA node1, the variable must be specified as follows.
|
|
# COMPUTE_BASE_MEMORY=("node0:1500MB:1" "node1:1500MB:1")
|
|
#
|
|
################################################################################
|
|
COMPUTE_BASE_RESERVED=("node0:8000MB:1" "node1:2000MB:0" "node2:2000MB:0" "node3:2000MB:0")
|
|
|
|
################################################################################
|
|
#
|
|
# List of HugeTLB memory descriptors to configure. Each array element
|
|
# consists of a 3-tuple descriptor formatted as: <node>:<pgsize>:<pgcount>.
|
|
# The NUMA node specified must exist and the HugeTLB pagesize must be a valid
|
|
# value such as 2048kB or 1048576kB.
|
|
#
|
|
# For example, to request 256 x 2MB HugeTLB pages on NUMA node0 and node1 the
|
|
# variable must be specified as follows.
|
|
# COMPUTE_VSWITCH_MEMORY=("node0:2048kB:256" "node1:2048kB:256")
|
|
#
|
|
################################################################################
|
|
COMPUTE_VSWITCH_MEMORY=("node0:1048576kB:1" "node1:1048576kB:1" "node2:1048576kB:1" "node3:1048576kB:1")
|
|
|
|
################################################################################
|
|
#
|
|
# List of VSWITCH physical cores reserved for VSWITCH applications.
|
|
#
|
|
# Example: To reserve 2 cores on NUMA node0, and 2 cores on NUMA node1, the
|
|
# variable must be specified as follows.
|
|
# COMPUTE_VSWITCH_CORES=("node0:2" "node1:2")
|
|
#
|
|
################################################################################
|
|
COMPUTE_VSWITCH_CORES=("node0:2" "node1:0" "node2:0" "node3:0")
|
|
|
|
################################################################################
|
|
#
|
|
# List of HugeTLB memory descriptors to configure for Libvirt. Each array element
|
|
# consists of a 3-tuple descriptor formatted as: <node>:<pgsize>:<pgcount>.
|
|
# The NUMA node specified must exist and the HugeTLB pagesize must be a valid
|
|
# value such as 2048kB or 1048576kB.
|
|
#
|
|
# For example, to request 256 x 2MB HugeTLB pages on NUMA node0 and node1 the
|
|
# variable must be specified as follows.
|
|
# COMPUTE_VM_MEMORY_2M=("node0:2048kB:256" "node1:2048kB:256")
|
|
#
|
|
################################################################################
|
|
COMPUTE_VM_MEMORY_2M=()
|
|
COMPUTE_VM_MEMORY_1G=()
|