A 10 Gbit/s port on a VPS: what is behind the figure and how to check it
The "10 Gbit/s" line in a plan describes the speed at which the virtual machine connects to the host's network, not the speed you are guaranteed to get to your users. Between your server and the outside world stand the node's shared uplink, the traffic limit, the virtual network card and TCP itself. Let's look at which of these limit the channel in practice and how to check a plan in the first hours of the rental.
Shared port and guaranteed bandwidth
The physical server your VPS lives on is usually connected to a switch by one or two 10–25 Gbit/s ports. The traffic of every virtual machine on the node goes through them, and there may be dozens. So "10 Gbit/s" on a VPS almost always means a shared port: you can briefly reach that speed if the neighbours are quiet, but nobody promises to sustain it.
Guaranteed (committed) bandwidth is stated separately, for example "10 Gbit/s port, 1 Gbit/s guaranteed". If there is no such caveat, treat the figure as a ceiling, not the norm. A dedicated 10 Gbit/s port with a full guarantee is found mainly on physical servers; look for those in the dedicated servers section. The difference from the more mass-market class of plans is easy to compare on the VPS with a 1 Gbit/s port page: the real speed there and here often turns out closer than the figures suggest.
The traffic quota runs out faster than it seems
At 10 Gbit/s one terabyte is transferred in roughly 13–14 minutes. A plan with a 2–3 TB monthly cap can be used up at this speed in less than an hour. So before buying, find out three things:
- whether only outbound traffic is counted or both directions;
- what happens after the quota: speed reduced to 100 or 10 Mbit/s, a charge for every extra terabyte, or suspension of the server;
- whether there are fair use rules under which constant channel load counts as a violation even on an "unlimited" plan.
If the server will really send out a lot of data rather than just receive it quickly, look at plans with unlimited traffic and read the terms on speed after the "unlimited" part carefully.
The virtual network card and the CPU
Even on a free port, a machine may fail to deliver 10 Gbit/s because of its own limitations:
- Adapter type. Paravirtualised virtio-net copes with such speeds; an emulated card such as the e1000 tops out at about 1 Gbit/s. The model is shown in the output of
ethtool -i eth0. The Speed field inethtool eth0proves nothing on a virtual machine: it can show any value or Unknown. - Queues and cores. Packet processing loads the CPU. On a single vCPU a stream of several gigabits often hits the limit of interrupt handling. The
ethtool -l eth0command shows how many queues are available; if there is more than one, spread the load across cores. - Latency and the TCP window. A single TCP stream over a long distance won't fill the channel without enlarged buffers: at 50 ms latency, about 60 MB of data must be in flight for 10 Gbit/s. Enlarged
net.core.rmem_maxandnet.ipv4.tcp_rmemvalues and the BBR algorithm help. - Disk. 10 Gbit/s is roughly 1.25 GB/s. A SATA SSD delivers about 0.5 GB/s, so serving files from disk requires NVMe; otherwise storage, not the network, becomes the bottleneck.
How to check the channel with iperf3
The most honest test is between two machines you control: for example, two VPS in the same data centre, or your server and a site whose channel is known to be wider. On one, run iperf3 -s, and on the other:
iperf3 -c address -t 30: a single stream, showing what an ordinary file download will get;iperf3 -c address -P 8 -t 30: eight parallel streams, closer to the port's limit;- the same run with the
-Rflag to check the reverse direction; outbound and inbound traffic are often limited differently.
Repeat the test during the day and in the evening: on a shared port the difference can be several times. Public iperf3 servers are fine for a rough estimate, but they are often limited and busy themselves. Watch the traffic counter during the tests: a dozen 30-second runs at full speed eat hundreds of gigabytes of quota.
Who really needs a 10 Gbit/s port: an origin for a CDN, repository mirrors, servers distributing large files, ingest of video streams and replication of backups between sites. For an ordinary website or a bot such a port adds almost nothing; latency to visitors matters more there.