Hello, I am using Gentoo 2008.1 with Xen 3.2.1 I am having an unusual problem with a DomU, it is setup as a router. The DomU is connected to 2 NICs, one of which is connected to the outside and the other to the internal network. When I pass a large amount of data through this DomU like a large torrent download for example, the DomU simply dies with no errors or any indication. It just fails and I have to re-create the vm. If any more info is needed please let me know and I will provide it. Any help would be appreciated Thanks Chris My "xm info" is as follows: Magnesium ~ # xm info host : Magnesium release : 2.6.21-xen version : #11 SMP Sat May 3 01:58:49 MDT 2008 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2109 hw_caps : 178bf3ff:ebd3fbff:00000000:00000010:00002001:00000000:0000011f total_memory : 4063 free_memory : 8 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 2 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 (Gentoo 4.1.2 p1.1) cc_compile_by : root cc_compile_domain : acutefailure.com cc_compile_date : Tue Jun 3 13:14:54 MDT 2008 xend_config_format : 4 Also, here is the output from "brctl show" Magnesium ~ # brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.001018249e83 no peth0 vif11.1 vif2.0 vif3.0 vif4.0 vif5.0 xenbr1 8000.001018308ef8 no peth1 xenbr2 8000.001d7d93c2cc no peth2 vif11.0 and here is the configuration file for the vm: Magnesium xen # cat Helium # General name = "Helium" memory = 256; # Bootinn kernel "/mnt/storage/VM_Storage/boot/kernel-genkernel-x86_64-xen-2.6.21-xen-domU" ramdisk "/mnt/storage/VM_Storage/boot/initramfs-genkernel-x86_64-xen-2.6.21-xen-domU.gz" #Virtual Disks disk = [ ''file:/mnt/storage/VM_Storage/VMs/Helium.img,hda1,w'', ''file:/mnt/storage/VM_Storage/VMs/Helium-Swap.img,hda2,w'' ] root = "/dev/hda1 ro" # Virtual Network vif = [ "mac=00:16:3e:00:01:02, bridge=xenbr2", "mac=00:16:3e:00:00:02 ,bridge=xenbr0" ] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Holland wrote:> Hello, > > I am using Gentoo 2008.1 with Xen 3.2.1 > I am having an unusual problem with a DomU, it is setup as a router. The > DomU is connected to 2 NICs, one of which is connected to the outside > and the other to the internal network. > When I pass a large amount of data through this DomU like a large > torrent download for example, the DomU simply dies with no errors or any > indication. It just fails and I have to > re-create the vm. > If any more info is needed please let me know and I will provide it.I''ve seen problems with high network load and simultaneous high I/O load on the disk. This was affecting drbd replication very badly. The solution I found was to use the ''rate'' parameter on the VIF eg: vif = [ "rate=20MB/s,mac=00:16:3e:00:01:02, bridge=xenbr2", "rate=20MB/s,mac=00:16:3e:00:00:02 ,bridge=xenbr0" ] no other tuning gave any improvement, from disabling tcpchecksum offloading to all manner of sysctl tweaking. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Not sure how much this would help, although it is good to know. The DomU that is failing does not cause any major disk IO. It is simply an internet gateway with one interface connected to the internet and the other connected to my physical home switch. Also, there doesn''t seem to be anything in the logs on either the DomU or Dom0. It just dies. Thanks Chris On Wed, Jul 23, 2008 at 8:26 PM, Steve Wray <steve.wray@cwa.co.nz> wrote:> Chris Holland wrote: > >> Hello, >> >> I am using Gentoo 2008.1 with Xen 3.2.1 >> I am having an unusual problem with a DomU, it is setup as a router. The >> DomU is connected to 2 NICs, one of which is connected to the outside and >> the other to the internal network. >> When I pass a large amount of data through this DomU like a large torrent >> download for example, the DomU simply dies with no errors or any indication. >> It just fails and I have to >> re-create the vm. >> If any more info is needed please let me know and I will provide it. >> > > I''ve seen problems with high network load and simultaneous high I/O load on > the disk. This was affecting drbd replication very badly. > > The solution I found was to use the ''rate'' parameter on the VIF eg: > > vif = [ "rate=20MB/s,mac=00:16:3e:00:01:02, bridge=xenbr2", > "rate=20MB/s,mac=00:16:3e:00:00:02 ,bridge=xenbr0" ] > > no other tuning gave any improvement, from disabling tcpchecksum offloading > to all manner of sysctl tweaking. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users