Re: [GIT pull] x86/cache: Updates for 4.10

From: Fenghua Yu
Date: Wed Dec 21 2016 - 16:32:37 EST


On Tue, Dec 13, 2016, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Mon, 12 Dec 2016, Linus Torvalds wrote:
> On Mon, Dec 12, 2016 at 1:53 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>> It looks pretty self-contained (good), but it also looks majorly
>> strange. I will have to think about this. What are the main/expected
>> users?
> - Virtualization so a VM can only trash only the associated part of the
> cash w/o disturbing others
>
> - Real-Time systems to seperate RT and general workloads.
>
> - Latency sensitive enterprise workloads
>
> - In theory this also can be used to protect against cache side channel
> attacks.

Quite a few companies and research groups are interested in the hardware
feature and/or the resctrl file system interface. They do demonstrate
performance and QoS improvements in real-time, VM, and native Linux
by partitioning cache for processes to avoid noisy neighbors.

Thanks.

-Fenghua