zvoice@snto.ru
2007-Apr-18 11:31 UTC
FWD: RE: [Xen-users] Bad network performance between VMs in a doma in.
Dual Core AMD Opteron(tm) Processor 280, 2 units. All configs are native. исходное сообщение Тема: RE: [Xen-users] Bad network performance between VMs in a domain. От: zvoice@snto.ru Дата: 18.04.2007 11.15 In my next message i ll give you to your questions, but i think the problem is when the packet comes from vif to bridge and then from bridge to another vif. But what is strange, that packets that pass through the vif to eth0 it goes with the maximum speed, but when this packet is to be transmitted from 1 vif to another in one vif it happens slowly. исходное сообщение Тема: RE: [Xen-users] Bad network performance between VMs in a domain. От: zvoice@snto.ru Дата: 18.04.2007 10.01 I have got xen 3.0.3 and guests are in PVM исходное сообщение Тема: [Xen-users] Bad network performance between VMs in a domain. От: zvoice@snto.ru Дата: 18.04.2007 08.24 Hi! I have got this problem aching in my head. The speed between my VM and external machine is about 900Mb/s, but the speed between 2 VMs in one bridge is just about 20 Mb/s. What can i do with this? Please, help me out. I ve got a standart Xen configuration(bridge). Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Apr-18 11:38 UTC
RE: RE: [Xen-users] Bad network performance between VMs in a doma in.
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > zvoice@snto.ru > Sent: 18 April 2007 12:31 > To: xen-users@lists.xensource.com > Subject: FWD: RE: [Xen-users] Bad network performance between > VMs in a doma in. > > Dual Core AMD Opteron(tm) Processor 280, 2 units. All configs > are native.And how is the cores distributed between Dom0 and the two DomU''s, are all using "any", or are the cores dedicated to a particular domain? If not, you may want to reduce the number of cores for Dom0 to 1 or 2, and set a dedicated core for each DomU. Setting Dom0 can be done with "xm vcpu-set" or modifying /etc/xen/xend-config.sxp (dom0-cpus n) where n is the number of CPU''s for Dom0. If this number is zero, Dom0 has all CPU''s in the system, and that will not be the ideal solution. Setting "cpus=[2-3]" or "cpu=2" in the config file will restrict which cores your DomU runs on. -- Mats> > исходное сообщение > Тема: RE: [Xen-users] Bad network performance between VMs in a domain. > От: zvoice@snto.ru > Дата: 18.04.2007 11.15 > > In my next message i ll give you to your questions, but i > think the problem is when the packet comes from vif to bridge > and then from bridge to another vif. But what is strange, > that packets that pass through the vif to eth0 it goes with > the maximum speed, but when this packet is to be transmitted > from 1 vif to another in one vif it happens slowly. > исходное сообщение > Тема: RE: [Xen-users] Bad network performance between VMs in a domain. > От: zvoice@snto.ru > Дата: 18.04.2007 10.01 > > I have got xen 3.0.3 and guests are in PVM > > исходное сообщение > Тема: [Xen-users] Bad network performance between VMs in a domain. > От: zvoice@snto.ru > Дата: 18.04.2007 08.24 > > Hi! > I have got this problem aching in my head. The speed between > my VM and > external machine is about 900Mb/s, but the speed between 2 > VMs in one bridge > is just about 20 Mb/s. What can i do with this? Please, help me out. > I ve got a standart Xen configuration(bridge). > Thanks. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tgh
2007-Apr-19 01:21 UTC
Re: [Xen-users] Bad network performance between VMs in a doma in.
hi I have a question about credit and vcpuset credit could automatically allocate the doms among the cpus,and if we set the cpu to a domain statically ,will it potentially ruin the whole balancing of credit scheduler? and could credit not automatically balance the load in the network scenario? I am confuesd about it could you help me out Thanks in advance> And how is the cores distributed between Dom0 and the two DomU''s, are all using "any", or are the cores dedicated to a particular domain? If not, you may want to reduce the number of cores for Dom0 to 1 or 2, and set a dedicated core for each DomU. Setting Dom0 can be done with "xm vcpu-set" or modifying /etc/xen/xend-config.sxp (dom0-cpus n) where n is the number of CPU''s for Dom0. If this number is zero, Dom0 has all CPU''s in the system, and that will not be the ideal solution. > > Setting "cpus=[2-3]" or "cpu=2" in the config file will restrict which cores your DomU runs on. >> -- > Mats > >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
zvocie@snto.ru
2007-Apr-19 04:07 UTC
Re: [Xen-users] Bad network performance between VMs in a doma in.
Hi! The problem is still on the run) I have changed the number of cpus in configuration files - nothing had happend. Can someone test this out, if he has the same problem, or it''s my own?! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ben henrion
2007-Apr-20 07:14 UTC
Re: [Xen-users] Bad network performance between VMs in a doma in.
2007/4/19, tgh <tianguanhua@ncic.ac.cn>:> > hi > I have a question about credit and vcpuset > credit could automatically allocate the doms among the cpus,What''s sort of credit are you talking about? The weight or the cap ? and if we set the cpu to a domain statically ,will it potentially ruin the> whole > balancing of credit scheduler?If you use one domain for one CPU, you don''t need credit-schedul! and could credit not automatically balance the load in the network> scenario???? I am confuesd about it> could you help me out > > Thanks in advance > > > And how is the cores distributed between Dom0 and the two DomU''s, are > all using "any", or are the cores dedicated to a particular domain? If not, > you may want to reduce the number of cores for Dom0 to 1 or 2, and set a > dedicated core for each DomU. Setting Dom0 can be done with "xm vcpu-set" or > modifying /etc/xen/xend-config.sxp (dom0-cpus n) where n is the number of > CPU''s for Dom0. If this number is zero, Dom0 has all CPU''s in the system, > and that will not be the ideal solution. > > > > Setting "cpus=[2-3]" or "cpu=2" in the config file will restrict which > cores your DomU runs on. > > > > > > -- > > Mats > > > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users > >> > >> > >> > >> > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Benjamin HENRION Elève de 4eme année de l'' EXIA (Nancy) Ecole supérieure d''informatique Spé Réseaux _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users