<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span><br></span></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; font-style: normal; background-color: transparent;"><span>Thank you Martin for your early response. Let me analyze, optimize, enhance the setup rate.    </span></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, April 14, 2014 5:09 PM, Martin Willi <martin@strongswan.org> wrote:<br> </font> </div> 
 <div class="y_msg_container">Chinmaya,<br clear="none"><br clear="none">> Using the pthread_setaffinity_np() API to put threads into different<br clear="none">> cores, I find the tunnel setup rate to be 400+ (maximum) without any<br clear="none">> packets loss at both ends. Without setting processor affinity, only<br clear="none">> once core gets used (100%) and setup rate was found to be 250 (max). I<br clear="none">> think, it helps to improve the locality of memory access, performing<br clear="none">> load balancing and achieve parallelism. <br clear="none"><br clear="none">> I am totally stuck, unable to proceed further. Kindly give me some<br clear="none">> clues to move forward. <br clear="none"><br clear="none">Sorry, I don't have the time nor your hardware available here to dive<br clear="none">deeper into the issues you are experiencing. I can't assist you beyond<br clear="none">what I did for these specific issues on
 your very specific hardware.<br clear="none"><br clear="none">Upscaling to this level on this kind of hardware is certainly<br clear="none">non-trivial, but probably you'll have to analyze and optimize your<br clear="none">specific situation yourself to achieve the setup rate you are targeting<br clear="none">(if possible at all).<br clear="none"><br clear="none">Kind Regards<div class="yqt0995196308" id="yqtfd19904"><br clear="none">Martin<br clear="none"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>