Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-15 Thread Meng Xu
2015-01-15 3:23 GMT-05:00 Jan Beulich : On 14.01.15 at 22:19, wrote: >> So when Xen allocate memory to a PV guest with 256MB memory and 4KB >> page size (i.e., 2^16 memory pages), Xen will allocate 2^16 continuous >> memory pages to this guest since the maximum continuous memory pages >> Xen

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-15 Thread Jan Beulich
>>> On 14.01.15 at 22:19, wrote: > So when Xen allocate memory to a PV guest with 256MB memory and 4KB > page size (i.e., 2^16 memory pages), Xen will allocate 2^16 continuous > memory pages to this guest since the maximum continuous memory pages > Xen allocates to PV guest is 1024*1024. Provided

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Meng Xu
2015-01-14 11:29 GMT-05:00 Jan Beulich : On 14.01.15 at 16:27, wrote: >> 2015-01-14 10:02 GMT-05:00 Jan Beulich : >> On 14.01.15 at 15:45, wrote: Yes. I try to use the bits [A16, A12] to isolate different colors in a shared cache. A 2MB 16-way associate shared cache uses [A16,

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Jan Beulich
>>> On 14.01.15 at 16:27, wrote: > 2015-01-14 10:02 GMT-05:00 Jan Beulich : > On 14.01.15 at 15:45, wrote: >>> Yes. I try to use the bits [A16, A12] to isolate different colors in a >>> shared cache. A 2MB 16-way associate shared cache uses [A16, A6] to >>> index the cache set. Because page s

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Meng Xu
Hi Jan, 2015-01-14 10:02 GMT-05:00 Jan Beulich : On 14.01.15 at 15:45, wrote: >> Yes. I try to use the bits [A16, A12] to isolate different colors in a >> shared cache. A 2MB 16-way associate shared cache uses [A16, A6] to >> index the cache set. Because page size is 4KB, we have page frame

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Jan Beulich
>>> On 14.01.15 at 15:45, wrote: > Yes. I try to use the bits [A16, A12] to isolate different colors in a > shared cache. A 2MB 16-way associate shared cache uses [A16, A6] to > index the cache set. Because page size is 4KB, we have page frame > number's bits [A16, A12] overlapped with the bits us

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Meng Xu
Hi Andrew, Thank you very much for your quick reply! 2015-01-14 7:20 GMT-05:00 Andrew Cooper : > On 14/01/15 00:41, Meng Xu wrote: >> Hi, >> >> [Goal] >> I want to investigate the impact of the shared cache on the >> performance of workload in guest domain. >> I also want to partition the shared

Re: [Xen-devel] Question about partitioning shared cache in Xen

2015-01-14 Thread Andrew Cooper
On 14/01/15 00:41, Meng Xu wrote: > Hi, > > [Goal] > I want to investigate the impact of the shared cache on the > performance of workload in guest domain. > I also want to partition the shared cache via page coloring mechanism > so that guest domains can use different cache colors of shared cache

[Xen-devel] Question about partitioning shared cache in Xen

2015-01-13 Thread Meng Xu
Hi, [Goal] I want to investigate the impact of the shared cache on the performance of workload in guest domain. I also want to partition the shared cache via page coloring mechanism so that guest domains can use different cache colors of shared cache and will not have interference in the shared ca