Apu1d4 max lan network speed? [SOLVED]
-
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. ;) -
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 showskern.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/sWell 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.
-
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. -
Any other ideas I can try?
-
Ok a few more tests
Running
systat -iostat 1
First test
diskinfo -c /dev/ada0
See attachment 1
result
See attachment 2Second test downloading a 1GB file from squid cache
result
See attachment 3




 -
unticking
Disable hardware checksum offload
Disable hardware TCP segmentation offload
Disable hardware large receive offloadNow gives me about 27.5 Megabytes per second (220mbps).
That helped a little. -
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.
-
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. -
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
-
The setup
APUd4 running
iperf 2.0.5.2
squid3 0.3.8
squidGuard 1.9.15iperf test
pfsense as client
pc as server
pfsense connected to gigabit router
pc connected to gigabit router
Only using lan nicresults
[ 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 powerSo that is about what I get.