Ok, so iv'e been looking at the source code (i'm using version 1.10) and found
the method "handle_miss_upcalls(...)".
This might be a good point to register my initial time. However, does
OpenVSwitch already keep a registry of these packets that are waiting for
the new rule to be installed, and if so, where?
Also, can you tell me what are the facets that are used (or not) on
handling flow misses?

Thanks again,
João Gomes


On Sun, Mar 9, 2014 at 9:39 AM, João Gomes <[email protected]> wrote:

> Hi Steve,
>
> Thanks for the answer. But that will measure the total time it takes for a
> packet to traverse the network and reach it's destination. I think that
> will be a very useful benchmark further down the road to measure network
> performance.
> However, for now, i'm considering only the time it takes for the switch to
> actually send out the packet. I am experimenting different strategies to
> handle flow misses at the switch and need to benchmark them. For example,
> on detecting a link failure the switch could already have an alternative
> installed, or it could contact the controller and wait for the new flow
> rule; both cases would surely report very different benchmarks.
>
>
>
>
> On Thu, Mar 6, 2014 at 11:47 PM, Steve Noble <[email protected]> wrote:
>
>> Hi,
>>
>> I have done this before using an IXIA traffic generator to time the
>> installation of the prefixes.
>>
>> I don't think you need to modify the code, just find a tool to generate
>> packets with time stamps and determine the time it takes from the first
>> packet sent to the first packet received at the destination.
>> On Mar 6, 2014 3:39 PM, "João Gomes" <[email protected]> wrote:
>>
>>>  Hello all,
>>>
>>> I have a network setup in mininet using openvswitch.
>>> My switches are using the OpenFlow 1.3 protocol and i am using Ryu as my
>>> openflow controller.
>>> I am trying to calculate the elapsed time since a switch requests the
>>> controller for a new flow rule and the time the rule is installed in the
>>> switch.
>>>
>>> Is this something i can do with openvswitch without modifying any source
>>> code? If not, where do you recommend i start looking to be able to this?
>>>
>>> Any help is appreciated. Thanks.
>>>
>>> Best Regards!
>>>
>>>
>>> _______________________________________________
>>> discuss mailing list
>>> [email protected]
>>> http://openvswitch.org/mailman/listinfo/discuss
>>>
>>>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to