numam-dpdk/app
Eelco Chaudron 1c036b16c2 app/testpmd: avoid pages being swapped out
Call the mlockall() function, to attempt to lock all of its process
memory into physical RAM, and preventing the kernel from paging any
of its memory to disk.

When using testpmd for performance testing, depending on the code path
taken, we see a couple of page faults in a row. These faults effect
the overall drop-rate of testpmd. On Linux the mlockall() call will
prefault all the pages of testpmd (and the DPDK libraries if linked
dynamically), even without LD_BIND_NOW.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-10-10 00:30:16 +01:00
..
pdump ethdev: increase port id range 2017-10-06 18:23:25 +02:00
proc_info app/procinfo: fix compilation with -O3 2017-10-06 23:53:56 +02:00
test-crypto-perf app/test-crypto-perf: fix compilation with -Og 2017-10-06 02:49:50 +02:00
test-eventdev app/testeventdev: fix divide by zero in stats 2017-07-31 22:43:48 +02:00
test-pmd app/testpmd: avoid pages being swapped out 2017-10-10 00:30:16 +01:00
Makefile app/testeventdev: introduce dpdk-test-eventdev app 2017-07-07 09:30:46 +02:00