test/nvme: set DPDK base address for multi-process

Map the DPDK hugepage virtual address space to an area that should not
interfere with randomized mmap() addresses.

Change-Id: Iffc657858f861fc1316f77b68f9f121167d604b1
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-01-31 12:44:36 -07:00 committed by Jim Harris
parent 018e6afff2
commit 459cd69571
2 changed files with 6 additions and 0 deletions

View File

@ -1080,6 +1080,9 @@ static char *ealargs[] = {
"-c 0xf", /* This must be the second parameter. It is overwritten by index in main(). */
"-n 4",
"--proc-type=auto",
#ifdef __linux__
"--base-virtaddr=0x1000000000",
#endif
};
int

View File

@ -1194,6 +1194,9 @@ static char *ealargs[] = {
"-n 4",
"-m 512", /* This can be overwritten by index in main(). */
"--proc-type=auto",
#ifdef __linux__
"--base-virtaddr=0x1000000000",
#endif
};
int main(int argc, char **argv)