[ovs-discuss] ovs-vswitchd memory consumption behavior

Fernando Casas Schössow casasfernando at outlook.com
Mon Mar 4 18:34:13 UTC 2019


Glad to reach the devs! :D

Alpine Linux is currently using OVS 2.10.1 and the source for the package comes from: http://www.openvswitch.org/releases/openvswitch-2.10.1.tar.gz

BTW I mentioned I'm running OVS on Alpine Linux a few times but just want to give you more details about the build.
For what it worth Alpine uses musl libc. The configure command looks like this:

./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-ndebug \
--enable-libcapng \
PYTHON=/usr/bin/python2

And besides the ifupdown scripts the only patch it applies seems to be required by musl libc:

musl-if_packet.patch
--- openvswitch-2.4.0/lib/netdev-linux.c 2015-08-20 00:33:42.960971996 +0000
+++ openvswitch-2.4.0/lib/netdev-linux.c.new 2015-08-22 18:16:10.741115156 +0000
@@ -37,10 +37,9 @@
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <sys/utsname.h>
-#include <netpacket/packet.h>
 #include <net/if.h>
 #include <net/if_arp.h>
-#include <net/if_packet.h>
+#include <linux/if_packet.h>
 #include <net/route.h>
 #include <netinet/in.h>
 #include <poll.h>

I'm mentioning all this in case it can be useful for the investigation since recently I reported a bug in QEMU that after a deep investigation with the devs seems to be mostly affecting Alpine because of the compiler optimizations it uses.

About the dump, I will send you a private message with the details to download it.

On lun, mar 4, 2019 at 6:25 PM, Ben Pfaff <blp at ovn.org> wrote:
On Sat, Mar 02, 2019 at 09:53:18AM +0000, Fernando Casas Schössow wrote:
For this reason I'm adding OVS dev mailing list to the thread in case any of the devs want to have a look at the dump and debug this issue.
You've reached them already ;-)
If anyone wants access to the dump, reply to me and I will upload it to a server so it can be downloaded.
If you're willing to make the core dump available to me, I'll take a look at it. That's ideal, actually, I just assumed no one would be willing to do that. Can you tell me exactly what Git commit number you are running from? Or if it's exactly v2.10.1, that works too.
BTW, should I open an issue in github about this?
It will probably not help, since more developers read the mailing lists than follow the issue tracker.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190304/877a7209/attachment.html>


More information about the discuss mailing list