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 TC044
8 *************************************
10 .. _man-pages: http://manpages.ubuntu.com/manpages/trusty/en/man1/free.1.html
12 +-----------------------------------------------------------------------------+
15 +--------------+--------------------------------------------------------------+
16 |test case id | OPNFV_YARDSTICK_TC044_Memory Utilization |
18 +--------------+--------------------------------------------------------------+
19 |metric | Memory utilization |
21 +--------------+--------------------------------------------------------------+
22 |test purpose | To evaluate the IaaS compute capability with regards to |
23 | | memory utilization.This test case should be run in parallel |
24 | | to other Yardstick test cases and not run as a stand-alone |
26 | | Measure the memory usage statistics including used memory, |
27 | | free memory, buffer, cache and shared memory. |
28 | | Both average and maximun values are obtained. |
29 | | The purpose is also to be able to spot trends. |
30 | | Test results, graphs and similar shall be stored for |
31 | | comparison reasons and product evolution understanding |
32 | | between different OPNFV versions and/or configurations. |
34 +--------------+--------------------------------------------------------------+
35 |configuration | File: memload.yaml (in the 'samples' directory) |
37 | | * interval: 1 - repeat, pausing every 1 seconds in-between. |
38 | | * count: 10 - display statistics 10 times, then exit. |
40 +--------------+--------------------------------------------------------------+
43 | | free provides information about unused and used memory and |
44 | | swap space on any computer running Linux or another Unix-like|
45 | | operating system. |
46 | | free is normally part of a Linux distribution, hence it |
47 | | doesn't needs to be installed. |
49 +--------------+--------------------------------------------------------------+
50 |references | man-pages_ |
54 +--------------+--------------------------------------------------------------+
55 |applicability | Test can be configured with different: |
59 | | * runner Iteration and intervals. |
61 | | There are default values for each above-mentioned option. |
62 | | Run in background with other test cases. |
64 +--------------+--------------------------------------------------------------+
65 |pre-test | The test case image needs to be installed into Glance |
66 |conditions | with free included in the image. |
68 | | No POD specific requirements have been identified. |
70 +--------------+--------------------------------------------------------------+
71 |test sequence | description and expected result |
73 +--------------+--------------------------------------------------------------+
74 |step 1 | The host is installed as client. The related TC, or TCs, is |
75 | | invoked and free logs are produced and stored. |
77 | | Result: logs are stored. |
79 +--------------+--------------------------------------------------------------+
80 |test verdict | None. Memory utilization results are fetched and stored. |
82 +--------------+--------------------------------------------------------------+