From: Fasiha Ashraf Subject: About xen bridge Date: Mon, 28 Sep 2009 12:26:29 +0530 (IST) Message-ID: <560622.53801.qm@web94608.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1185979344==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1185979344== Content-Type: multipart/alternative; boundary="0-1024601229-1254120989=:53801" --0-1024601229-1254120989=:53801 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi there, I am using xen hypervisor for analysing guest to guest communication throug= hput. I have Quad Core Intel Xeon server with F11 installed on it. My Dom0 and DomU specs are: Dom0: #uname -ra Linux HPCNL-SR-2 2.6.30-rc6-tip #1 SMP Tue Aug 25 12:26:16 PKST 2009 i686 i= 686 i386 GNU/Linux DomU: # uname -ra Linux F11-G5S2 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 20= 09 i686 i686 i386 GNU/Linux while running netperf benchmark I have got such results in different cases DomU to Dom0=A0=A0=A0=A0 2000 to 3000Mbps Dom0 to DomU=A0=A0=A0=A0 also ok But in case of DomU to DomU throughput is around 0.14 to 0.29 Mbps I have found these warnings in my log files=20 /var/log/xen/dom1 domid: 6 Warning: vlan 0 is not connected to host network qemu: ignoring not-understood drive=0A `sda2' Watching /local/domain/0/device-model/6/logdirty/next-active Watching /local/domain/0/device-model/6/command char device redirected to /dev/pts/4 /usr/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/xen_blktap.c:628: Init blkta= p pipes xs_read(): vncpasswd get error. /vm/fb477f56-bb98-c144-54a4-74dd4379b094/vn= cpasswd. Also=A0 dom0 file /var/log/messages contains Sep 14 14:37:10 HPCNL-SR-2 logger: /etc/xen/scripts/vif-bridge: iptables se= tup failed. This may affect guest networking.=20 Is there any iptable issue in this case I have tried it after flushing all = iptables but no use.=20 Doing all in bridge mode of communication. Kindly help me identifying and t= he resolving the issue. Also please explain me Why in the newer versions there is no vif0.0 for=0Ad= om0? As said in running xen book "Herbert Xu has proposed a patch that=0Are= moves the need for this loopback device. In the future, there may be=0Ano m= ore Xen loop device in bridging mode" In Domain0, backend vif0.0=0Ais called the Xen loopback (or netloop) device= . Its function is=0Adifferent from the guest domain's vif because the guest= domain frontend=0Avif passes the packets in the guest domain to its proxy = backend in the=0Adriver domain (often Domain0). The Xen loopback device vif= 0.0 exists=0Aonly to enforce a data copy on the guest domain to Domain0 pat= h. The=0Acopy is desired because otherwise a packet sitting on the Domain0= =0Areceiving buffer would hold the guest domain's page containing the=0Apac= ket for an unbounded amount of time. There is no guarantee of when=0Athe us= er process will read the data and free the socket buffer.I would=0Alike to = add one more thing in your knowledge that in my case guest to=0Ainternet sp= eed is ok. wget between guests shows 35K/s to the max.and=0Athe throughput = in this case is 35.1K/s=A0 eta 4h 3m In xen 3.4 how are they managing this packet sitting on the dom0 receiving = buffer for unbounded time?=20 Regards, Fasiha =0A Keep up with people you care about with Yahoo! India Mail. Learn = how.=0A=0A=0A Yahoo! India has a new look. Take a sneak peek http://in= .yahoo.com/trynew --0-1024601229-1254120989=:53801 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

Hi there,
I am using xen hypervisor for analysing guest to gues= t communication throughput. I have Quad Core Intel Xeon server with F11 ins= talled on it.
My Dom0 and DomU specs are:
Dom0: #uname -ra
Linux H= PCNL-SR-2 2.6.30-rc6-tip #1 SMP Tue Aug 25 12:26:16 PKST 2009 i686 i686 i38= 6 GNU/Linux
DomU: # uname -ra
Linux F11-G5S2 2.6.29.4-167.fc11.i686.P= AE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux
while ru= nning netperf benchmark I have got such results in different cases
DomU to Dom0 =     2000 to 3000Mbps
Dom0 to DomU    = also ok
But in case of DomU to DomU throughput is around 0.14 to 0.29 M= bps
I have found these warnings in my log files

/var/log/xen/dom= 1
domid: 6
Warning: vlan 0 is not connected to host network
qemu: = ignoring not-understood drive=0A `sda2'
Watching /local/domain/0/device-= model/6/logdirty/next-active
Watching /local/domain/0/device-model/6/com= mand
char device redirected to /dev/pts/4
/usr/src/xen-3.4-testing.hg= /tools/ioemu-dir/hw/xen_blktap.c:628: Init blktap pipes
xs_read(): vncpa= sswd get error. /vm/fb477f56-bb98-c144-54a4-74dd4379b094/vncpasswd.

= Also  dom0 file /var/log/messages contains
Sep 14 14:37:10 HPCNL-SR= -2 logger: /etc/xen/scripts/vif-bridge: iptables setup failed. This may aff= ect guest networking.
Is there any iptable issue in this case I have tr= ied it after flushing all iptables but no use.
Doing all in bridge mode= of communication. Kindly help me identifying and the resolving the issue.<= br>
Also please explain me Why in the newer versions there is no vif0.0 = for=0Adom0? As said in running xen book "Herbert Xu has proposed a patch th= at=0Aremoves the need for this loopback device. In the future, there may be= =0Ano more Xen loop device in bridging mode"
In Domain0, backend vif0.0= =0Ais called the Xen loopback (or netloop) device. Its function is=0Adiffer= ent from the guest domain's vif because the guest domain frontend=0Avif pas= ses the packets in the guest domain to its proxy backend in the=0Adriver do= main (often Domain0). The Xen loopback device vif0.0 exists=0Aonly to enfor= ce a data copy on the guest domain to Domain0 path. The=0Acopy is desired b= ecause otherwise a packet sitting on the Domain0=0Areceiving buffer would h= old the guest domain's page containing the=0Apacket for an unbounded amount= of time. There is no guarantee of when=0Athe user process will read the da= ta and free the socket buffer.I would=0Alike to add one more thing in your = knowledge that in my case guest to=0Ainternet speed is ok. wget between gue= sts shows 35K/s to the max.and=0Athe throughput in this case is 35.1K/s&nbs= p; eta 4h 3m
In xen 3.4 how are they managing this packet sitting on the= dom0 receiving buffer for unbounded time?

Regards,
Fasiha

=0A
Keep up with people yo= u care about with Yahoo! India Mail. Learn how.
=0A
Keep up with people you care about wit= h Yahoo! India Mail. Learn how. --0-1024601229-1254120989=:53801-- --===============1185979344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1185979344==--