# Why Intel added cache partitioning

DevFeed: [Why Intel added cache partitioning](<https://devfeed.tech/articles/why-intel-added-cache-partitioning-77708.md>)

Original publisher: [Read original article](<https://danluu.com/intel-cat/>)

Published: 2015-10-04T00:00:00Z

Content type: article

Language: en

Sources: [Danluu](<https://devfeed.tech/sources/danluu.md>)

Topics: [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>), [Cache Coherence](<https://devfeed.tech/topics/cache-coherence.md>), [intel](<https://devfeed.tech/topics/intel.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [memory-bandwidth](<https://devfeed.tech/tags/memory-bandwidth.md>)

## AI overview

The article explains how datacenter operators can improve server utilization by co-locating latency-sensitive and lower-priority workloads. It describes resource isolation techniques, including Intel Cache Allocation Technology, and discusses limits involving memory bandwidth, cache contention, power, and networking.

## Source excerpt

Typical server utilization is between 10% and 50%. Google has demonstrated 90% utilization without impacting latency SLAs. Xkcd estimated that Google owns 2 million machines. If you estimate an amortized total cost of $4k per machine per year, that's $8 billion per year. With numbers like that, even small improvements have a large impact, and this isn't a small improvement. How is it possible to get 2x to 9x better utilization on the same hardware? The low end of those typical utilization numbers comes from having a service with variable demand and fixed machine allocations. Say you have 100 machines dedicated to Jenkins. Those machines might be very busy when devs are active, but they might also have 2% utilization at 3am. Dynamic allocation (switching the machines to other work when they're not needed) can get a typical latency-sensitive service up to somewhere in the 30%-70% range. To do better than that across a wide variety of latency-sensitive workloads with tight SLAs, we need some way to schedule low priority work on the same machines, without affecting the latency of the high priority work. It's not obvious that this is possible. If both high and low priority workloads need to monopolize some shared resources like the last-level cache (LLC), memory bandwidth, disk bandwidth, or network bandwidth, there we're out of luck. With the exception of some specialized services, it's rare to max out disk or network. But what about caches and memory? It turns out that Ferdman et al. looked at this back in 2012 and found that typical server workloads don't benefit from having more than 4MB - 6MB of LLC, despite modern server chips having much larger caches. For this graph, scale-out workloads are things like distributed key-value stores, MapReduce-like computations, web search, web serving, etc. SPECint(mcf) is a traditional workstation benchmark. "server" is old school server benchmarks like SPECweb and TPC . We can see that going from 4MB to 11MB of LLC has a small e