<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Slow internet access within VM]]></title><description><![CDATA[<p dir="auto">I'm running into an issue that I can't really explain and I'm hoping someone here can help point me in a direction to investigate as to what's going on. I have a pretty basic setup and I'll list the important bits below:</p>
<ul>
<li>I have a server box running VMWare ESXi 6.5 where pfSense 2.6 is running in its own VM and another VM running Ubuntu server</li>
<li>pfSense VM is configured with 2-core CPU, 2GB of RAM, 16GB hard drive and 2 network adapters (WAN/LAN) both using the VMXNET 3 driver</li>
<li>internet modem (providing 1.5Gbps) is in bridge mode and connected to one of the physical network ports of the server (gigabit, builtin to the motherboard)</li>
<li>dumb 8-port switch connected to the other physical network port on the server (also gigabit, builtin to the motherboard)</li>
</ul>
<p dir="auto">What I'm seeing is as follows:</p>
<ul>
<li>laptop connected straight to the modem using ethernet I get close to 1gbps (high 900s) when using speedtest</li>
<li>laptop connected to the dumb switch mentioned above also gets close 1gbps using speedtest</li>
<li>running the speedtest cli python package on both the pfsense VM and ubuntu VM results in speeds of 200-400 mbps; this is confirmed by trying to download anything on the Ubuntu VM maxes out to 30-40MBps</li>
<li>I ran iperf tests between my laptop (connected with ethernet to the dumb switch) and the ubuntu and pfSense VMs and I get 1gbps; iperf tests between the pfSense and ubuntu VMs also results in 1gbps</li>
<li>cpu never gets close to even 50% on the pfSense vm</li>
</ul>
<p dir="auto">The iperf test leads me to believe that the network infrastructure on my LAN is capable of 1gbps. What I really don't understand is how can I get close to 1gbps to the internet using my laptop connected to the switch on my LAN but nowhere close to that when running straight from either of my VMs to the internet.  Everything should be routed through the pfSense VM so I can't explain how the connection from my laptop to the internet isn't affected.</p>
<p dir="auto">Any help here would be really appreciated.</p>
]]></description><link>https://forum.netgate.com/topic/180892/slow-internet-access-within-vm</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 12:33:37 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/180892.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Jun 2023 14:44:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Slow internet access within VM on Mon, 19 Jun 2023 15:07:49 GMT]]></title><description><![CDATA[<p dir="auto">Mmm, that is old but still. One 3GHz core would usually be enough. If it's actually running at 3GHz....</p>
]]></description><link>https://forum.netgate.com/post/1111230</link><guid isPermaLink="true">https://forum.netgate.com/post/1111230</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Mon, 19 Jun 2023 15:07:49 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Mon, 19 Jun 2023 14:37:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10">@<bdi>stephenw10</bdi></a> said in <a href="/post/1111202">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto">You will need to set the tunable to get multiqueue on the vmx NICs:<br />
<a href="https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#vmware-vmx-4-interfaces" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#vmware-vmx-4-interfaces</a></p>
<p dir="auto">I would still expect to have seen better than 320Mbps though unless the per core speed is low.</p>
<p dir="auto">Steve</p>
</blockquote>
<p dir="auto">Thank you so much for that link, massive improvement just from that. I'm now seeing 600-800 Mbit/s with speedtest running on both the pfsense VM and also my ubuntu VM. That's much closer to what I'd expect to be getting.</p>
<p dir="auto">My server is really old and it has an i7 950 @ 3.07GHz but thought it should be good enough for this purpose. The pfsense VM is currently configured with two virtual cpus; I'm not sure if giving it more CPUs would make a difference after making this change, but I can experiment with that.</p>
]]></description><link>https://forum.netgate.com/post/1111227</link><guid isPermaLink="true">https://forum.netgate.com/post/1111227</guid><dc:creator><![CDATA[punchy]]></dc:creator><pubDate>Mon, 19 Jun 2023 14:37:55 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Mon, 19 Jun 2023 12:52:38 GMT]]></title><description><![CDATA[<p dir="auto">You will need to set the tunable to get multiqueue on the vmx NICs:<br />
<a href="https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#vmware-vmx-4-interfaces" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#vmware-vmx-4-interfaces</a></p>
<p dir="auto">I would still expect to have seen better than 320Mbps though unless the per core speed is low.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/post/1111202</link><guid isPermaLink="true">https://forum.netgate.com/post/1111202</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Mon, 19 Jun 2023 12:52:38 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Sat, 17 Jun 2023 22:11:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/punchy">@<bdi>punchy</bdi></a> said in <a href="/post/1111057">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto">switch that my server's LAN port is connected to? If that's the case</p>
</blockquote>
<p dir="auto">No - you need to test actually routed through pfsense..</p>
<p dir="auto">laptop -switch - lan (pfsense) wan -- modem -- internet</p>
<p dir="auto">You need to test what pfsense can actually route.</p>
<p dir="auto">Pfsense is not meant to be a client in a speed test.. its a "router"  if you want to test what speed you get then route through it.. Don't use it as some client..    If you have a beefy enough pfsense box or slow enough internet, its possible you can see your full internet speed running the cli.. But its also possible you won't see what it can do via routing the packets vs trying to actually process them..</p>
<p dir="auto">While its fine to validate your seeing traffic, or once you know what is full speed for the cli after you have validating your routing at full speed, etc..</p>
<p dir="auto">But I would not take cli running on pfsense as same as you would see when routing.</p>
]]></description><link>https://forum.netgate.com/post/1111062</link><guid isPermaLink="true">https://forum.netgate.com/post/1111062</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sat, 17 Jun 2023 22:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Sat, 17 Jun 2023 20:50:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnpoz">@<bdi>johnpoz</bdi></a> said in <a href="/post/1111038">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/punchy">@<bdi>punchy</bdi></a> said in <a href="/post/1111028">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto">cli python package on both the pfsense VM and ubuntu VM results in speeds of 200-400 mbps</p>
</blockquote>
<p dir="auto">This while a test, really isn't a valid way to test what the pfsense vm can route/firewall - you need to route through this vm with your speedtest client to validate it can route/firewall at the speed your isp provides.</p>
</blockquote>
<p dir="auto">Would the following test cover what you're proposing: laptop connected with ethernet to the same switch that my server's LAN port is connected to? If that's the case, then I've done that test at I'm getting close to gigabit speeds using speedtest in the browser.</p>
<p dir="auto">I do wonder though, what sort of issues do you see with using the speedtest cli command on one of the VMs to test my internet throughput? I'd expect that to be bottlenecked only by virtual network infrastructure, but for some reason the internet speeds are almost a third of what I'd be expecting.</p>
]]></description><link>https://forum.netgate.com/post/1111057</link><guid isPermaLink="true">https://forum.netgate.com/post/1111057</guid><dc:creator><![CDATA[punchy]]></dc:creator><pubDate>Sat, 17 Jun 2023 20:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Sat, 17 Jun 2023 16:37:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/punchy">@<bdi>punchy</bdi></a> said in <a href="/post/1111028">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto">cli python package on both the pfsense VM and ubuntu VM results in speeds of 200-400 mbps</p>
</blockquote>
<p dir="auto">This while a test, really isn't a valid way to test what the pfsense vm can route/firewall - you need to route through this vm with your speedtest client to validate it can route/firewall at the speed your isp provides.</p>
]]></description><link>https://forum.netgate.com/post/1111038</link><guid isPermaLink="true">https://forum.netgate.com/post/1111038</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sat, 17 Jun 2023 16:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Sat, 17 Jun 2023 15:31:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nollipfsense">@<bdi>NollipfSense</bdi></a> thanks for the reply. All my network gear maxes out at 1gbps, so I don't expect to be getting anywhere close to the 1.5gbps that my internet connection provides (though fast.com did report 1.2-1.3gbps).</p>
<p dir="auto">I only have two network ports on my server, both on the motherboard. They're configured in VMWare without any pass through, the VMs are getting virtual interfaces. The modem is connected to one of the network ports, and the switch is connected to the other. The switch is what everything else in my network connects to (that is outside the VMs). This is the configuration I used during the test and daily as well. The only time I had a different configuration is when I connected my laptop directly to the modem, but otherwise it's the same test setup.</p>
]]></description><link>https://forum.netgate.com/post/1111035</link><guid isPermaLink="true">https://forum.netgate.com/post/1111035</guid><dc:creator><![CDATA[punchy]]></dc:creator><pubDate>Sat, 17 Jun 2023 15:31:56 GMT</pubDate></item><item><title><![CDATA[Reply to Slow internet access within VM on Sat, 17 Jun 2023 15:06:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/punchy">@<bdi>punchy</bdi></a> said in <a href="/post/1111028">Slow internet access within VM</a>:</p>
<blockquote>
<p dir="auto">laptop connected straight to the modem using ethernet I get close to 1gbps (high 900s) when using speedtest</p>
</blockquote>
<p dir="auto">It seems like you should be getting more here...like 1450gbps. Never used ESXI for pfSense but I know for Proxmox/pfSense VM, it's important for WAN/LAN to passthrough. Is the switch, when testing, connected directly to pfSense LAN?</p>
]]></description><link>https://forum.netgate.com/post/1111031</link><guid isPermaLink="true">https://forum.netgate.com/post/1111031</guid><dc:creator><![CDATA[NollipfSense]]></dc:creator><pubDate>Sat, 17 Jun 2023 15:06:22 GMT</pubDate></item></channel></rss>