Slow Download Speed virtualbox pfsense



  • Hi,
    I’m pretty new to this, so please correct me if I’m wrong. To begin, I have a 1gbs internet connection and I need to access pfsense web GUI remotely.

    My issues:

    Day 1 (FYI)
    I installed pfsense on an old 1 core Pentium pc.
    The setup was modem to pfsense to access point. The download speeds were below 50mbs. Therefore I went to system and enabled AES-NI. The download speed went up to 100mbs and so did the cpu usage that went to 80-100%.

    Conclusion:
    Weak cpu

    Day 2 (FYI)
    Bought a used thinkcenter desktop with an i5 2400.
    Setup up pfsense on it the speeds where 800mbs+

    Day 3
    Reseted the pc. Installed windows, VirtualBox and team viewer. After running into issues i bought a cheap router netgear wnr3500. The setup is modem > router > thinkcenter with the pfsense vm > ap
    AES-NI enable

    Issue:

    The download speed doesn’t go over 50mbs (even though have 4gb ram for this virtual machine, 4 cpus and every NICS are gigabyte).

    Thanks in advance


  • Netgate Administrator

    I assume you are running over a VPN of some sort since AES-NI will make no significant difference to normal traffic forwarding.

    How are you testing the throughput?

    What speed to you get from the Windows host through the Netgear directly?

    Steve



  • @stephenw10 Hi, through the host the download speed is 47mbs and through Linux which is on the LAN port of pfsense is 20-30mbs. I indeed have a vpn on pfsense.

    Thanks!



  • @stephenw10 to test speeds I simply open the browser and check for them on Speedtest. That’s how I tested in day 2 when pfsense was installed directly on the pc.


  • Netgate Administrator

    Ok well if the host can only get 50Mbps then VMs running in it are unlikely to get more.

    A bandwidth throttle that extreme usually points to a low level issue like a speed/duplex setting mismatch on an interface somewhere.

    Steve



  • @stephenw10 Hi I changed speed and duplex to 1000baseT and 1000baseT full duplex. Any of these didnt have an impact on the download speed of the host



  • @stephenw10 i've read somewhere that having 2 routers hooked up to each other isnt a good idea. I believe the problem lays there. Since the netgear is in between the modem and the host pc, the netgear might be the issue.
    Once I login to the Netgear web gui from the host and look at the IPs in "DHCP clients" section theres 2. 1 for the host and 1 for pfsense (on the VM). Could that be the issue?
    thanks!



  • @asphalt3 said in Slow Download Speed virtualbox pfsense:

    Hi I changed speed and duplex to 1000baseT and 1000baseT full duplex. Any of these didnt have an impact on the download speed of the host

    Not likely to either. Unless you have a specific reason not to, just leave it on autonegotiate.


  • Netgate Administrator

    @asphalt3 said in Slow Download Speed virtualbox pfsense:

    Once I login to the Netgear web gui from the host and look at the IPs in "DHCP clients" section theres 2. 1 for the host and 1 for pfsense (on the VM). Could that be the issue?

    Probably not. It depends how the hypervisor is configured but if the NIC is bridged to the pfSense VM then both that and the host would pull an IP from the upstream router.

    Running double NAT to some VM(s) behind pfSense in the virtual environment is not ideal but it should work fine.

    Steve


Log in to reply