Support for imix packet sizes
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / basicrapid.test
1 ##
2 ## Copyright (c) 2010-2019 Intel Corporation
3 ##
4 ## Licensed under the Apache License, Version 2.0 (the "License");
5 ## you may not use this file except in compliance with the License.
6 ## You may obtain a copy of the License at
7 ##
8 ##     http://www.apache.org/licenses/LICENSE-2.0
9 ##
10 ## Unless required by applicable law or agreed to in writing, software
11 ## distributed under the License is distributed on an "AS IS" BASIS,
12 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ## See the License for the specific language governing permissions and
14 ## limitations under the License.
15 ##
16
17 [TestParameters]
18 name = BasicSwapTesting
19 number_of_tests = 2
20 total_number_of_test_machines = 2
21 lat_percentile = 99
22
23 [TestM1]
24 name = Generator
25 config_file = gen.cfg
26 dest_vm = 2
27 gencores = [1]
28 latcores = [3]
29 #bucket_size_exp = 12
30
31 [TestM2]
32 name = Swap
33 config_file = swap.cfg
34 cores = [1,2]
35 #prox_socket = true
36 #prox_launch_exit = true
37
38 [test1]
39 test=warmuptest
40 flowsize=512
41 imix=[64]
42 warmupspeed=1
43 warmuptime=2
44
45 [test2]
46 test=flowsizetest
47 # Following parameter defines the success criterium for the test.
48 # When this test uses multiple combinations of packet size and flows,
49 # all combinations must be meeting the same threshold
50 # The threshold is expressed in Mpps
51 pass_threshold=0.1
52 imixs=[[64], [64,800],[128]]
53 # the number of flows in the list need to be powers of 2, max 2^30
54 # If not a power of 2, we will use the lowest power of 2 that is larger than
55 # the requested number of flows. e.g. 9 will result in 16 flows
56 flows=[64,500000]
57 # Setting one of the following thresholds to infinity (inf)
58 # results in the criterion not being evaluated to rate the test as scussesful
59 drop_rate_threshold = 0.1
60 lat_avg_threshold = 50
61 lat_perc_threshold = 80
62 lat_max_threshold = inf
63 accuracy = 1
64 startspeed = 50