last week I installed VyOS for the first time. I chose VyOS to replace OpnSense on my APU3C4 Board (AMD GX-412TC 1GHz, 4GB RAM, 60G mSATA). Sadly, the throughput isn’t much higher than on OpnSense (the main reason I switched). I receive a peak of around 690MBit/s in Downstream and around 500MBit/s in the upstream on speedtest.net. However, since i switched to VyOS I can’t establish an iperf3 session to my ISP. Local, from VyOS to my PC i have ~950Mbit/s with iperf3 and 4 parallel sessions. The firewall has only the default rules as mentioned in the documentation (NAT Masquerade and allow in if there is an outgoing connection first).The line itself is a 1Gbit/s FTTH Connection. This is the result after I applied the optimisation mentioned in this thread.
The APU Board has three ethernet ports provided by an Intel I211AT. ETH0 is the WAN interface for the PPPoE connection, ETH1+2 are configured as a Bond to my Cisco SG300 Switch. ETH0 and ETH1 have 4 HW queues, ETH2 has 2 of them:
ei8ht@brandwall:~$ ls /sys/class/net/eth0/queues/ rx-0 rx-1 tx-0 tx-1 ei8ht@brandwall:~$ ls /sys/class/net/eth1/queues/ rx-0 rx-1 tx-0 tx-1 ei8ht@brandwall:~$ ls /sys/class/net/eth2/queues/ rx-0 tx-0
Hi @Dmitry,
thanks for your reply.
I hope you don’t mind when I applied this statement also to the rx-1 queue of the interfaces. The following statement is in my /config/scripts/vyos-postconfig-bootup.script:
Hi @ei8ht, I think it is possible to disable some spectre patches to add some performance.
Try disable mitigations. Add mitigations=off to active bootable entry in /boot/grub/grub.cfg
In this case, it needs a reboot. These changes could add about 30% performance.