The idle timeout of 1.5 seconds for exact match flows creates big problems for 
testing. I suspect that other than for internal generated flows within the 
system, that 1.5 seconds is not a reasonable timeout. I worry about thrashing 
of the flows in a congested setting where the load is so high that packets are 
discarded from not having enough time to setup flows and the discarded packets 
cause flows to be deleted since the packets that would maintain the flows are 
not seen. This type of an issue combined with other similar type issues can 
greatly reduce the overall network performance. One way to approach this is to 
get the network performance working well and then retune such parameters that 
could have an impact.

Imagine someone using ssh terminal, there would be new flows constantly being 
created and destroyed for each small user hesitation. Imagine that a lot the 
communications through to the system happen to be through ssh terminals and the 
system was gateway for these communications to a lot of systems. The network 
performance for this case would probably degrade down to the flow setup 
performance.  This is just one example of many that could exist, while there 
are of course scenarios that 1.5 seconds would be ideal. I think the setting of 
1.5 seconds is due to inexperience and needs to be drastically changed. If flow 
timeout is specified on the OpenFlow command, the exact match flow timeout 
should use the OpenFlow set timeout and not an arbitrary value since there was 
probably a reason for setting the particular value. 

Currently I use a patch for testing that sets the idle timeout to 15 seconds 
and it solves a big issue of the OVS not being able to setup flows fast enough 
for high speed flows, since my equipment (which is industry standard network 
test equipment that I cannot modify) can be set to send small set of packets at 
a low packet rate before sending the high speed flows, but there is a moderate 
time gap of 11 seconds between these two. 

It is not obvious to me how to set the OVS idle from an exterior interface. Can 
an example, or documentation update to indicate exactly how to set this new 
idle timeout parameter. Hopefully this is a global setting and not flow 
specific setting. 

Mike Polehn

-----Original Message-----
From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alex Wang
Sent: Thursday, June 19, 2014 9:20 PM
To: dev@openvswitch.org
Subject: [ovs-dev] [Backport] Backport max-idle to branch-1.10 - branch-2.1.

This series backports the commit 72310b04 (upcall: Configure datapath max-idle 
through ovs-vsctl.) to branch-1.10 - branch-2.1, for testing purpose.

--
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to