# Noisy Neighbors in Cloud Hosting: Diagnose Before Migrating

> URL: https://www.atlantic.net/cloud-platform/noisy-neighbors-cloud-hosting/ | Published: 2026-12-04 | Updated: 2026-11-30 | Author: Dr. Tehseen Zia

An application that answers in 40 ms at 10:00 and 400 ms at 10:20, with no deployment in between, is one of the more frustrating problems in cloud operations. The code hasn’t changed, traffic looks normal, and the p99 latency graph still shows a sudden shift that is difficult to explain. In such situations, one of the first suspects is often a *noisy neighbor* on the same physical host. Sometimes that diagnosis is correct. Shared virtual machines run on hardware that other tenants also use, and a busy workload on the same host can take CPU time, cache, memory bandwidth, or storage I/O that your instance was counting on. Noisy neighbors are also a convenient explanation for problems that have nothing to do with other tenants. An undersized instance, a cgroup limit, a slow query introduced last week, or a saturated database connection pool can all produce the same symptoms.

The cost of wrong guessing can be high. Moving a workload to bare metal takes planning, migration time, and budget. If the actual bottleneck is a missing index or a burst-credit limit, the new server will show the same latency spikes, only on more expensive hardware. This article sets out a practical way to investigate inconsistent cloud performance. It explains how to separate host contention from more common causes, what evidence to collect and how to align it in time, what to bring to your hosting provider, and how to decide between tuning, resizing, [dedicated vCPU capacity](https://www.atlantic.net/dedicated-server-hosting/shared-vs-dedicated-vcpu/), and [dedicated or bare metal servers](https://www.atlantic.net/dedicated-server-hosting/).

## What The Noisy Neighbor Problem And Host Contention Look Like From Inside A VM

Host contention happens when several virtual machines on one physical server want the same resource at the same moment, and the hypervisor cannot meet all their demands. On shared vCPU plans, providers typically allocate more vCPUs than available physical threads. This approach relies on the assumption that most virtual machines remain idle for much of the time. When several guests become active simultaneously, the hypervisor must schedule their workloads, which can cause delays in CPU execution. Resource contention is not limited to CPU time. Virtual machines may share several components of the underlying infrastructure, including:

- **CPU time.** Your vCPU may be ready to execute instructions, but the hypervisor has scheduled another virtual machine on the physical thread.
- **Shared CPU cache and memory bandwidth.** Even with reserved cores, a tenant streaming large data sets can compete for shared cache and memory bandwidth.
- **Storage I/O.** Virtual machines often share the same storage array or local SSD pool. Heavy write activity from another tenant can increase I/O latency and delay your own read and write operations.
- **Network.** Physical network interface cards (NICs), top-of-rack switches, and uplinks are shared across multiple tenants. Heavy network traffic can consume available bandwidth, while packet processing on the host also competes for CPU resources.

From inside a virtual machine, you cannot directly observe the activity of other tenants sharing the physical host. You can monitor the symptoms that resource contention may leave behind. These include elevated CPU steal time, growing CPU run queues despite moderate utilization within your instance, increased I/O latency without a corresponding change in your own I/O activity, and request latency that fluctuates more than your workload would normally suggest. Each indicator provides a useful diagnostic clue, but none is sufficient on its own to establish the underlying cause.

## Rule Out The Common Causes First

In practice, inconsistent cloud performance is often caused by issues within the tenant’s own environment rather than contention on the underlying physical host. Investigate these possibilities first, before treating noisy neighbors as the likely explanation. They are generally easier to identify, require less effort to investigate, and are often less expensive to resolve.

### An Undersized Instance

An instance operating at 85–95% CPU utilization during normal peak periods has little headroom to absorb additional demand. Even a modest increase in traffic can create processing queues, causing latency to rise sharply. The pattern is usually consistent: performance slowdowns coincide with increases in your own workload, and your processes account for most of the CPU consumption.

Memory pressure can cause similar problems. As available memory decreases, the page cache shrinks, and the kernel may need to reclaim memory more aggressively. This can lead to additional disk reads and increased response times. If performance degradation closely follows your application’s traffic patterns, the instance is likely undersized for the workload, regardless of what other tenants are doing on the physical host.

### Resource Limits And Throttling

Resource limits are easy to overlook because their effects often become apparent only when an application reaches its allocated capacity. Several types of limits can cause performance degradation without any involvement from neighboring tenants:

- **Container CPU quotas:** In Kubernetes and Docker, CPU limits enforced through the Completely Fair Scheduler (CFS) quota can throttle a process once it consumes its allocated CPU time within a scheduling period. The process may then have to wait until the next period before it can use additional CPU time. Check the `nr_throttled` and `throttled_usec` values in the cgroup’s `cpu.stat` file to identify CPU throttling.
- **Burstable instance credits:** Some cloud plans allow instances to exceed their baseline CPU allocation for short periods using accumulated credits. On plans that enforce a CPU credit limit, exhausting those credits can reduce performance to the baseline allocation. Other plans allow continued bursting, potentially with additional charges. On credit-limited plans, depletion can cause sudden, sustained slowdowns after a period of high activity.
- **Storage IOPS or throughput caps:** Network-attached storage volumes often have defined limits on input/output operations per second (IOPS) and throughput. When a workload reaches these limits, I/O wait times and application latency can increase, even when the underlying host has no resource contention.
- **Application and OS limits:** Thread pools, worker counts, file descriptor limits, and database connection pools can all restrict the number of operations handled concurrently. When these limits are reached, requests begin to queue, creating symptoms that can easily be mistaken for infrastructure-level performance problems.

### Application Changes

Compare the slowdown timeline with your deployment log, configuration changes, dependency upgrades, cron jobs, backups, and cache expiry patterns. A new ORM query, a runtime upgrade that changes garbage collection, or a resource-intensive report running during business hours can cause unexpected latency spikes that look like an external infrastructure problem. Application Performance Monitoring (APM) traces and profiling tools can help identify these issues by showing where processing time is being spent.

### Database And Network Problems

A database may be responsible for slow application responses. The underlying cause could be lock contention, a missing index, an autovacuum operation, replication lag, or an exhausted connection pool rather than resource contention on the physical host. Network-related issues, such as slow external API responses, DNS resolution delays, or packet loss, can also increase request latency while the application server remains largely idle.

Distributed tracing can help distinguish these problems from host-level bottlenecks. If traces show that most of a slow request’s execution time is spent waiting for a database query or downstream service, the web server’s physical host is unlikely to be the source of the slowdown.

## Collect Time-Aligned Evidence

Once the common causes have been investigated, the next step is to build a record of what happened and when. Time correlation is essential. A latency spike at 14:02 is difficult to explain unless CPU, memory, storage I/O, network activity, and application load are examined over the same period.

No single metric can establish the source of resource contention. High CPU steal time indicates that a virtual CPU was ready to run but had to wait for access to a physical CPU. It does not establish whether the delay was caused by another tenant’s workload, hypervisor activity, or other scheduling demands on the host. Similarly, increased I/O latency could result from another tenant’s storage activity, a burst of writes from your own application, or maintenance operations within the storage infrastructure.

A convincing diagnosis requires multiple independent indicators that point to the same problem. The evidence becomes stronger when these signals appear together during performance degradation, while your own workload and resource consumption remain relatively stable.

### Application-Level Signals

Start by examining the metrics that reflect the application’s performance from the user’s perspective:

- **Latency percentiles (p50, p95, and p99):** Monitor response times for individual endpoints rather than relying on averages alone. Resource contention often affects tail latency first, increasing p95 and p99 response times before affecting the median.
- **Throughput:** Track requests or transactions per second to determine whether performance degradation coincides with increased application load.
- **Error and timeout rates:** Monitor failed requests, timeouts, and queue depths for background workers to see whether delays affect other parts of the application.
- **Per-request traces:** Use distributed tracing to break down request processing time across application code, database queries, and external service calls. This helps identify where requests spend most of their time and whether the slowdown originates within the application or one of its dependencies.

### CPU Signals

Monitor the following CPU metrics to identify possible scheduling delays and determine whether your own workload is responsible for the slowdown:

- **CPU steal time:** Available as `st` in `top` and `vmstat`, or in the steal-time field of `/proc/stat`, this metric records the time a virtual CPU was ready to execute but had to wait while the hypervisor scheduled other work. Occasional low values are normal on shared hosting plans. Sustained or recurring increases that coincide with latency spikes need further investigation.
- **Run queue length and load average:** Compare the number of runnable processes and system load average with the number of available vCPUs. A growing run queue while user and system CPU utilization remain relatively moderate can indicate scheduling delays.
- **Per-process CPU usage:** Monitor individual processes to determine whether your application’s own CPU consumption has changed. This helps establish whether increased resource demand within your workload explains the observed performance degradation.

### Pressure Stall Information

On modern Linux kernels, [Pressure Stall Information (PSI)](https://docs.kernel.org/accounting/psi.html) is one of the most useful tools for identifying resource contention from inside a virtual machine. Rather than reporting how busy a resource is, PSI reports how much time tasks spent waiting for CPU, memory, or I/O resources. It exposes three system-level files:

`/proc/pressure/cpu`

`/proc/pressure/memory`

`/proc/pressure/io`

Each file contains two key indicators: `some` and `full`. The `some` line reports the percentage of time during which at least one non-idle task was stalled. The `full` line reports the percentage of time during which all non-idle tasks were stalled simultaneously. The `avg10`, `avg60`, and `avg300` fields show average stall percentages over the preceding 10, 60, and 300 seconds, respectively.

The `total` field records cumulative stall time in microseconds. Sampling this value at regular intervals can help identify short-lived spikes that might otherwise be smoothed out by the rolling averages. One important distinction is that system-wide CPU `full` pressure is not defined and is reported as zero. With cgroup v2, PSI metrics are also available for individual workloads through `cpu.pressure`, `memory.pressure`, and `io.pressure`, making it possible to identify which services are experiencing resource pressure.

PSI does not identify the underlying cause of a delay. When analyzed alongside CPU steal time and resource utilization, it provides useful evidence for distinguishing between a process that is actively consuming available CPU resources and one that is spending time waiting for access to them.

### Memory, Storage, Network, And Shared Resources Signals

In addition to CPU metrics, monitor memory, storage, and network activity to identify other sources of resource pressure:

- **Memory:** Track available memory, page faults, swap activity, and memory reclaim rates. Increasing swap usage or frequent memory reclamation can indicate memory pressure that affects application response times.
- **Storage:** Monitor I/O wait, average I/O request latency, including queueing and service time (the `await` metric in `iostat -x`queue depth, IOPS, and throughput. Compare changes in storage latency with your own I/O activity to determine whether delays are proportional to the workload or occur unexpectedly.
- **Network:** Track packet retransmissions, dropped packets, round-trip times to critical dependencies, and throughput across individual network interfaces. These metrics can help identify network congestion, packet loss, or connectivity issues that contribute to inconsistent application performance.

### Make The Record Reproducible

Collect performance metrics at a sampling frequency that captures the behavior you are investigating. One-minute averages can easily hide stalls lasting only a few seconds, so use 10-second intervals or finer during an investigation. Ensure that all relevant hosts are synchronized using NTP so that timestamps can be accurately correlated across systems. Maintain records for at least several days, including periods of both high and low activity, to establish a reliable performance baseline.

Running lightweight, controlled synthetic tests at fixed intervals can provide additional evidence. For example, you can periodically execute a consistent CPU or `fio` storage test to measure performance under repeatable conditions. Run intensive benchmarks in a dedicated test environment where possible, as they can affect production workloads. If the same benchmark takes noticeably longer at certain times, even though your production workload remains unchanged, this suggests contention for shared resources is creating latency you may need to mitigate. Such delays can affect application responsiveness, while network congestion or packet loss may also prevent clients from connecting promptly.

## Reading The Evidence

Table 1 summarizes the signals that usually accompany each cause. Real incidents rarely match one row perfectly, so treat it as a guide to where to look next, not a verdict.

Table 1: Typical evidence patterns for inconsistent cloud performance

| Likely cause | What latency does | What your own load does | Supporting signals |
| --- | --- | --- | --- |
| Undersized instance | Rises with traffic peaks | High, tracks the slowdown | High user CPU, long run queue, CPU pressure during peaks, little steal |
| Container or cgroup limit | Periodic stalls under load | Moderate to high | Rising `nr_throttled` in `cpu.stat`, cgroup CPU pressure, host-level CPU not saturated |
| Burst credits or IOPS cap | Deteriorates after sustained activity or when limits are reached | Unchanged or higher | Credit balance exhausted, or IOPS and throughput approaching provisioned limits while I/O latency and queue depth increase. |
| Application change | Steps up after a specific date | Unchanged | Matches a deploy or config change, visible in traces or profiles |
| Database or downstream | Slow only on certain endpoints | Unchanged | Traces show time in DB or external calls, lock waits, pool exhaustion |
| Possible host contention | Spikes at times unrelated to traffic | Unchanged or low | Steal time and CPU or I/O pressure rise together; fixed benchmarks slow down at the same moments; the effect persists after the above are ruled out. |

The last row is deliberately cautious. Even when every signal points outward, the evidence from inside a guest shows that your workload lost access to resources. It cannot show which other workload took them. That final step requires the provider.

## Taking The Evidence To Your Hosting Provider

A support ticket stating that “the server is slow and we suspect a noisy neighbor” gives the hosting provider very little information to investigate. A ticket supported by time-aligned performance metrics and reproducible evidence provides a much stronger basis for identifying the problem. Before contacting your provider, prepare the following information:

1. **Instance details.** Include the server name or ID, hosting plan, region or data center, and the allocated vCPU, memory, and storage configuration.
2. **Incident timelines.** Record the exact start and end times of each performance incident in UTC. Include several periods of normal operation for comparison.
3. **Application performance impact.** Provide p95 and p99 latency, request throughput, and error rates for both affected and normal periods.
4. **Guest-level resource metrics.** Include CPU steal time, PSI measurements for CPU, memory, and I/O, run queue length, disk latency, and network retransmissions. Where possible, attach both graphical representations and the underlying raw data.
5. **Evidence of stable workload conditions.** Show whether request volume, per-process CPU consumption, and storage I/O remained consistent during the affected periods. This helps establish that the slowdown was not caused by an increase in your own workload.
6. **Benchmark results.** Provide results from repeatable synthetic tests showing whether identical workloads took longer to complete during the affected periods.
7. **Causes already investigated.** Document the checks performed to rule out recent deployments, resource limits, exhausted burst credits, database bottlenecks, and downstream service issues. Briefly explain how each possibility was investigated.

Several important questions can only be answered by the hosting provider. These include the physical host’s CPU and memory utilization, hypervisor-level CPU ready or wait times for individual guests, vCPU placement across physical cores, and the host’s CPU oversubscription ratio. The provider can also investigate storage array latency, ongoing rebuild operations, network switch utilization, and any maintenance activities, live migrations, or hardware faults that may have coincided with the reported incidents.

Although providers will generally not disclose information about other customers sharing the infrastructure, they can often confirm whether host-level resource contention occurred during the reported time windows. Based on their findings, they may recommend moving the instance to a less congested host, upgrading to a dedicated vCPU plan, or migrating to a dedicated or bare metal server.

## A Sensible Sequence Of Decisions

There are several ways to address inconsistent cloud performance, ranging from straightforward, low-cost adjustments to more expensive infrastructure changes. The best approach is to consider them in order of cost, effort, and operational disruption. Each step either resolves the problem or provides better evidence for the next.

### Step 1: Tune What You Control

If the evidence points to resource limits, application changes, or database bottlenecks, address these issues first. Where CPU throttling is confirmed, adjust or remove container CPU limits as appropriate. Review thread and database connection pool configurations, add missing database indexes, move resource-intensive batch jobs outside peak hours, and introduce caching where repeated processing can be avoided. These improvements require engineering effort rather than additional infrastructure spending. More importantly, they can improve performance regardless of the hosting platform.

### Step 2: Resize The Instance

If the workload is simply larger than the instance, consider increasing vCPUs or memory. A useful way to assess this option is to resize the instance temporarily and repeat the same performance measurements under comparable workload conditions.

If the latency spikes disappear and CPU steal time remains low, insufficient instance capacity may have been the underlying problem. Resizing can also change physical host placement, so the improvement does not conclusively establish the original cause. If the spikes persist at similar times, accompanied by comparable steal time and resource pressure, host contention becomes a stronger possibility. In such cases, simply adding more vCPUs or memory may not deliver the expected improvement, particularly when the additional resources still depend on an already congested physical host.

### Step 3: Move To Dedicated vCPU Capacity

When the evidence points to CPU contention on a shared host, moving to a [dedicated vCPU instance](https://www.atlantic.net/dedicated-server-hosting/shared-vs-dedicated-vcpu/) is often the next logical step. Unlike shared vCPU plans, dedicated vCPU instances provide reserved or guaranteed CPU capacity, according to the provider’s allocation model, reducing exposure to CPU oversubscription. This can significantly reduce CPU steal time and scheduling variability, resulting in more predictable performance.

You also retain the flexibility of virtualized infrastructure, including features such as snapshots and rapid instance resizing. If repeated increases in vCPUs or memory still leave noisy neighbor issues and unpredictable performance on shared infrastructure, a VPS with guaranteed resources may be a better use of money than incremental upgrades. For many production APIs and database workloads, dedicated vCPU capacity can deliver the performance consistency needed without the additional cost of migrating to physical hardware.

### Step 4: Consider A Dedicated Host Or Bare Metal

Moving to bare metal becomes a worthwhile option when performance variability remains a concern despite switching to dedicated vCPUs, or when the workload requires a level of hardware isolation and control that virtualized infrastructure cannot provide. Common reasons include sustained, high-volume I/O workloads that benefit from dedicated storage resources, memory-bandwidth-intensive analytics, software licensing tied to physical CPU cores, compliance requirements for single-tenant hardware, or the need for specific CPU, NVMe, or RAID configurations.

A [dedicated server](https://www.atlantic.net/dedicated-server-hosting/) eliminates other tenants from the physical machine and provides direct access to its hardware resources. This gives you greater control over the computing environment, more predictable resource availability, and the flexibility to configure the hardware around your workload requirements.

Table 2: Comparing the remedies

| Option | What it addresses | What it does not address | Relative cost and effort |
| --- | --- | --- | --- |
| Tuning | Limits, inefficient code and queries, pool sizing, scheduling | Genuine host contention, hardware ceilings | Low infrastructure cost, engineering time |
| Resizing | Insufficient CPU or memory for the workload | Contention on the host, shared storage and network | Moderate, quick to test and reverse |
| Dedicated vCPU | CPU oversubscription and most CPU steal | Shared storage, network, cache and memory bandwidth effects | Moderate, minimal migration |
| Dedicated host or bare metal | All other-tenant contention on the server, hardware choice, isolation requirements | Application bottlenecks, external dependencies, network beyond the server | Highest, requires migration and capacity planning |

## What Bare Metal Will Not Fix

Moving to a single-tenant server eliminates other tenants competing for CPU, memory bandwidth, and local disk resources on the same physical machine. It does not eliminate every shared dependency or resolve performance bottlenecks caused by application design and configuration. Before committing to a migration, consider which of the following issues could persist even after the move:

- **Network paths**: Your traffic still travels through shared switches, routers, and internet links. As a result, latency when communicating with end users, third-party APIs, and payment gateways may remain largely unchanged.
- **Shared or remote storage**: If your dedicated server relies on network-attached storage, shared backup targets, or object storage, those services may continue to introduce contention and latency.
- **Managed services and external databases**: Databases hosted outside your server, SaaS dependencies, and external DNS providers have their own capacity constraints and performance characteristics. Moving your application to bare metal will not remove these limitations.
- **Single-threaded application bottlenecks**: Applications constrained by a single thread, a global lock, or a single queue consumer cannot automatically benefit from additional CPU cores. A higher clock speed may help, but adding more cores alone will not address the underlying limitation.
- **Database design**: Lock contention, inefficient indexing, and long-running transactions remain database-level problems regardless of the underlying hardware.
- **Contention within your own infrastructure**: On a dedicated server, resource contention can still arise between your own services. Running a database, cache, and resource-intensive batch jobs on the same machine can create competition for CPU, memory, and storage resources. The same monitoring and diagnostic techniques remain relevant.

Bare metal also introduces additional operational responsibilities. Scaling capacity generally takes longer than resizing a virtual machine, so infrastructure requirements must be anticipated and planned. Managed dedicated server options can reduce much of this operational burden, but the additional responsibilities and costs should still be considered when evaluating a migration.

## Atlantic.Net Options For Each Stage

Atlantic.Net offers several infrastructure options to support workloads at different stages of this decision process, allowing businesses to move to a more suitable hosting environment as their performance and resource requirements evolve.

- **Cloud VM hosting.** A good fit for development and testing environments, smaller websites, and workloads with variable or bursty CPU requirements. It offers cost-effective virtualized infrastructure where flexibility and affordability are more important than strict performance consistency.
- **Dedicated vCPU capacity.** Suitable for production APIs, busy databases, CI/CD runners, and latency-sensitive applications that require predictable CPU availability while retaining the flexibility of virtual machines. The [shared vs. dedicated vCPU guide](https://www.atlantic.net/dedicated-server-hosting/shared-vs-dedicated-vcpu/) provides further details on the differences and trade-offs.
- **Dedicated hosts.** Provide an entire physical hypervisor node for your virtual machines. This removes other tenants from the underlying hardware while allowing you to retain a virtualized environment and its associated management capabilities.
- **Dedicated and bare metal servers.** For workloads requiring direct access to single-tenant hardware, [Atlantic.Net’s dedicated and bare metal servers](https://www.atlantic.net/dedicated-server-hosting/) offer Intel Xeon and AMD EPYC processors, SSD and NVMe storage, and hardware RAID options. Servers are available in New York, San Francisco, Ashburn, Dallas, and Orlando, with both managed and unmanaged service options. Atlantic.Net undergoes independent SOC 2 audits and offers SOC 3 reporting. Its hosting options can support HIPAA and PCI DSS requirements when configured and managed appropriately; compliance also depends on the customer’s own controls and responsibilities.

Atlantic.Net’s US-based support team is available 24/7 to help assess performance requirements, review collected diagnostic evidence, and determine whether resizing an instance, moving to dedicated vCPU capacity, or deploying a physical server is the most appropriate solution.

## Conclusion

Noisy neighbors are a genuine cause of inconsistent cloud performance, but they should not be the first explanation you investigate. Start by checking your instance capacity, resource limits, application changes, and external dependencies. Then collect time-aligned performance data and share it with your hosting provider when the evidence points to a problem beyond your own environment.

A systematic approach helps you move from application tuning and instance resizing to dedicated vCPU capacity and, only when necessary, bare metal. Following this sequence keeps infrastructure costs proportionate to actual requirements and avoids unnecessary migrations. More importantly, when a move to dedicated hardware becomes necessary, you will clearly understand the performance problem it is intended to solve.
