Advertisement IC Markets

Noisy neighbors on a shared server

Optimize MetaTrader 4, MetaTrader 5, cTrader, and TradingView for speed. Discuss Level II Market Depth (DOM), custom hotkeys, and volume indicators.
Post Reply
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Noisy neighbors on a shared server

Post by Fairman »

Noisy neighbors on a shared server

A cheap VPS shares physical hardware with other customers. If one neighbor runs something heavy, the others can feel it. The effect is called the noisy neighbor problem.

The symptom is variable performance. For an hour, everything runs smoothly. Then the platform lags, orders take longer, and CPU metrics show spikes that no process on the machine explains.

Providers differ in how they allocate resources. Some guarantee a share of CPU and memory. Others oversubscribe, selling more capacity than exists, on the assumption that not everyone uses it at once.

A metric called CPU steal time reveals the problem on Linux, and some Windows monitoring tools show something similar. It measures how much time the virtual machine wanted to run but had to wait.

For latency-sensitive trading, reliability matters more than peak speed. A dedicated or reserved-resource plan costs more but delivers steadier timing.

Testing helps: record the response time of a simple benchmark every minute for a day. A stable line is good. A line with random spikes is a warning.

Over a day, what does the VPS performance log look like, and are there spikes with no explanation?
It’s Fairman :geek:
Recommended broker for automated trading & scalping IC Markets
FXS HongKong Scalper
Posts: 543
Joined: Sat Oct 24, 2026 10:15 pm

Re: Noisy neighbors on a shared server

Post by FXS HongKong Scalper »

Fairman wrote: A metric called CPU steal time reveals the problem on Linux, and some Windows monitoring tools show something similar.
The variability is the giveaway. Monitoring "CPU steal" time on a Linux VPS, or comparing order latency at different times of day, shows if neighbours are the issue. Moving to a provider with dedicated cores usually costs a little more and removes that variable, which matters for anyone running EAs during busy hours.
FXS Official Team | Hong Kong Session Desk
Amanhasnoname
Posts: 2060
Joined: Fri Oct 30, 2026 9:45 am

Re: Noisy neighbors on a shared server

Post by Amanhasnoname »

I ran into this on a cheap VPS last spring, and the giveaway was that my order round trip would jump from about 40 ms to over 300 ms for twenty minutes at a time with nothing running on the box. Windows Task Manager showed nothing odd, which is what made it so annoying to chase down.

I started logging a ping to the broker server every minute into a text file and lined it up against my fills. The slow stretches clustered in the early evening European time, which pointed to other tenants rather than my own platform. A support ticket got me a vague answer, so I just moved.

The dedicated-core plan cost roughly nine dollars more per month, and the spread of my latency readings tightened to a few milliseconds either side of 35. For a scalper holding trades for a couple of minutes, that steadiness was worth far more than the extra headline speed I had paid for before.
Post Reply