diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-04-16 12:49:33 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-04-27 15:25:42 +0300 |
commit | 02665acfcb2c2821eb99da5e70fd8980fa713721 (patch) | |
tree | 759f19c0030f8eb6fb53ec4f480e247282c19807 /config | |
parent | 5b6bb50de0c0383a88d6367d0b64759e5a5d24a4 (diff) |
linux-dpdk: preallocate dpdk memory in process mode
DPDK memory needs to be preallocated to support process mode. The amount of
preallocated memory can be adjusted with dpdk.process_mode_memory_mb
configuration file option.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index 7242bc32f..0c541fdd5 100644 --- a/config/odp-linux-dpdk.conf +++ b/config/odp-linux-dpdk.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-dpdk" -config_file_version = "0.1.10" +config_file_version = "0.1.11" # System options system: { @@ -37,6 +37,16 @@ system: { thread_count_max = 256 } +# DPDK options +dpdk: { + # Amount of preallocated memory for process mode usage in megabytes + # + # NOTE: Process mode is not officially supported by DPDK. Application + # should reserve all shared resources and configure the system before + # forking child processes for the best success probability. + process_mode_memory_mb = 512 +} + # Pool options pool: { # Packet pool options |