Thank you Nima, <div><br></div><div>your info is very valuable, as I thought that mentined behavior would be quite specific for Cisco IOS. Now I'm more encouraged to do that tests :)</div><div><br></div><div>BTW, does anybody know of a tool that seeks for a max. forwarding rate using UDP (iterating the bitrate)? I have been searching for it for a long time, but unsuccesfully, so probably I'll have to write some script for Iperf. </div>
<div><br></div><div>Thank you</div><div>Adam<br><br></div><div><br></div><div><div class="gmail_quote">On Thu, Sep 1, 2011 at 11:47 AM, nima chavooshi <span dir="ltr"><<a href="mailto:nima0102@gmail.com">nima0102@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi<div>I had experienced this behavior with snort in inline mode. in my test bed, I flow X mega byte on snort machine, X mg without any delay has been handle. but I increased traffic by 2 times. but snort machine only could X/2 handled!</div>

<div>So I think your information is true.</div><div><br></div><div>Thanks<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Sep 1, 2011 at 1:11 AM, Adam Tisovsky <span dir="ltr"><<a href="mailto:tisovsky@gmail.com" target="_blank">tisovsky@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div>Hello, </div><div><br></div><div>I’m doing some benchmarks of IPsec performance on Cisco router and I have experienced the situation described bellow. My question is whether anybody has performed simillar tests on StrongSWAN and can tell how did it behave. </div>


<div><br></div><div>When you are gradually increasing the rate of traffic to be secured (using UDP as a transport protocol) you reach the maximum possible throughput of the device. But when you continue increasing the rate of ingress traffic beyond this point, the fowarding rate of device will decrease. Example:</div>


<div><br></div><div>Max. throughput of device is 10 Mbps. If Ingress traffic rate is 10 Mbps, then forwarding rate is 10 Mbps.  But when ingress rate is 20 Mbps, you get forwarding rate only 5 Mbps. </div><div><br></div>

<div>
I have experienced this on Cisco 1841 router with HW accelerator DISABLED. After some investigation I foud out that more ingress traffic utilizes main CPU more by interrupts. And interrupts go on the expense of encryption process. Therefore the decrease of forwarding rate. With HW accelerator enabled this situation on does not occur, device forwards traffic at the maximum rate even if it’s overloaded by the ingress tarffic. </div>


<div><br></div><div>I didin’t find any information dealing with this, however I find it quite interesting. I’m also planning to do the tests on StrongSWAN, but it takes some time. So any information will be helpful in advance. </div>


<div><br></div><div>Thank you</div><div>Adam</div><font color="#888888"><div><br></div>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a><br>
<a href="https://lists.strongswan.org/mailman/listinfo/users" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div>