integration: fix ovsdpdk_mq_pvp_rxqs_testpmd
[vswitchperf.git] / conf / 08_llcmanagement.conf
1 # Copyright 2017-2018 Spirent Communications.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ##################################
16 # LLC Management Configuration   #
17 ##################################
18
19 ####################################################################
20 # Specify how the policy is defined.
21 # Select any one of the following: COS, CUSTOM.
22 ####################################################################
23 POLICY_TYPE = 'COS'
24
25 ####################################################################
26 # Policy Definition by COS
27 # Choose any one class of service among Gold, Silver and Bronze.
28 # The min-cache and max-cache for these 3 services vary.
29 # gold - has the maximum with 'guaranteed' allocation.
30 # sliver-bf- lower than gold, and best effort.
31 # bronze-shared - least and shared.
32 # This value will be used for "policy" variable in the REST call.
33 ####################################################################
34 VSWITCH_COS = "silver-bf"
35 VNF_COS     = "silver-bf"
36 PMD_COS = "gold"
37 NOISEVM_COS = "bronze-shared"
38
39 ####################################################################
40 # CUSTOM Policy Definition
41 # Specify Minimum and Maximum Cache Values each workload
42 # [mincache, maxcache]
43 ####################################################################
44 VSWITCH_CA = [10, 18]
45 VNF_CA = [8, 10]
46 PMD_CA = [10, 16]
47 NOISEVM_CA = [1, 1]
48
49 ####################################################################
50 # Intel RMD Server Specific Configuration
51 # Port: 8081 (Debug) 8888 (normal)
52 # Version: v1
53 # IP: only localhost.
54 ####################################################################
55 RMD_PORT = 8081
56 RMD_SERVER_IP = '127.0.0.1'
57 RMD_API_VERSION = 'v1'
58
59 ####################################################################
60 # LLC Allocation Control.
61 ####################################################################
62 LLC_ALLOCATION = False