Hi, On Wed, Aug 6, 2014 at 3:20 PM, Gert Doering <g...@greenie.muc.de> wrote: > On Wed, Aug 06, 2014 at 02:12:12PM +0200, David Sommerseth wrote: >> The encryption and decryption using symmetric keys are really fast. > > fast, but used very very often...
Yes, and less difficult to separate. That is why I would tackle this one first too. > My rough idea was something like > > - one control thread doing the IP routing and "client connection maintenance" > - one group of threads to do "decrypt incoming packet" > - one group of threads to do "encrypt outgoing packet and send away" > > and of course the "control thread" could split off the asymmetric crypto > to yet another thread... this should be sufficient to at least utilize > a few more cores, until we get to bottlenecks in the central thread. More or less what I had in mind too. If possible, I would try to do just the control/data decision in a thread different from the connection maintenance. That would prevent the data channels from choking up during connection attempts. -Steffan ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users