Skip to main content

GCP kTLS Results

Setup

  • Platform: GCP c4-highcpu (Xeon Platinum 8581C)
  • Region: europe-west4-a
  • TLS: HD with kTLS, TS with Go crypto/tls
  • Clients: 4 x c4-highcpu-8, 5 peers each
  • Configs: 2, 4, 8, 16 vCPU

Summary

ConfigHD Peak (Mbps)HD LossTS Ceiling (Mbps)TS Loss @ HD PeakHD/TS
2 vCPU (1w)3,7301.65%1,87092%10.8x
4 vCPU (2w)6,0911.97%2,79874%3.5x
8 vCPU (4w)12,3160.68%4,67044%2.7x
16 vCPU (8w)16,5451.51%7,83417%2.1x
Peak throughput across all configs

Rate Sweeps

2 vCPU (1 worker)

RateHD (Mbps)+/-CIHD LossTS (Mbps)TS LossRatio
1G87100.00%8700.00%1.0x
2G1,74100.00%1,7181.36%1.0x
3G2,61200.00%1,87028.28%1.4x
5G3,536631.35%32492.43%10.9x
7.5G3,730771.65%34792.34%10.8x

At 2 vCPU TS collapses above 3G offered -- the Go runtime consumes the entire CPU budget. HD continues to deliver through backpressure.

4 vCPU (2 workers)

RateHD (Mbps)+/-CIHD LossTS (Mbps)TS LossRatio
3G2,61200.00%2,5183.33%1.0x
5G4,233750.07%2,79835.58%1.5x
7.5G5,4571140.32%1,60573.90%3.4x
10G6,074792.04%1,73873.13%3.5x

8 vCPU (4 workers)

RateHD (Mbps)+/-CIHD LossTS (Mbps)TS LossRatio
5G4,35300.00%4,2911.26%1.0x
7.5G6,459840.01%4,67028.36%1.4x
10G8,3711620.06%4,49544.13%1.9x
15G11,0873240.32%4,48243.83%2.5x
20G12,3162470.68%4,48843.81%2.7x

16 vCPU (8 workers)

RateHD (Mbps)+/-CIHD LossTS (Mbps)TS LossRatio
7.5G6,53000.00%6,3682.33%1.0x
10G8,6241060.01%7,51013.62%1.1x
15G12,0884190.36%7,79916.79%1.5x
20G14,3545810.29%7,81016.62%1.8x
25G16,5457461.51%7,83416.43%2.1x

Packet Loss

Packet loss across all configs

HD stays below 2% loss at peak. TS loss scales with offered rate -- 17% at 16 vCPU, 92% at 2 vCPU.

Scaling

Scaling curves HD/TS ratio across configs