PDA

View Full Version : How can I raise the speed bridge in XEN 3.2


semaru
21st July 2008, 09:59
Good afternoon,
Setting the program Xen 3.2 on Ubuntu 8.04 server (according to this instruction http://howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories) I was faced with the problem I can’t solve. I put DomU in DMZ. In order to do it I made a virtual bridge in Dom0 which connects DomU with Dom0 and LAN. I set routing. While testing I found out that the speed from LAN into DomU is more than 95Mbits/sec, and the speed from DomU into LAN is 100-120Kbits/sec. How can I raise the speed?

Below please find the configuration files:

/etc/xen/xend-config.sxp

(network-script network-route)
(vif-bridge xen-br0)
(vif-script vif-bridge)


/etc/xen/domU.cfg

vif = [ ‘bridge=xen-br0’ ]


root@dom0:/etc/xen# brctl show
bridge name bridge id STP enabled interfaces
xen-br0 8000.000000000000 no

root@dom0:/etc/xen# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:39:87:26
inet addr:192.168.0.226 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7557 errors:0 dropped:0 overruns:0 frame:0
TX packets:903 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1176415 (1.1 MB) TX bytes:288713 (281.9 KB)

eth1 Link encap:Ethernet HWaddr 00:15:17:39:87:27
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2914206 errors:0 dropped:0 overruns:0 frame:0
TX packets:1697874 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4200948513 (3.9 GB) TX bytes:541944659 (516.8 MB)
Base address:0x1100 Memory:48020000-48040000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:163 errors:0 dropped:0 overruns:0 frame:0
TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23988 (23.4 KB) TX bytes:23988 (23.4 KB)

xen-br0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.0.1.1 Bcast:10.0.1.3 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2303729 errors:0 dropped:0 overruns:0 frame:0
TX packets:3513221 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3545884728 (3.3 GB) TX bytes:409529162 (390.5 MB)

falko
22nd July 2008, 15:07
Have you tried
(network-script network-bridge)
instead of
(network-script network-route)
in /etc/xen/xend-config.sxp?