diff options
author | Christian Trautman <ctrautma@redhat.com> | 2016-07-14 14:46:43 -0400 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-08-09 08:03:20 +0000 |
commit | 31f0a3e0a25e147e285d14e2e262ac48aa83ce65 (patch) | |
tree | 4c497db2655e0f2fc60ced59cb415feaeca10fc9 /tools/pkt_gen/xena/__init__.py | |
parent | 18253fb2133ae1bd294689d297b0182481c174c2 (diff) |
hugepage_detect: Change hugepage detection to check for free hugepages
Change hugepage detection to check if hugepages are configured. Also
verifies enough free hugepages are available based on test
configuration. Will result in an exception if not enough hugepages
are found. This performs the check based on the guest memory configs
as well as the dpdk socket configs.
Adds some new methods to check for free hugepages based on all
hugepages or for socket free hugepages.
Adds new logging indicitaing needed and free hugepages as well as info
level event if hugepages are not configured at recommended 1GB size.
JIRA: VSPerf-255
Change-Id: I80d5605308861070c412568d8d40339f01b9718b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'tools/pkt_gen/xena/__init__.py')
0 files changed, 0 insertions, 0 deletions