贺鹏
2010-Dec-06 10:00 UTC
[Xen-devel] Is there any mechanism in XEN can use to limit the memory bandwidth of each domain?
Hi, all: As we all know, Xen can alloc different amount of memory to different VMs, but these VMs access memory by one shared memory bus, which means if one VM access the memory very frequently, the bandwidth of the memory shared by the other VM will decrease. So I''m wondering is there any mechanism in XEN can reserve the limit bandwidth of the memory for different VMs? Thanks! -- hepeng ICT _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Dec-06 17:55 UTC
Re: [Xen-devel] Is there any mechanism in XEN can use to limit the memory bandwidth of each domain?
On Mon, Dec 06, 2010 at 06:00:14PM +0800, 贺鹏 wrote:> Hi, all: > As we all know, Xen can alloc different amount of memory to > different VMs, but these VMs access memory by one shared memory bus, which > means if one VM access the memory very frequently, the bandwidth of the > memory shared by the other VM will decrease. > So I''m wondering is there any mechanism in XEN can reserve the limit > bandwidth of the memory for different VMs?As in NUMA? There is work to make that be provided to Xen guests. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2010-Dec-07 10:58 UTC
Re: [Xen-devel] Is there any mechanism in XEN can use to limit the memory bandwidth of each domain?
No, Xen does not measure or attempt to control memory bandwidth at the moment. Other than simply not scheduling a VM, I''m not aware of any way to throttle memory accesses. One can imagine enhancing a scheduler to count memory accesses, and to schedule based not only on pure time on the cpu, but on memory instructions executed. Sounds like a research paper. :-) -George On Mon, Dec 6, 2010 at 5:55 PM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:> On Mon, Dec 06, 2010 at 06:00:14PM +0800, 贺鹏 wrote: >> Hi, all: >> As we all know, Xen can alloc different amount of memory to >> different VMs, but these VMs access memory by one shared memory bus, which >> means if one VM access the memory very frequently, the bandwidth of the >> memory shared by the other VM will decrease. >> So I''m wondering is there any mechanism in XEN can reserve the limit >> bandwidth of the memory for different VMs? > > As in NUMA? There is work to make that be provided to Xen guests. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel