75 lines
3.2 KiB
Plaintext
Executable File
75 lines
3.2 KiB
Plaintext
Executable File
################################################################################
|
|
# Copyright (c) 2018 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# - This file is managed by Puppet. DO NOT EDIT.
|
|
################################################################################
|
|
# WORKER Node configuration parameters for reserved memory and physical cores
|
|
# used by Base software and VSWITCH. These are resources that libvirt cannot use.
|
|
#
|
|
|
|
################################################################################
|
|
#
|
|
# 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.
|
|
#
|
|
################################################################################
|
|
WORKER_CPU_LIST=<%= @worker_cpu_list %>
|
|
|
|
################################################################################
|
|
#
|
|
# List of logical CPU instances that reserved for platform applications.
|
|
#
|
|
################################################################################
|
|
PLATFORM_CPU_LIST=<%= @platform_cpu_list %>
|
|
|
|
################################################################################
|
|
#
|
|
# 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.
|
|
# WORKER_BASE_MEMORY=("node0:1500MB:1" "node1:1500MB:1")
|
|
#
|
|
################################################################################
|
|
WORKER_BASE_RESERVED=<%= @worker_base_reserved %>
|
|
|
|
################################################################################
|
|
#
|
|
# 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=<%= @compute_vswitch_reserved %>
|
|
|
|
################################################################################
|
|
#
|
|
# 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=<%= @reserved_vswitch_cores %>
|
|
|
|
################################################################################
|
|
#
|
|
# List of platform physical cores reserved for platform applications.
|
|
#
|
|
# Example: To reserve 1 core on NUMA node0, the variable must be specified
|
|
# as follows.
|
|
# WORKER_PLATFORM_CORES=("node0:0")
|
|
#
|
|
################################################################################
|
|
WORKER_PLATFORM_CORES=<%= @reserved_platform_cores %>
|