* [dpdk-users] dpdk-ring and ovs cannot running at the same time
@ 2019-07-31 12:44 Ahmet Genç
0 siblings, 0 replies; only message in thread
From: Ahmet Genç @ 2019-07-31 12:44 UTC (permalink / raw)
To: users
Hello everyone,
We are trying to run ovs and dpdk at the same time, but whenever I try to run ring-client application, I got ovswitchd error. Somehow dpdk ring-client affects ovs and kill its process.
Does anyone have an idea?
I run ovs like
ovs-vsctl --no-wait init
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024"
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask="0x8"
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-extra=" --proc-type=primary"
.... and so on so forth, bridges ports etc.
this is ovs-vsctl show output:
e2fc7268-a7f2-4635-a8b6-aae3ec427c52
Bridge br-ex
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs="0000:03:00.0"}
Port "dpdkr0"
Interface "dpdkr0"
type: dpdkr
Port br-ex
Interface br-ex
type: internal
Port "dpdk1"
Interface "dpdk1"
type: dpdk
options: {dpdk-devargs="0000:04:00.0"}
Port "dpdkr1"
Interface "dpdkr1"
type: dpdkr
and this is how I am run ring client while ovs is running:
./a.out -c 0x4 -n 4 --proc-type=secondary -- -n 0
This looks like running perfectly. The outpus are :
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_30649_2caac94f158
EAL: Probing VFIO support...
EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync
EAL: cannot request default container fd
EAL: VFIO support could not be initialized
APP: Finished Process Init.
Client process 0 handling packets
[Press Ctrl-C to quit ...]
and this is the error in syslog:
l 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00164|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr0' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00165|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr1' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00166|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00167|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk1' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00168|bridge|INFO|bridge br-ex: added interface dpdk1 on port 2
Jul 31 15:38:12 ulak a.out[30649]: EAL: Probing VFIO support...
Jul 31 15:38:12 ulak ovs-vswitchd[1239]: ovs|00001|dpdk|ERR|EAL: Cannot find action: eal_vfio_mp_sync
Jul 31 15:38:17 ulak a.out[30649]: EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync
Jul 31 15:38:17 ulak a.out[30649]: EAL: cannot request default container fd
Jul 31 15:38:17 ulak a.out[30649]: EAL: VFIO support could not be initialized
Jul 31 15:38:17 ulak a.out[30649]: APP: Finished Process Init.
Jul 31 15:38:17 ulak kernel: [ 1899.696680] show_signal_msg: 9 callbacks suppressed
Jul 31 15:38:17 ulak kernel: [ 1899.696689] pmd10[1300]: segfault at 6e000000e3 ip 0000000000a96569 sp 00007fb239668030 error 6 in ovs-vswitchd[400000+16a1000]
Jul 31 15:38:17 ulak systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 31 15:38:17 ulak systemd[1]: Started Process Core Dump (PID 30653/UID 0).
Jul 31 15:38:38 ulak systemd[1]: Started Session 3 of user ulak.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-31 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31 12:44 [dpdk-users] dpdk-ring and ovs cannot running at the same time Ahmet Genç
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).