[ovs-dev] Stochastic Switching (Group Bucket Selection) using OVS

2014-02-22 Thread Mohammad Ali Salahuddin
Hello Everyone, Based on my recent posts on dev openvswitch list, I have been receiving emails regarding my experience of stochastic switching using OVS. So, in order to help others with similar interests, I have setup a wiki on github: https://github.com/saeenali/openvswitch/wiki/Stochastic-Sw

Re: [ovs-dev] xlate_select_group() not being invoked for every packet

2014-02-18 Thread Mohammad Ali Salahuddin
> CC: dev@openvswitch.org > Subject: Re: [ovs-dev] xlate_select_group() not being invoked for every packet > > You can add > ctx->xout->slow |= SLOW_CONTROLLER; > to xlate_select_group(). > > On Tue, Feb 18, 2014 at 09:46:03AM -0700, Mohammad Ali Salahuddin wrote:

Re: [ovs-dev] xlate_select_group() not being invoked for every packet

2014-02-18 Thread Mohammad Ali Salahuddin
Is there a way to turn off this caching? Thanks! > Date: Tue, 18 Feb 2014 08:32:54 -0800 > Subject: Re: xlate_select_group() not being invoked for every packet > From: b...@nicira.com > To: saeen...@hotmail.com > CC: dev@openvswitch.org > > On Tue, Feb 18, 2014 at

[ovs-dev] xlate_select_group() not being invoked for every packet

2014-02-18 Thread Mohammad Ali Salahuddin
Hello, I am experimenting with the group "select" feature, for which I have modified "group_best_live_bucket()" function in "ofproto-dpif-xlate.c" to stochastically choose a bucket based on bucket weights (changes shown below). My understanding was that every time a packet arrives at the s

[ovs-dev] Followup - Stochastic Group Bucket Selection

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I realized that the call to srand(time(NULL)) in my changes below may be contributing towards the same bucket being selected. Can you please tell me an appropriate function ( *main*()/*init*() ) to initialize the pseudo-random number generator (i.e. srand(time(NULL)))? Your help

[ovs-dev] Stochastic Group Bucket Selection in OVS 2.1

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I am experimenting with group "select" feature in OVS 2.1 prerelease (branch-2.1). I have *only* modified the "group_best_live_bucket" function to stochastically choose a bucket based on bucket weights (as shown below). // for stochastic switchingstatic const struct ofputil_bucket

[ovs-dev] Updating OpenFlow

2014-02-15 Thread Mohammad Ali Salahuddin
Hello, I have followed instructions on the following link to update OVS in Mininet (I used the build and install option 2): https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch I have used OVS 2.1 prerelease (branch-2.1). However, when I use the ovs-ofctl to check

[ovs-dev] Stochastic Group Bucket Selection

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I am experimenting with group "select" feature in OVS 2.1 prerelease branch-2.1. I have *only* modified the "group_best_live_bucket()" function in "ofproto-dpif-xlate.c" to stochastically choose a bucket based on bucket weights (as shown below). I did not change the "xlate_select

[ovs-dev] Group Tables Support

2014-02-13 Thread Mohammad Ali Salahuddin
Hello, I am unable to find Group Table support in Open vSwitch. So, are Group Tables not supported in the latest version of OVS? Do you know of other Kernel Switches supporting Group Tables, which I can use in Mininet? I have used a User-Space switch, however, I noticed performance issues. Any he