Go to file
David Hunt 4b1a631b8a examples/vm_power: add oob monitoring functions
This patch introduces the out-of-band (oob) core monitoring
functions.

The functions are similar to the channel manager functions.
There are function to add and remove cores from the
list of cores being monitored. There is a function to initialise
the monitor setup, run the monitor thread, and exit the monitor.

The monitor thread runs in it's own lcore, and is separate
functionality to the channel monitor which is epoll based.
THis thread is timer based. It loops through all monitored cores,
calculates the branch ratio, scales up or down the core, then
sleeps for an interval (~250 uS).

The method it uses to read the branch counters is a pread on the
/dev/cpu/x/msr file, so the 'msr' kernel module needs to be loaded.
Also, since the msr.h file has been made unavailable in recent
kernels, we have #defines for the relevant MSRs included in the
code.

The makefile has a switch for x86 and non-x86 platforms,
and compiles stub function for non-x86 platforms.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
2018-07-20 22:53:17 +02:00
app app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
buildtools mk: fix cross build 2018-07-11 21:13:25 +02:00
config net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
devtools devtools: fix checkpatch for filename with space 2018-07-20 22:53:17 +02:00
doc app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
drivers vfio: enable unmapping resource for secondary 2018-07-20 14:26:16 +02:00
examples examples/vm_power: add oob monitoring functions 2018-07-20 22:53:17 +02:00
kernel igb_uio: fix build with lock down checks 2018-07-11 18:49:21 +02:00
lib vfio: remove uneccessary IPC for group fd clear 2018-07-20 14:26:16 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
pkg version: 18.05.0 2018-05-30 22:55:57 +02:00
test test/power: fix 32-bit build 2018-07-13 18:24:52 +02:00
usertools usertools: add Cavium TIM as an event device 2018-04-16 11:11:06 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS devtools: add checks for ABI symbol addition 2018-07-16 01:09:58 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00
meson.build version: 18.08-rc1 2018-07-16 01:17:18 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org