Catalogue / netflix-2022-gs2-hardware-counters

Netflix diagnoses JVM superclass-cache false and true sharing on 48-vCPU EC2 nodes using hardware counters

Netflix. GS2 Java microservice on HotSpot JVM.

Organisation
Netflix
Evidence
Reported from production
Source
Seeing through hardware counters: a journey to threefold performance increase

Netflix TechBlog, published 2022-11-09

Records

Failure#f1

Vertical scaling from 16 to 48 vCPUs hit bimodal CPU spikes and latency degradation from HotSpot superclass-cache sharing

Decision#d1

Patch HotSpot JVM to pad and then flag-gate bypassing secondary superclass cache writes

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.