summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorRosemarie O'Riorden <roriorde@redhat.com>2021-07-15 17:37:52 -0400
committerIlya Maximets <i.maximets@ovn.org>2021-07-26 03:31:46 +0200
commita8621f49d0e40c3720fc9e0629cc7ed3579e7a7f (patch)
treeaf9845f3276f3190bc360876ee879a1a975c33a9 /vswitchd
parent1f7f557603a5343e49dfb512e7f5e24dd4bed065 (diff)
downloadopenvswitch-a8621f49d0e40c3720fc9e0629cc7ed3579e7a7f.tar.gz
dpdk: Remove default values for socket-mem and limit.
This change removes the default values for EAL args socket-mem and socket-limit. As DPDK supports dynamic memory allocation, there is no need to allocate a certain amount of memory on start-up, nor limit the amount of memory available, if not requested. Currently, socket-mem has a default value of 1024 when it is not configured by the user, and socket-limit takes on the value of socket-mem, 1024, by default. With this change, socket-mem is not configured by default, meaning that socket-limit is not either. Neither, either or both options can be set. Removed extra logs that announce this change and fixed documentation. Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1949850 Signed-off-by: Rosemarie O'Riorden <roriorde@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 24bfd13bb..a88aa19e5 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -362,12 +362,14 @@
preallocate 2048MB and socket 3 (no value given) to preallocate 0MB.
</p>
<p>
- If dpdk-socket-mem and dpdk-alloc-mem are not specified, dpdk-socket-mem
- will be used and the default value is 1024 for each numa node. If
- dpdk-socket-mem and dpdk-alloc-mem are specified at same time,
- dpdk-socket-mem will be used as default. With the 2.17 release,
- dpdk-socket-mem will no longer be used by default. DPDK defaults will
- be used instead.
+ If <ref column="other_config" key="dpdk-socket-mem"/> and
+ <ref column="other_config" key="dpdk-alloc-mem"/> are not specified,
+ neither will be used and there will be no default value for each numa
+ node. DPDK defaults will be used instead.
+ If <ref column="other_config" key="dpdk-socket-mem"/> and
+ <ref column="other_config" key="dpdk-alloc-mem"/> are specified at
+ the same time, <ref column="other_config" key="dpdk-socket-mem"/>
+ will be used as default.
Changing this value requires restarting the daemon.
</p>
</column>
@@ -389,9 +391,7 @@
<ref column="other_config" key="dpdk-extra"/>. If none of the above
options specified or <code>--legacy-mem</code> provided in
<ref column="other_config" key="dpdk-extra"/>, limits will not be
- applied.
- With the 2.17 release, the OVS default value will no longer be
- provided, and DPDK defaults will be used instead.
+ applied. There is no default value from OVS.
Changing this value requires restarting the daemon.
</p>
</column>