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

    Aesni0: No SSE4.1 support.

    Scheduled Pinned Locked Moved IPsec
    10 Posts 6 Posters 3.4k Views
    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.
    • M
      MichelZ
      last edited by

      Continuing the aesni0: No SSE4.1 support. thread here: https://forum.pfsense.org/index.php?topic=82960.15

      Anything we can do to find out what feature that seems to be missing?
      SSE4.1 has been around for some time now (since Penryn), and our VMWare Cluster EVC Mode definitely supports this.

      Thanks
      Michel

      1 Reply Last reply Reply Quote 0
      • M
        mreardon
        last edited by

        I get the same problem with my VM running under Xen 4.5, so I don't believe the problem is exclusive to VMWare.  Similarly to as stated in the forum, if I take the aesni.ko from a standard FreeBSD 10.1 build, the module loads up fine and acceleration appears to be working properly.

        1 Reply Last reply Reply Quote 0
        • E
          eri--
          last edited by

          Two possibilites:

          • You have installed pfSense i386(32 bit) which is not supported by aesni.

          • Provide a VM to troubleshoot this issue

          1 Reply Last reply Reply Quote 0
          • R
            razer0r
            last edited by

            @ermal:

            Two possibilites:

            • You have installed pfSense i386(32 bit) which is not supported by aesni.

            • Provide a VM to troubleshoot this issue

            I have the same issue, running ESXi 5.5 update 2

            What would you exactly need?

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              VM to replicate the issue with pfSense loaded?

              1 Reply Last reply Reply Quote 0
              • R
                razer0r
                last edited by

                https://cloud.breeze.be/public.php?service=files&t=23e71d66e049dd9f1966eb804012efda

                password: ********

                default install, only enabled the aes-ni extension from the Advanced menu

                When booting you should already see the message about SSE4.1 not being available.

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  Ok give this module a shot.
                  Just replace the file under /boot/kernel with this one.
                  Need to rename it to aesni.ko before.

                  It attaches for me and the fix will be pushed to pfSense 2.2.+

                  aesni.ko.txt

                  1 Reply Last reply Reply Quote 0
                  • R
                    razer0r
                    last edited by

                    seems to load, and CPU offloading seems to work as well :-).

                    I only have one AES-NI capable firewall, so I can't see my max IPSec throughput, but the cpu went down from 90% to 28% with the same 80Mbit throughput test.

                    dmesg output shows this:

                    [2.2-RELEASE][root@firewall022]/root: dmesg | grep aes
                    aesni0: No SSE4.1 support.
                    aesni0: <aes-cbc,aes-xts,aes-gcm> on motherboard
                    warning: KLD '/boot/kernel/aesni.ko' is newer than the linker.hints file
                    aesni0: <aes-cbc,aes-xts,aes-gcm> on motherboard</aes-cbc,aes-xts,aes-gcm></aes-cbc,aes-xts,aes-gcm>
                    
                    1 Reply Last reply Reply Quote 0
                    • A
                      ACiD GRiM
                      last edited by

                      +1 to confirm this works, went from 40Mbps to 77Mbps on a shared CPU VPS on VMWare with a drop from 75% to 30% CPU.

                      Thanks so much for this!

                      1 Reply Last reply Reply Quote 0
                      • M
                        miloman
                        last edited by

                        it works.

                        thank you ermal!

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