diff options
author | Tim Rozet <trozet@redhat.com> | 2016-10-28 02:14:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-28 02:14:48 +0000 |
commit | 97b3ac02dce8786759e17008b6521dfdebdd24f9 (patch) | |
tree | 4fa9b4d044fc92527b520e725a4ce4ca2705df2e /build | |
parent | 957b2c8f6569ec7454569a3767b4ee8161c092e0 (diff) | |
parent | 6fd923895a663923f0569078eceb3818373b3e1d (diff) |
Merge "Add support for isolcpu and VPP thread pinning"
Diffstat (limited to 'build')
-rw-r--r-- | build/build_perf_image.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/build_perf_image.sh b/build/build_perf_image.sh index 68a1804f..68f74ea2 100644 --- a/build/build_perf_image.sh +++ b/build/build_perf_image.sh @@ -41,3 +41,14 @@ if [ "$CATEGORY" == "kernel" ]; then fi fi +if [ "$CATEGORY" == "vpp" ]; then + if [ "$KEY" == "main-core" ]; then + sudo sed -i "/${ROLE}VPPMainCore:/c\ ${ROLE}VPPMainCore: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi + if [ "$KEY" == "corelist-workers" ]; then + sudo sed -i "/${ROLE}VPPCorelistWorkers:/c\ ${ROLE}VPPCorelistWorkers: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi + if [ "$KEY" == "uio-driver" ]; then + sudo sed -i "/${ROLE}UIODriver:/c\ ${ROLE}UIODriver: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi +fi
\ No newline at end of file |