[ovs-git] [openvswitch/ovs] a8621f: dpdk: Remove default values for socket-mem and limit.

roseoriorden noreply at github.com
Mon Jul 26 02:11:34 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: a8621f49d0e40c3720fc9e0629cc7ed3579e7a7f
      https://github.com/openvswitch/ovs/commit/a8621f49d0e40c3720fc9e0629cc7ed3579e7a7f
  Author: Rosemarie O'Riorden <roriorde at redhat.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M Documentation/intro/install/dpdk.rst
    M NEWS
    M lib/dpdk.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  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 at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: de15afa50f3059ab65821e6ab26420a6983c9353
      https://github.com/openvswitch/ovs/commit/de15afa50f3059ab65821e6ab26420a6983c9353
  Author: Rosemarie O'Riorden <roriorde at redhat.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M NEWS
    M lib/dpdk.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  dpdk: Stop configuring socket-limit with the value of socket-mem.

This change removes the automatic memory limit on start-up of OVS with
DPDK. As DPDK supports dynamic memory allocation, there is no
need to limit the amount of memory available, if not requested.

Currently, if socket-limit is not configured, it is set to the value of
socket-mem. With this change, the user can decide to set it or have no
memory limit.

Removed 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 at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/1f7f557603a5...de15afa50f30


More information about the git mailing list