[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/12] xen/common: add cache coloring allocator for domains



Hi,

On 17/10/2022 08:06, Michal Orzel wrote:
On 26/08/2022 14:51, Carlo Nonato wrote:
Apart from that, the memory coming from the buddy is of any color. Shouldn't it 
be that the memory
allocated for domains comes from colored memory of the colors assigned to them 
and anything else
should come from colors given to Xen? At the moment, the memory for e.g. 
allocating P2M tables comes
from the buddy which means it can be of any color and might cause some cache 
interference.

Somewhat related. IIUC what you are saying, the P2M pool will still be allocated from the buddy. I would expect we want to instead allocate the P2M pool from the same color as the domain to prevent interference when the TLBs are loaded. Or is the interference negligible?

Cheers,

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.