[ovs-discuss] problem with BFD enabled on the wireless interface of an OVS bridge

2017-12-17 Thread Dawood Sajjadi
Hi,

On an Ubuntu Linux machine, I have added a wireless interface (wlan0) to an
OVS bridge and enabled BFD on it: "ovs-vsctl set interface wlan0
bfd:enable=true"

However, the other wireless devices (working on the same frequency band)
are not able to receive the generated BFD probe messages by wlan0 and I see
the following messages on the wireless interface (using tcpdump):
IP 169.254.1.1.49158 > 169.254.1.0.3784: BFDv1, Control, State Down, Flags:
[none], length: 24

Do you have any idea how can I tell the bridge to allow these probes to
leave the bridge (or let the ingress probes can be received)? thanks.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-13 Thread Dawood Sajjadi
just as an update, I found out a way to solve my problem, but not sure how
it causes it! I was trying to do hop-by-hop routing over a wireless mesh
network bt setting eth_dst field (Re-writing of Destination MAC).  In my
prior configuration, I was not re-writing the eth_src field at each router,
but in the new one (as follows), I added it into the action section of my
rule (at the controller):

 "actions":[
{
"type":"SET_FIELD",
"field": "eth_src",
"value": "04:f0:21:11:3d:78"
},
{
"type":"SET_FIELD",
"field": "eth_dst",
"value": "04:f0:21:11:3d:81"
},
{
"type":"OUTPUT",
"port": 2
}
]

After applying the updated rule, the throughput problem is solved. However,
I don't understand how it affects the end-to-end throughput of flows over
the bridge/network. any comment?


On Sat, Dec 9, 2017 at 3:59 PM, Dawood Sajjadi <s.d.sajj...@gmail.com>
wrote:

> I didn't make any conclusion. I just stated whatever I have experienced
> and as I mentioned before since by removing the wireless interfaces from
> the bridge, there is no rate limitation problem, then (at least) OVS plays
> a role in this problem. Ben: may I know what do you suggest to deal with
> this problem?
>
> On Fri, Dec 8, 2017 at 7:44 PM, Ben Pfaff <b...@ovn.org> wrote:
>
>> It seems like you're just jumping to conclusions here.  What have you
>> done to understand the situation?
>>
>> On Fri, Dec 08, 2017 at 05:59:57PM -0800, Dawood Sajjadi wrote:
>> > when I remove the wireless interfaces from the bridge, there is no
>> problem.
>> > However, as soon as adding the wireless interfaces to the bridge, the
>> > problem shows up. So, it seems OVS (at least) is a part of the problem.
>> >
>> > On Fri, Dec 8, 2017 at 5:55 PM, Ben Pfaff <b...@ovn.org> wrote:
>> >
>> > > On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi <
>> s.d.sajj...@gmail.com>
>> > > wrote:
>> > >>
>> > >> I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge
>> contains 4
>> > >> physical ports including one ethernet and three wireless ports. The
>> > >> ethernet port is connected to a laptop that generated dummy traffic
>> using
>> > >> Iperf. So, the ethernet port is used as the incoming port and the
>> generated
>> > >> traffic leaves the bridge through the wireless (as the outgoing)
>> ports. I
>> > >> used tcpdump to capture the traffic at the incoming and outgoing
>> ports of
>> > >> the bridge and I noticed that the volume of the outgoing traffic (at
>> the
>> > >> wireless ports) is by far lower than the amount of the incoming
>> traffic
>> > >> (from the ethernet port). It seems the OVS bridge drops/limits the
>> rate of
>> > >> outgoing packets. For instance, if the size of the captured traffic
>> using
>> > >> tcpdump at eth0 is 15 MB, the total size of the captured traffic on
>> > >> wireless ports is 3 MB!
>> > >>
>> > >> I didn't make any change in the default configuration of the OVS.
>> Also,
>> > >> to ensure that there is no predefined Queue/QoS policy at the
>> bridge, I
>> > >> used "ovs-vsctl --all destroy qos && ovs-vsctl --all destroy queue"
>> > >> command. However, the problem persists! Has anyone encountered such
>> an
>> > >> issue before? I really appreciate having your feedback. Thanks.
>> > >>
>> > >
>> > > OVS doesn't change data rates. You should try to figure out what's
>> going
>> > > on without making that assumption.
>> > >
>>
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-09 Thread Dawood Sajjadi
I didn't make any conclusion. I just stated whatever I have experienced and
as I mentioned before since by removing the wireless interfaces from the
bridge, there is no rate limitation problem, then (at least) OVS plays a
role in this problem. Ben: may I know what do you suggest to deal with this
problem?

On Fri, Dec 8, 2017 at 7:44 PM, Ben Pfaff <b...@ovn.org> wrote:

