1 .. This work is licensed under a Creative Commons Attribution 4.0 International
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Huawei Technologies Co.,Ltd and others.
6 *************************************
7 Yardstick Test Case Description TC069
8 *************************************
10 .. _RAMspeed: http://alasir.com/software/ramspeed/
12 +-----------------------------------------------------------------------------+
15 +--------------+--------------------------------------------------------------+
16 |test case id | OPNFV_YARDSTICK_TC069_Memory Bandwidth |
18 +--------------+--------------------------------------------------------------+
19 |metric | Megabyte per second (MBps) |
21 +--------------+--------------------------------------------------------------+
22 |test purpose | To evaluate the IaaS compute performance with regards to |
23 | | memory bandwidth. |
24 | | Measure the maximum possible cache and memory performance |
25 | | while reading and writing certain blocks of data (starting |
26 | | from 1Kb and further in power of 2) continuously through ALU |
27 | | and FPU respectively. |
28 | | Measure different aspects of memory performance via |
29 | | synthetic simulations. Each simulation consists of four |
30 | | performances (Copy, Scale, Add, Triad). |
31 | | Test results, graphs and similar shall be stored for |
32 | | comparison reasons and product evolution understanding |
33 | | between different OPNFV versions and/or configurations. |
35 +--------------+--------------------------------------------------------------+
36 |configuration | File: opnfv_yardstick_tc069.yaml |
38 | | * SLA (optional): 7000 (MBps) min_bandwidth: The minimum |
39 | | amount of memory bandwidth that is accepted. |
40 | | * type_id: 1 - runs a specified benchmark |
41 | | (by an ID number):: |
43 | | 1 -- INTmark [writing] 4 -- FLOATmark [writing] |
44 | | 2 -- INTmark [reading] 5 -- FLOATmark [reading] |
45 | | 3 -- INTmem 6 -- FLOATmem |
46 | | * block_size: 64 Megabytes - the maximum block |
48 | | * load: 32 Gigabytes - the amount of data load per pass. |
49 | | * iterations: 5 - test is run 5 times iteratively. |
50 | | * interval: 1 - there is 1 second delay between each |
53 +--------------+--------------------------------------------------------------+
54 |test tool | RAMspeed |
56 | | RAMspeed is a free open source command line utility to |
57 | | measure cache and memory performance of computer systems. |
58 | | RAMspeed is not always part of a Linux distribution, hence |
59 | | it needs to be installed in the test image. |
61 +--------------+--------------------------------------------------------------+
62 |references | RAMspeed_ |
66 +--------------+--------------------------------------------------------------+
67 |applicability | Test can be configured with different: |
69 | | * benchmark operations (such as INTmark [writing], |
70 | | INTmark [reading], FLOATmark [writing], |
71 | | FLOATmark [reading], INTmem, FLOATmem); |
72 | | * block size per array; |
73 | | * load per pass; |
74 | | * number of batch run iterations; |
75 | | * iterations and intervals. |
77 | | There are default values for each above-mentioned option. |
79 +--------------+--------------------------------------------------------------+
80 |pre-test | The test case image needs to be installed into Glance |
81 |conditions | with RAmspeed included in the image. |
83 | | No POD specific requirements have been identified. |
85 +--------------+--------------------------------------------------------------+
86 |test sequence | description and expected result |
88 +--------------+--------------------------------------------------------------+
89 |step 1 | The host is installed as client. RAMspeed is invoked and |
90 | | logs are produced and stored. |
92 | | Result: logs are stored. |
94 +--------------+--------------------------------------------------------------+
95 |test verdict | Test fails if the measured memory bandwidth is below the SLA |
96 | | value or if there is a test case execution problem. |
98 +--------------+--------------------------------------------------------------+