• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

PfSense hardware for home router - OpenVPN performance

Hardware
30
110
58.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lindsay
    last edited by Feb 10, 2018, 10:08 PM

    I use Astrill, and when i sometimes use utorrent it can download at 22-23MB/ s but avarage is more 17-18 with snort enabled

    This is my CPU for the moment as i will wait to upgrade to an xeon and intel mainboard.

    CPU.PNG
    CPU.PNG_thumb

    Fiberline 500/500Mbps
    Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz

    1 Reply Last reply Reply Quote 0
    • R
      rok1
      last edited by rok1 Jul 11, 2018, 2:35 AM Jul 11, 2018, 2:34 AM

      Intel Pentium Silver J5005 4x1.5 (Turbo to 2.8) TDP 10W -CPU Mark 2987 -Single Thread 1182
      3200/9.21 = 347 Mbps (aes-256-cbc)
      3200/8.67 = 369 Mbps (aes-256-gcm)

      Real World VPN running 5 Ubuntu Torrents at once
      login-to-view
      Nearly half of my Spectrum Gigabit is being used.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Jul 11, 2018, 12:05 PM

        Is that with FastIO enabled and send/rec buffers increased?

        Steve

        R 1 Reply Last reply Jul 11, 2018, 12:13 PM Reply Quote 0
        • R
          rok1 @stephenw10
          last edited by Jul 11, 2018, 12:13 PM

          @stephenw10 Just FastIO. I have not done any buffer adjustments yet.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by stephenw10 Jul 11, 2018, 12:19 PM Jul 11, 2018, 12:17 PM

            FastIO made the biggest difference in my testing. Setting the send and receive buffers to 512k did make some improvement. There was little to be gained setting them higher than that. In my test at least. More testing is always good. ☺

            Those numbers are pretty good already though.

            Steve

            R 1 Reply Last reply Jul 12, 2018, 12:27 AM Reply Quote 0
            • R
              rok1 @stephenw10
              last edited by Jul 12, 2018, 12:27 AM

              @stephenw10 said in PfSense hardware for home router - OpenVPN performance:

              FastIO made the biggest difference in my testing. Setting the send and receive buffers to 512k did make some improvement. There was little to be gained setting them higher than that. In my test at least. More testing is always good. ☺

              Those numbers are pretty good already though.

              Steve

              I am very impressed with the cpu. Motherboard not so much. Plenty of available PCIe lanes for dual Intel gigabit lan. And a pcie x1 slot instead of x16. The realtek gigabit lan couldn't muster over 600mbs. Gigabyte announced a J5005 board earlier this year, but they never released it.

              1 Reply Last reply Reply Quote 0
              • L
                laped
                last edited by laped Jul 18, 2018, 3:55 PM Jul 17, 2018, 5:08 PM

                i5-8250u

                Tue Jul 17 17:06:17 2018 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
                7.68 real 7.67 user 0.00 sys

                3200 / 7.68 = 416.67 mbit/s (aes-256-cbc)

                1 Reply Last reply Reply Quote 0
                • T
                  tibere86
                  last edited by Jul 17, 2018, 11:29 PM

                  Intel Atom E3950
                  AES-128-CBC, AES-NI enabled, OpenVPN compression disabled
                  319 Mbit/s

                  1 Reply Last reply Reply Quote 0
                  • M
                    MoonKnight
                    last edited by MoonKnight Jul 18, 2018, 9:14 PM Jul 18, 2018, 9:13 PM

                    Hi,

                    Here is my new results:

                    time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-gcm
                    

                    Intel i5-7400 4 x 3.0GHz - TDP 65W -CPU Mark 7382 - Single Thread 1957
                    3200/8,05 = 397 Mbps OpenVPN performance (estimate)

                    --- 24.11 ---
                    Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                    Kingston DDR4 2666MHz 16GB ECC
                    2 x HyperX Fury SSD 120GB (ZFS-mirror)
                    2 x Intel i210 (ports)
                    4 x Intel i350 (ports)

                    1 Reply Last reply Reply Quote 0
                    • V
                      VAMike
                      last edited by Jul 19, 2018, 4:23 PM

                      AMD Ryzen 5 2600X (6 x 3.6GHz/4.2GHz)
                      3200/2.7=1185

                      S 1 Reply Last reply Jul 22, 2018, 7:43 PM Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator @VAMike
                        last edited by stephenw10 Jul 22, 2018, 7:44 PM Jul 22, 2018, 7:43 PM

                        3200/2.7=1185

                        Nice. Are you able to test a reality figure on there at all?

                        V 1 Reply Last reply Jul 22, 2018, 8:55 PM Reply Quote 0
                        • V
                          VAMike @stephenw10
                          last edited by Jul 22, 2018, 8:55 PM

                          @stephenw10 said in PfSense hardware for home router - OpenVPN performance:

                          3200/2.7=1185

                          Nice. Are you able to test a reality figure on there at all?

                          In linux with a client running on the same machine in kvm, it hit 1100Mbps. (So, zero latency internal network, but with the load of being both client and server.) I'd not expect to see that on a real link, as I don't think OpenVPN will keep enough packets in flight to fill the pipe, but the hardware can do it. That said, I'd pick a newer i3 if I just wanted a firewall with openvpn; the ryzen is overkill for that, and an i3 should hit the same numbers for less money.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.