APU1D4 - speed
-
I just received my APU1D4 unit and it came pre-installed with pfSense 2.2.4
Hooked up my Null Modem cable and first put it back to factory defaults.
Set my WAN and LAN interface, all working so far.But… I'm getting half the speed or less than I'm used to.
Normally I'm getting 100mbit - 120mbit (max 14,5 MB/s) with computers attached to my modem/router.
Now with the APU1D4 behind it I'm getting around 30mbit - 50mbit (max 5 MB/s).It's a standard install, no packages. WAN + LAN interfaces are configured.
I read the max throughput of the APU1D4 should be around 550mbit (depending on the packages installed, none in my case).What could be the problem?
-
Did you check the interface speed? Maybe this is an autonegotiation issue?
My APU 1D runs at 70% CPU with 500Mbit throughput.
-
I just received my APU1D4 unit and it came pre-installed with pfSense 2.2.4
Ok and from where you got this box directly.
Hooked up my Null Modem cable and first put it back to factory defaults.
- Set up factory defaults
- Set in the APU BIOS console to 115200/N/8/1
- Set the Putty settings to 115200/N/8/1
pfSense came by defaults with this settings! So all future output will be read able
in the console or SSH session!
Set my WAN and LAN interface, all working so far.
- Setting up the LAN interface
- Activating the PowerD (high adaptive)
- Activating the TRIM support if a mSATA is present and supporting TRIM also!
Please be carefully not all mSATAs or SSDs are supporting the TRIM command!
Please create also a loader.conf.local that this entries will be survive the next update or upgrade.
But… I'm getting half the speed or less than I'm used to.
Normally I'm getting 100mbit - 120mbit (max 14,5 MB/s) with computers attached to my modem/router.
Now with the APU1D4 behind it I'm getting around 30mbit - 50mbit (max 5 MB/s).Without PowerD (high adaptive) enabled you will be able to get something around ~450 MBit/s
With PowerD (high adaptive) enabled you will be reaching something around ~650 MBit/s - 750 MBit/sWatch at the Dashboard and see what GHz for the CPU will be shown!
It's a standard install, no packages. WAN + LAN interfaces are configured.
Let it so as you will be able to have the best test numbers ever you will get!
I read the max throughput of the APU1D4 should be around 550mbit (depending on the packages installed, none in my case).
Have heard, were told me, someone says, and so on is not a real and fair test!
Please install on two PCs iPerf and then do the measuring with iPerf!What could be the problem?
Watch some line above and go with this tips and you would be lucky with this ones!
Did you check the interface speed? Maybe this is an autonegotiation issue?
This could be together with some Cisco switches and/or some modems used in Germany and the UK
usually. But it could be that this is in some rarely cases and also here the case too. -
Thanks for the help guys!
Did you check the interface speed? Maybe this is an autonegotiation issue?
My APU 1D runs at 70% CPU with 500Mbit throughput.
Both the interfaces (WAN + LAN) are set to: 1000baseT
@BlueKobold:
Ok and from where you got this box directly.
Miniserver: http://www.miniserver.it/firewall/apu-firewall-entry-level-3-nic-wifi.html
- Set up factory defaults
- Set in the APU BIOS console to 115200/N/8/1
- Set the Putty settings to 115200/N/8/1
pfSense came by defaults with this settings! So all future output will be read able
in the console or SSH session!
These were already done. Everything can be done in Putty
- Setting up the LAN interface
- Activating the PowerD (high adaptive)
- Activating the TRIM support if a mSATA is present and supporting TRIM also!
Please be carefully not all mSATAs or SSDs are supporting the TRIM command!
Please create also a loader.conf.local that this entries will be survive the next update or upgrade.
I have enabled PowerD now and set it to hi adaptive.
How can I create a loader.conf.local file?Without PowerD (high adaptive) enabled you will be able to get something around ~450 MBit/s
With PowerD (high adaptive) enabled you will be reaching something around ~650 MBit/s - 750 MBit/sWatch at the Dashboard and see what GHz for the CPU will be shown!
AMD G-T40E Processor
Current: 750 MHz, Max: 1000 MHz
2 CPUs: 1 package(s) x 2 core(s)Let it so as you will be able to have the best test numbers ever you will get!
Okido :)
Have heard, were told me, someone says, and so on is not a real and fair test!
Please install on two PCs iPerf and then do the measuring with iPerf!I understand. But what I mean with this is that if everyone says they could reach a 550mbit with this device and I'm getting a max of 50mbit there is something wrong. ;)
Watch some line above and go with this tips and you would be lucky with this ones!
I'm still getting irregular speeds. Mostly around 50 - 60mbit, sometimes it peaks to 100mbit. But sometimes it drops to 30mbit as well.
Could this problem be due to my network setup? See picture below. Of course this will not be my definite setup, I just set it up this was to test my APU before I put in in "production". -
what CPU load do you see on the dashboard when downloading at 50-60Mbit/s?
Did you check the Switch configuration for those ports?
Any VLANs configured?
-
No VLAN's, max 7% cpu load.
-
could you try connecting the firewall directly to the modem an test the throughput?
-
I have enabled PowerD now and set it to hi adaptive.
Ok
How can I create a loader.conf.local file?
/boot/loader.conf.local must be created by your self!
Not that we are talking here about two different things! The 650 MBit/s - 750 MBit/s
are measured with iPerf from on PC to another PC through the APU 1D4 and not with a
download, a so called speed test server in the Internet or else where! And this comes
really closer to the 500 MBit/s you are talking about.And let us now talk about MB/s and MBit/s please!!!
If you have a Internet connection with 120 MBit/s down the theoretically throughput is the following!
120 MBit/s (Megabit) : 8 Bit = 15 MB/s (Megabyte) because 8 Bit = 1 ByteSo and if you now telling us you got 15 MB/s throughput it is the theoretically top of 120 MBit/s
and all is fine on your side! -
I know the story about bits and bytes. ;)
I have a 120/12mbit per second connection which would make me download around 15mbyte per second.
But with the APU in front of it I'm getting 50-60mbit per second, so roughly around 6mbyte per second.
Which is half of my actual connection… -
is this related to my problem?
https://forum.pfsense.org/index.php?topic=98900.0
I can only download from the APU1D4 pfsense local squid cache at about 28 Megabytes per second (220mbps), before hitting 100% cpu load.
-
Thanks for the repy but I'm not using squid (yet). Only basic install without any packages.
-
What transfer speed are you getting from local pfsense to your pc? are you getting 550mbit?
-
I have put 1 pc in LAN port and 1 pc in OPT1 and started a iPerf3 test.
I'm hitting 550mbit on both sides. -
hmm only getting half of that
-
One common issue I've had with the APU1x series is high CPU load on the System side slowing things down. Open up SSH and use Putty to connect in. Once in, run top or top -aSH and look at the system pct up top. That might give a clue. Also, System->Networking it might be worth it to toggle Polling to see if that helps.
-
I have just reset the unit back to factory defaults and everything looks stable now.
Getting a solid 14,4mbyte per second now (without any packages etc) which should be the max of my connection (14,4 * 8 = 115,2mbit).So I think my problem is solved now.
Thanks for all the help!
-
hmm only getting half of that
With Squid installed it would narrow down the entire speed for sure, you should be
able to measuring the throughput like Panja was doing, plain install and then from port to port
between two PCs with iPerf.