On May 19, 2016, at 5:39 PM, André Mantas <andremant...@gmail.com> wrote:
> 
> I think there's some misunderstanding here. As I've said, "the 1.0 version of 
> simple_switch" ONLY replies and works with the original version of cbench 
> (not my modified version). The original cbench version uses fake 1.0 switches.
> 
> We are talking about different scenarios:
> 
> 1 - original cbench sending packets to simple_switch.py (works, better 
> performance)
> 2 - modified cbench sending packets to simple_switch_14.py (works, worst 
> performance)
> 
> The error ONLY occurs when:
> 
> 3 - modified cbench sending packets to cbench.py (doesn't work)

Yes; that wasn't 100% clear.

OK - so, both the 1.0 and 1.4 versions of simple_switch *should* only be 
sending two responses to each PacketIn event:
1) A FlowMod corresponding to what was learned from the packet
2) A PacketOut to handle the packet received in the PacketIn

Neither should differ significantly from the other, in terms of runtime 
behavior or performance.

I'd be interested to see the following:
1) Profiling data on the original cbench, sending packets to simple_switch.py 
(which I'd also like to see profiling data for)
2) Same, for modified cbench sending packets to simple_switch_14.py.

You *should* be able to use gprof or similar for cbench.
A quick mailing list search suggests that there was a patch submitted, back in 
2013, to have all of Ryu be able to be run under cProfile; it doesn't appear to 
have been committed.
It might make sense, though, to wrapper the appropriate portions of 
simple_switch.py and simple_switch_14.py in cProfile or hotshot, to see if 
there are significant differences in performance between the two (and - if so - 
where the time is being spent).

Best,
Victor
--
Victor J. Orlikowski <> vjo@[cs.]duke.edu

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to