Hi Murphy,

I could get the flows matched to queues, didn't try the patch you gave
though.

But I am facing issues in testing it with Iperf, please see if you can help
me:
1) My topology has 3 hosts and 1 switch. H3 listens on udp ports 5000 and
6000.
   H2 and H1 send traffic on 5000 and 6000 respectively at 500 Mbps. I am
using the software based siwtch
   provided in the openflow reference distribution
OpenFlowTutorial-081910.zip<http://openflowswitch.org/downloads/OpenFlowTutorial-081910.vmware.zip>
.
2) I added following queues to switch:
dpctl add-queue tcp:localhost:6634 3 1 3 ==>  i assume this makes q1 = 3Mbps
for port 3
dpctl add-queue tcp:localhost:6634 3 2 7===> q2 = 7Mbps for port 3

2) I can see the flow entries were configured appropriately in the switch
using dpctl.
3) I can also see that the number of packets matched for these flows is as
desired.

When i see the results of Iperf, i can see the server bandwidth report shows
it recieves traffic at 160 to 180 Mbps
from H1 and H2 each. I am not sure what is the maximum bandwidth that port 3
supports but i tried values like
100,200,300,400,500 Mbps and see the cieling value at around 400 Mpbs.

Am i using wrong test scenario? Is there a way i can set the value for port
3 to a ceiling value of 100 Mbps?
Is queuing mechanism supported on openflow software switch present in
OpenFlowTutorial-081910.zip<http://openflowswitch.org/downloads/OpenFlowTutorial-081910.vmware.zip>?


Thanks,
Anand


On Wed, Dec 1, 2010 at 1:25 AM, James "Murphy" McCauley <jam...@nau.edu>wrote:

> This will get into destiny in the next day or so.  Here's a patch for
> zaku.  You should then be able to create the action with:
> actions = [[openflow.OFPAT_ENQUEUE, (port, queue_id)]]
>
> I haven't actually tried it.  Let me know how it works. :)
>
> -- Murphy
>
> On Mon, 2010-11-29 at 13:36 -0500, Anand Bawiskar wrote:
> >
> > Hi,
> >
> > I trying to implement QOS using openflow switch and NOX controller
> > wherein I am using
> > the queues configured at a particular port of openflow switch to queue
> > packets for different applications.
> > I use the dpctl tool for configuring the queues as:
> > dpctl add-queue tcp:localhost:6634 3 1 7
> > dpctl add-queue tcp:localhost:6634 3 2 3
> >
> >
> > My topology is:
> >
> > host2 -------------port1-|     Switch     | port3-queue1
> > --------------------------------|  host4
> > host3--------------port2-|                    |
> > queue2--------------------------------|
> >
> >
> > I am trying to map the flow to queue in NOX controller as:
> >
> > actions = [[openflow.OFPAT_ENQUEUE, [0, prt[0],queuenum]]]
> >
> > queuenum is 1 or 2 depending on the application's destination port
> > number and i verified it is correct.
> >
> > The error i see is "Invalid action type 11" so i think there is
> > something wrong with above syntax.
> > Can you please tell me the proper syntax and way to map flows to
> > queues using NOX controller?
> >
> >
> > Thanks,
> >
> > Anand Bawiskar,
> >
> >
> >
> >
> >
> > _______________________________________________
> > nox-dev mailing list
> > nox-dev@noxrepo.org
> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to