qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>,
	Star Chang <star.idv@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend
Date: Tue, 22 Sep 2015 17:53:26 +0300	[thread overview]
Message-ID: <56016B66.8000304@redhat.com> (raw)
In-Reply-To: <1678940791.84276144.1442931432347.JavaMail.zimbra@oxygem.tv>

On 09/22/2015 05:17 PM, Alexandre DERUMIER wrote:
> Hi,
>
> Ovs documentation say that 1GB hugepage are needed
> https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md
>
> is is true ?  (as the wiki say 2M hugepages)

Not for this scenario :) . For this one 2M hugepages are enough (tested already by  a few developers), try it in your laptop!

Thanks,
Marcel

>
>
> ----- Mail original -----
> De: "Star Chang" <star.idv@gmail.com>
> À: "Marcel Apfelbaum" <marcel@redhat.com>
> Cc: "qemu-devel" <qemu-devel@nongnu.org>
> Envoyé: Mardi 22 Septembre 2015 07:43:13
> Objet: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend
>
> Thanks Marcel!!!
>
>
> After tailing the logs and basic troubleshooting, we finally can have 2 VMs to ping to each other. One dpdkvhostuser interface is for each VM and we have to new add flows based on dpdkvhostuser ofport numbers.
>
>
> Another issue we might post it to proper mail loop is that we run pktgen-dpdk 2.9.1 inside of VM but no packets counted from pktgen terminal display. It is so weird that we only see 128 tx packets bursted out and then nothing is continue working. After that, we try to dump-flows via ovs-ofctl utility but it shows "connection refued". I am not sure have any one of you guys ideas here? Thanks!!!
>
>
>
>
>
> Bridge "ovsbr0"
>
> Port "ovsbr0"
>
> Interface "ovsbr0"
>
> type: internal
>
> Port "dpdk1"
>
> Interface "dpdk1"
>
> type: dpdk
>
> Port "dpdk0"
>
> Interface "dpdk0"
>
> type: dpdk
>
> Port "vhost-user1"
>
> Interface "vhost-user1"
>
> type: dpdkvhostuser
>
> Port "vhost-user0"
>
> Interface "vhost-user0"
>
> type: dpdkvhostuser
>
> On Tue, Sep 22, 2015 at 2:34 AM, Marcel Apfelbaum < marcel@redhat.com > wrote:
>
>
> On 09/21/2015 11:25 AM, Marcel Apfelbaum wrote:
>
> BQ_BEGIN
> On 09/21/2015 08:01 AM, Star Chang wrote:
>
> BQ_BEGIN
> Hi Marcel:
>
> Many thanks for you to contribute wiki page in how to configuring vhost-user type with openvsitch/qemu in VM environment.
>
> We bring 2 VMs up with vhost-user type. We can see eth0 interfaces created in 2 VMs with proper mac address we assign. After IP address assignment, 2 VMs could not PING to each other when they are in
> the same subnet. There are not packets at all in count when running ovs-ofctl dump-ports :(
>
> However, we check link up state via ovs-ofctl utility but LINK_DOWN as below. Have any one with experiences and give some helps … Thanks!!
>
>
>
>
> Hi,
>
> I would look into OVS log for specific issues:
>
> journalctl --since `date +%T --date="-10 minutes"`
>
> The above command will show you the last 10 minutes log.
> You are welcomed to show us the log.
>
>
> BQ_END
>
> I forgot to CC the list.
>
> Thanks,
> Marcel
>
>
>
> BQ_BEGIN
> Thanks,
> Marcel
>
>
> BQ_BEGIN
> $ sudo ./utilities/ovs-ofctl show ovsbr0
> OFPT_FEATURES_REPLY (xid=0x2): dpid:00000670da615e4a
> n_tables:254, n_buffers:256
> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
> actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
> 1(vhost-user1): addr:00:00:00:00:00:00
> config: PORT_DOWN
> state: LINK_DOWN
> speed: 0 Mbps now, 0 Mbps max
> 2(vhost-user2): addr:00:00:00:00:00:00
> config: PORT_DOWN
> state: LINK_DOWN
> speed: 0 Mbps now, 0 Mbps max
> LOCAL(ovsbr0): addr:06:70:da:61:5e:4a
> config: PORT_DOWN
> state: LINK_DOWN
> current: 10MB-FD COPPER
> speed: 10 Mbps now, 0 Mbps max
> OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
>
>
>
> Thanks,
> Star
>

  reply	other threads:[~2015-09-22 14:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMy83uR2UDVu_7dxjRzzEj0EVJipA6QnyovmTOKDAT-4BWs67g@mail.gmail.com>
     [not found] ` <55FFBEF6.3020000@redhat.com>
2015-09-21 18:34   ` [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend Marcel Apfelbaum
2015-09-22  5:43     ` Star Chang
2015-09-22  7:06       ` Marcel Apfelbaum
2015-09-22 14:17       ` Alexandre DERUMIER
2015-09-22 14:53         ` Marcel Apfelbaum [this message]
2015-09-18 17:16 chandrasekar kannan
2015-09-20  9:13 ` Marcel Apfelbaum
  -- strict thread matches above, loose matches on Subject: below --
2015-09-10 19:51 Marcel Apfelbaum
2015-09-16 17:44 ` Flavio Leitner
2015-09-17 10:08   ` Marcel Apfelbaum
2015-09-17 12:46     ` Flavio Leitner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56016B66.8000304@redhat.com \
    --to=marcel@redhat.com \
    --cc=aderumier@odiso.com \
    --cc=qemu-devel@nongnu.org \
    --cc=star.idv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).