-=========================================================
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+
+.. http://creativecommons.org/licenses/by/4.0
+
+===========================
+PCM Utility in KVMFORNFV
+===========================
+
Collecting Memory Bandwidth Information using PCM utility
-=========================================================
+---------------------------------------------------------
+This chapter includes how the PCM utility is used in kvmfornfv
+to collect memory bandwidth information
About PCM utility
-----------------
| | cyclic testcases. |
| | |
+-----------------------------+-----------------------------------------------+
+| | - pcm-memory.x will be executed before the |
+| Danube | execution of every testcase |
| | - pcm-memory.x provides the memory bandwidth |
| | data throught out the testcases |
-| | - pcm-memory.x will be executedbefore the |
-| Danube | execution of every testcase |
| | - used for all test-types (stress/idle) |
| | - Generated memory bandwidth logs which are |
| | to published to the KVMFORFNV artifacts |
| Mem Ch 3: Reads (MB/s): 6867.47 | Mem Ch 3: Reads (MB/s): 7403.66 |
| Writes(MB/s): 1805.53 | Writes(MB/s): 1950.95 |
| | |
-| NODE0 Mem Read (MB/s): 27478.96 | NODE1 Mem Read (MB/s): 29624.51 |
+| NODE0 Mem Read (MB/s) : 27478.96 | NODE1 Mem Read (MB/s) : 29624.51 |
| NODE0 Mem Write (MB/s): 7225.79 | NODE1 Mem Write (MB/s): 7811.36 |
-| NODE0 P. Write (T/s) : 214810 | NODE1 P. Write (T/s): 238294 |
-| NODE0 Memory (MB/s): 34704.75 | NODE1 Memory (MB/s): 37435.87 |
+| NODE0 P. Write (T/s) : 214810 | NODE1 P. Write (T/s) : 238294 |
+| NODE0 Memory (MB/s) : 34704.75 | NODE1 Memory (MB/s) : 37435.87 |
+---------------------------------------+---------------------------------------+
| - System Read Throughput(MB/s): 57103.47 |
| - System Write Throughput(MB/s): 15037.15 |
.. code:: bash
- git clone https://github.com/opcm/pcm
- cd pcm
- make
+ $ git clone https://github.com/opcm/pcm
+ $ cd pcm
+ $ make
In collect_MBWInfo Function,the below command is executed on the node which was collected to the logs
with the timestamp and testType.The function will be called at the begining of each testcase and
.. code:: bash
- pcm-memory.x 60 &>/root/MBWInfo/MBWInfo_${testType}_${timeStamp}
+ $ pcm-memory.x 60 &>/root/MBWInfo/MBWInfo_${testType}_${timeStamp}
+
+ where,
+ ${testType} = verify (or) daily
+Future Scope
+------------
+PCM information will be added to cyclictest of kvmfornfv in yardstick.