[strongSwan] Locking contention or delay in the Charon process under high load

Chinmaya Dwibedy ckdwibedy at yahoo.com
Mon Apr 14 14:06:52 CEST 2014

Thank you Martin for your early response. Let me analyze, optimize, enhance the setup rate.    
On Monday, April 14, 2014 5:09 PM, Martin Willi <martin at strongswan.org> wrote:

> Using the pthread_setaffinity_np() API to put threads into different
> cores, I find the tunnel setup rate to be 400+ (maximum) without any
> packets loss at both ends. Without setting processor affinity, only
> once core gets used (100%) and setup rate was found to be 250 (max). I
> think, it helps to improve the locality of memory access, performing
> load balancing and achieve parallelism. 

> I am totally stuck, unable to proceed further. Kindly give me some
> clues to move forward. 

Sorry, I don't have the time nor your hardware available here to dive
deeper into the issues you are experiencing. I can't assist you beyond
what I did for these specific issues on your very specific hardware.

Upscaling to this level on this kind of hardware is certainly
non-trivial, but probably you'll have to analyze and optimize your
specific situation yourself to achieve the setup rate you are targeting
(if possible at all).

Kind Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20140414/4aa40471/attachment.html>

More information about the Users mailing list