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

Apu1d4 max lan network speed? [SOLVED]

Scheduled Pinned Locked Moved Hardware
13 Posts 3 Posters 3.3k 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.
  • ?
    Guest
    last edited by Sep 2, 2015, 3:14 PM

    Oh sorry it was my false! If you have enabled PowerD & TRIM support you should also
    create a file that is named loader.conf.local to make all of your special or custom settings
    persistent against reboots, updates & upgrades! once more again sorry please!  :o

    /boot/loader.conf.local
    

    Just running out of CPU?

    No, the APU is powerful enough to run several things such as Squid and Snort, but please
    don´t forget that each packet is harming the CPU and taking some power.

    would have thought that I would be able to get gigabit speeds with a apu1d.

    Without the PowerD (high adaptive) enabled you will be able to archive something around ~450 MBit/s
    and with enabled PowerD you could get something around ~650 MBit/s - ~750 MBit/s.  ;)

    1 Reply Last reply Reply Quote 0
    • A
      aGeekhere
      last edited by Sep 3, 2015, 1:28 AM

      create a file that is named loader.conf.local

      I already have the file in /boot/loader.conf.local
      When I open up the file it shows

      kern.cam.boot_delay=10000
      

      Is there anything else I need to add to it?

      Without the PowerD (high adaptive) enabled you will be able to archive something around ~450 MBit/s
      and with enabled PowerD you could get something around ~650 MBit/s - ~750 MBit/s

      Well i just did a iperf (so not going through squid) and I get.

      
      Client connecting to 192.168.1.244, TCP port 5001
      TCP window size: 65.0 KByte (default)
      ------------------------------------------------------------
      [  9] local 192.168.1.1 port 21527 connected with 192.168.1.20 port 5001
      [ ID] Interval       Transfer     Bandwidth
      [  9]  0.0-10.0 sec   223 MBytes   187 Mbits/sec
      
      

      Only getting 187 Mbits/sec

      My msata card (Samsung 850 EVO MZ) can do

      
      540 MB/sec Sequential Read
      520 MB/sec Sequential Write
      
      

      And the pc I am testing it with also has a ssd, all gigabit lan.

      Never Fear, A Geek is Here!

      1 Reply Last reply Reply Quote 0
      • A
        aGeekhere
        last edited by Sep 6, 2015, 11:28 AM

        IN System: Advanced: Networking
        I tired disabling/enabling Disable hardware checksum offload and Disable hardware TCP segmentation offload and Disable hardware large receive offload.
        Which does not seem to affect anything.

        Never Fear, A Geek is Here!

        1 Reply Last reply Reply Quote 0
        • A
          aGeekhere
          last edited by Sep 9, 2015, 12:25 AM

          Any other ideas I can try?

          Never Fear, A Geek is Here!

          1 Reply Last reply Reply Quote 0
          • A
            aGeekhere
            last edited by Sep 10, 2015, 3:01 AM

            Ok a few more tests

            Running

            systat -iostat 1
            

            First test

            diskinfo -c /dev/ada0
            

            See attachment 1
            result
            See attachment 2

            Second test downloading a 1GB file from squid cache
            result
            See attachment 3

            ![01 hdSpeedTest.jpg](/public/imported_attachments/1/01 hdSpeedTest.jpg)
            ![01 hdSpeedTest.jpg_thumb](/public/imported_attachments/1/01 hdSpeedTest.jpg_thumb)
            ![02 hdSpeedTestResults.jpg](/public/imported_attachments/1/02 hdSpeedTestResults.jpg)
            ![02 hdSpeedTestResults.jpg_thumb](/public/imported_attachments/1/02 hdSpeedTestResults.jpg_thumb)
            ![03 networkSpeedResults.jpg](/public/imported_attachments/1/03 networkSpeedResults.jpg)
            ![03 networkSpeedResults.jpg_thumb](/public/imported_attachments/1/03 networkSpeedResults.jpg_thumb)

            Never Fear, A Geek is Here!

            1 Reply Last reply Reply Quote 0
            • A
              aGeekhere
              last edited by Sep 10, 2015, 9:39 AM Sep 10, 2015, 9:07 AM

              unticking
              Disable hardware checksum offload
              Disable hardware TCP segmentation offload
              Disable hardware large receive offload

              Now gives me about 27.5 Megabytes per second (220mbps).
              That helped a little.

              Never Fear, A Geek is Here!

              1 Reply Last reply Reply Quote 0
              • A
                aGeekhere
                last edited by Sep 15, 2015, 11:33 PM

                Ok ran some more test, have two computers downloading the test file. When both are running the transfer speed halves, when 1 computer stops the transfer speed doubles, looking like a slowdown somewhere.

                Never Fear, A Geek is Here!

                1 Reply Last reply Reply Quote 0
                • A
                  aGeekhere
                  last edited by Oct 5, 2015, 10:13 PM

                  Ok I think I solved the issue, updated squid to 0.3.8 and removed dansguardian (dansguardian was disabled and I was not using it).
                  Now I get 500 to 600 mbps from iperf, going to test squid cache speed soon.

                  Never Fear, A Geek is Here!

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Oct 6, 2015, 12:43 AM

                    Is that just from iperf running on the APU to an iperf client on another machine? I.e. not through the APU but to/from it, only using one NIC?
                    If that's really through the unit, routed and firewalled traffic, that the fastest result I've ever seen.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • A
                      aGeekhere
                      last edited by Oct 6, 2015, 2:23 AM

                      The setup
                      APUd4 running
                      iperf 2.0.5.2
                      squid3 0.3.8
                      squidGuard 1.9.15

                      iperf test
                      pfsense as client
                      pc as server
                      pfsense connected to gigabit router
                      pc connected to gigabit router
                      Only using lan nic

                      results

                      
                      [ ID] Interval       Transfer     Bandwidth
                      [  9]  0.0-10.0 sec   593 MBytes   497 Mbits/sec
                      
                      

                      So when I said between 500 to 600 mbits it is really between 450 to 550 mbps.
                      However, this is only using 1 core (50% CPU), need iperf v3 for multi threading testing.

                      Squid cache test
                      A 1GB test file
                      Speed is about 250 mbps
                      using full CPU power

                      So that is about what I get.

                      Never Fear, A Geek is Here!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received