All Products
Search
Document Center

Elastic Compute Service:Network performance FAQ

Last Updated:Aug 11, 2026

Performance testing

High bandwidth usage

Traffic anomalies

Performance optimization

Appendix

Test instance packet forwarding capability

For general packet forwarding test methods, see Network performance test methods. For the recommended packet forwarding test method for g7, c7, and r7 instances, see Use Pktgen to test network performance.

Packet loss rate for cross-region communication

For internet communication between ECS instances in different regions, the P99 packet loss rate per hour is less than 0.0001%.

Intra-zone network latency

Internal communication between ECS instances in the same zone of a region has the lowest latency. The P99 one-way latency between instances in the same zone is less than 180 microseconds (μs).

View the latency between different zones.

Connection performance for instances without specified limits

If the performance metrics for an instance family do not specify a connection limit, connection performance is not guaranteed for that instance family. Run a stress test on your workloads to understand the instance performance and select an appropriate instance type.

Note

An established connection has an aging time. It continues to occupy a connection slot until this time expires. Therefore, the number of occupied connections may be greater than the number of connections your workloads are using.

Unstable performance in UDP or TCP tests

Many factors can affect the results of a network performance test on an ECS instance, including common tuning methods such as Non-Uniform Memory Access (NUMA) topology adaptation, binding tasks to vCPUs, and binding interrupts to vCPUs.

For example, during a single-stream TCP bandwidth test, if the receiving task (such as a netserver process) and the network interface card (NIC) receive queue interrupt are bound to the same vCPU, the NIC triggers an interrupt that disrupts the receiving task when it receives a data frame. Frequent disruptions can cause unexpected test results. To resolve this issue, bind the receiving task and the NIC receive queue interrupt to different vCPUs. This approach leverages multiple vCPUs for better test results.

Public bandwidth fluctuation

The PayByBandwidth billing method guarantees the bandwidth value that you set. This bandwidth value is stable and does not fluctuate.

For the Pay-by-traffic billing method, the peak inbound and outbound bandwidths are unguaranteed upper limits. When resource contention occurs, the peak bandwidth may be limited. If your services require guaranteed bandwidth, use the PayByBandwidth billing method. For more information, see Network bandwidth.

Inbound traffic on new instances

This traffic is generated by Address Resolution Protocol (ARP) broadcast packets. Each ECS instance is assigned to a large network segment. In the same network segment, your new ECS instance receives a request message whenever an ECS instance sends an ARP broadcast to the gateway. However, your ECS instance does not respond if the request is not for its IP address.

Bandwidth discrepancy between Cloud Monitor and ECS console

An ECS instance can act as a backend server for a Server Load Balancer (SLB) instance and use the Layer-7 HTTP forwarding model. In this model, the SLB instance forwards client requests to the ECS instance. The ECS instance then responds to the client using its public bandwidth. The bandwidth for this response is not displayed in the ECS console because it is metered as part of the SLB instance's outbound traffic. This causes the discrepancy between the bandwidth shown in Cloud Monitor and the ECS console.

Outbound traffic from stopped instances

  • Symptom: In the Anti-DDoS Origin Basic console, an ECS instance has a Cleaning status, but the instance itself is Stopped. However, hourly fees are still incurred for its pay-by-traffic public bandwidth.

  • Cause: CC protection is enabled for the ECS instance. The security mechanism actively sends probe packets to detect attack sources, which can generate significant outbound traffic.

  • Solution: Disable CC protection. For more information, see Configure CC protection.

Disable the ECN feature on Windows

If you experience unstable network connectivity, slow network speeds, or abnormal application behavior after you enable Explicit Congestion Notification (ECN), you can disable ECN to restore network stability.

  1. Log on to an ECS instance.

    1. Go to ECS console - Instances. In the top-left corner, select the region and resource group for the target instance.

    2. Navigate to the details page of the target instance. Click Connect and select Workbench. Set the connection method to Terminal Connection, enter your username and password, and log on to the graphical terminal.

  2. In the taskbar search box, enter PowerShell and run it.

  3. Disable the ECN capability.

    netsh interface tcp set global ecncapability=disabled
  4. Verify that ECN is disabled.

    netsh interface tcp show global

    The command output shows that the value of ECN Capability is disabled.

Maximum bandwidth of an ECS instance

ECS bandwidth includes internal bandwidth and public bandwidth.

  1. Internal bandwidth: The internal bandwidth of an ECS instance depends on its instance type. For details, see the basic network bandwidth metric in the Instance family list.

  2. Public bandwidth: If you use a static public IP address, the maximum bandwidth is 200 Mbit/s for the pay-by-bandwidth billing method and 100 Mbit/s for the pay-by-traffic billing method. The actual limit is shown on the purchase page. For more information, see Modify the bandwidth of a subscription instance. If the peak bandwidth of a static public IP address does not meet your business needs, you can use an Elastic IP Address with Internet Shared Bandwidth.