Hi Raja,

Thanks for that explanation.
So with that mechanism, the vrouter is not able to manage more than 1k new
flow per seconds? It's not very high, modern HTTP server can handle 500k
req/s on a bare metal server [1] (that seems be done on the loopback
interface of the web server, not through a real network, no NIC. It's more
around 50k from an external node).
Did you measure the same result with the vrouter? Do you know a way to
improve that?

[1]
https://lowlatencyweb.wordpress.com/2012/03/20/500000-requestssec-modern-http-servers-are-fast/

Édouard.


On Thu, Oct 15, 2015 at 7:11 AM, Rajagopalan Sivaramakrishnan <
[email protected]> wrote:

> Hi Edouard,
>     When a new flow is created, the first packet of the flow is sent to
> the vrouter agent to lookup policy. While the flow is for the agent to
> resolve it, it is marked as a “HOLD" flow.
> Vrouter limits the number of such flows to 4096. Packets for any new flows
> are dropped by vrouter (and the “Flow Unusable” counter is incremented)
> when this limit has been crossed.
> This should be an ephemeral condition and new flows will be created once
> the agent has resolved the older flows.
>
> Raja
>
> From: Dev <[email protected]> on behalf of Édouard
> Thuleau <[email protected]>
> Date: Wednesday, October 14, 2015 at 9:42 AM
> To: "[email protected]" <[email protected]>
> Subject: [opencontrail-dev] Flow unsusable over new 1000req/s
>
> Hi,
>
> I'm doing some network stress tests on Contrail.
> One of them is to measure at which rate a vrouter can create new ephemeral
> TCP sessions.
>
> To do that test, I'm using a tsung generator distributed on different VM
> (five) and a nginx server that simply return an HTTP 204 code. I setted a
> floating IP on the nginx server and tsung clients use it as HTTP endpoint.
> I also had to tune some system and nginx parameters.
>
> On the Contrail side, I just tested it on 1.10 branch for the moment. The
> kernel module is loaded with 'vr_flow_entries' setted to 2097152 and the
> vrouter agent 'FLOWS.max_vm_flows' to 20%.
>
> The result is the vrouter starts to drop flow with reason "Flow Unusable"
> when the tsung client try to send 1000 HTTP requests per seconds.
>
> Do you think my results are correct? Do you see any mistake in my test bed?
> Someone already tried that type of test? If yes, what's your results?
>
> Regards,
> Édouard.
>
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to