> It seems like you're just jumping to conclusions here.  What have you
> done to understand the situation?
>
> On Fri, Dec 08, 2017 at 05:59:57PM -0800, Dawood Sajjadi wrote:
> > when I remove the wireless interfaces from the bridge, there is no
> problem.
> > However, as soon as adding the wireless interfaces to the bridge, the
> > problem shows up. So, it seems OVS (at least) is a part of the problem.
> >
> > On Fri, Dec 8, 2017 at 5:55 PM, Ben Pfaff <b...@ovn.org> wrote:
> >
> > > On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi <
> s.d.sajj...@gmail.com>
> > > wrote:
> > >>
> > >> I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge
> contains 4
> > >> physical ports including one ethernet and three wireless ports. The
> > >> ethernet port is connected to a laptop that generated dummy traffic
> using
> > >> Iperf. So, the ethernet port is used as the incoming port and the
> generated
> > >> traffic leaves the bridge through the wireless (as the outgoing)
> ports. I
> > >> used tcpdump to capture the traffic at the incoming and outgoing
> ports of
> > >> the bridge and I noticed that the volume of the outgoing traffic (at
> the
> > >> wireless ports) is by far lower than the amount of the incoming
> traffic
> > >> (from the ethernet port). It seems the OVS bridge drops/limits the
> rate of
> > >> outgoing packets. For instance, if the size of the captured traffic
> using
> > >> tcpdump at eth0 is 15 MB, the total size of the captured traffic on
> > >> wireless ports is 3 MB!
> > >>
> > >> I didn't make any change in the default configuration of the OVS.
> Also,
> > >> to ensure that there is no predefined Queue/QoS policy at the bridge,
> I
> > >> used "ovs-vsctl --all destroy qos && ovs-vsctl --all destroy queue"
> > >> command. However, the problem persists! Has anyone encountered such an
> > >> issue before? I really appreciate having your feedback. Thanks.
> > >>
> > >
> > > OVS doesn't change data rates. You should try to figure out what's
> going
> > > on without making that assumption.
> > >
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Dawood Sajjadi
when I remove the wireless interfaces from the bridge, there is no problem.
However, as soon as adding the wireless interfaces to the bridge, the
problem shows up. So, it seems OVS (at least) is a part of the problem.

On Fri, Dec 8, 2017 at 5:55 PM, Ben Pfaff <b...@ovn.org> wrote:

> On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi <s.d.sajj...@gmail.com>
> wrote:
>>
>> I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge contains 4
>> physical ports including one ethernet and three wireless ports. The
>> ethernet port is connected to a laptop that generated dummy traffic using
>> Iperf. So, the ethernet port is used as the incoming port and the generated
>> traffic leaves the bridge through the wireless (as the outgoing) ports. I
>> used tcpdump to capture the traffic at the incoming and outgoing ports of
>> the bridge and I noticed that the volume of the outgoing traffic (at the
>> wireless ports) is by far lower than the amount of the incoming traffic
>> (from the ethernet port). It seems the OVS bridge drops/limits the rate of
>> outgoing packets. For instance, if the size of the captured traffic using
>> tcpdump at eth0 is 15 MB, the total size of the captured traffic on
>> wireless ports is 3 MB!
>>
>> I didn't make any change in the default configuration of the OVS. Also,
>> to ensure that there is no predefined Queue/QoS policy at the bridge, I
>> used "ovs-vsctl --all destroy qos && ovs-vsctl --all destroy queue"
>> command. However, the problem persists! Has anyone encountered such an
>> issue before? I really appreciate having your feedback. Thanks.
>>
>
> OVS doesn't change data rates. You should try to figure out what's going
> on without making that assumption.
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Dawood Sajjadi
I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge contains 4
physical ports including one ethernet and three wireless ports. The
ethernet port is connected to a laptop that generated dummy traffic using
Iperf. So, the ethernet port is used as the incoming port and the generated
traffic leaves the bridge through the wireless (as the outgoing) ports. I
used tcpdump to capture the traffic at the incoming and outgoing ports of
the bridge and I noticed that the volume of the outgoing traffic (at the
wireless ports) is by far lower than the amount of the incoming traffic
(from the ethernet port). It seems the OVS bridge drops/limits the rate of
outgoing packets. For instance, if the size of the captured traffic using
tcpdump at eth0 is 15 MB, the total size of the captured traffic on
wireless ports is 3 MB!

I didn't make any change in the default configuration of the OVS. Also, to
ensure that there is no predefined Queue/QoS policy at the bridge, I used
"ovs-vsctl --all destroy qos && ovs-vsctl --all destroy queue" command.
However, the problem persists! Has anyone encountered such an issue before?
I really appreciate having your feedback. Thanks.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Ryu/OpenvSwitch on Wi-Fi mesh networks

2017-12-07 Thread Dawood Sajjadi
Hi everybody,

Recently, I started working on a multi-radio Wi-Fi mesh setup to do some
comparison between regular Wi-Fi mesh routing protocols and SDN flow-based
routing in terms of end-to-end throughput. I am using Ryu as the controller
and used OpenvSwitch 2.8.1 at the mesh routers (Alix3d2 boards). During
conducting the experiments, I have faced a strange situation and I was
wondering have you experienced a similar problem or not.

When I was running a multi-hop throughput test over the mesh network using
iperf, I have noticed that the end-to-end throughput is too lower than what
I expected. For instance, if I remove the wireless backhaul interfaces of 2
neighbor nodes from the OVS bridge and run a one-hop iperf test between
wireless interfaces (in ad-hoc mode), then the throughput is ~24 Mbps.
However, when the wireless interfaces are a member of the bridge and I use
the controller to apply the forwarding rules, this throughput is less than
1 Mbps!!! I checked the switch config to ensure there is no predefined
QoS/Queue policy to limit the egress data rate of OVS bridge ports, but I
didn't find anything.

According to what I see, OVS is the root cause of the problem and it limits
the egress rate of the flows that are leaving the bridge. However, I don't
know how to stop/disable this action. Regarding the situation that I
explained, do you have any idea how this issue might be resolved? Thanks.

Regards,
Dawood
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss