We described the results of a concerted multi-year effort to optimize the community earth system model for current and future generation HPC compute platforms. Our approach involves a strategic and focused intervention to address performance issues in a rapidly evolving scientific code base. While incremental in nature, it has yielded significant decreases in the cost to deliver climate science.