Re: [Xen-users] Slow network speed with Xen 3.2-1
On Sun, Sep 13, 2009 at 12:19:57PM +0300, Pasi Kärkkäinen wrote: > On Fri, Sep 11, 2009 at 02:46:53PM -0400, Brent Verner wrote: > > I had a similar problem and the solution was to disable checksum > > offloading in the domU. > > > > sh# ethtool -K eth0 tx off > > > > You can add this to your /etc/network/interfaces, too.. > > > > post-up ethtool -K eth0 tx off > > > > > > I also had to disable this in my dom0 for dhcp to work... > > > > What physical NIC do you have? Sounds like a bug in the driver to me.. > > What driver/version? "ethtool -i peth0" should tell that. > Also please paste offloading settings from dom0: "ethtool -k peth0" Thanks! -- Pasi > > > cheers! > > b > > > > On Thu, Sep 10, 2009 at 2:19 PM, virtualroot wrote: > > > I'm getting a slow network speed (download/upload) domU and dom0 > > > limits in 10kbps/20kbps. > > > Booting a kernel without Xen, this doesnt happens > > > > > > /etc/xen/xend-config.sxp > > > (network-script network-bridge) > > > (vif-script vif-bridge) > > > (dom0-min-mem 196) > > > (dom0-cpus 0) > > > > > > cat /etc/xen/XXX.cfg > > > kernel = '/boot/vmlinuz-2.6.26-1-xen-amd64' > > > ramdisk = '/boot/initrd.img-2.6.26-1-xen-amd64' > > > > > > memory = '2048' > > > vcpus = '4' > > > > > > root = '/dev/sda2 ro' > > > disk = [ > > > 'phy:/dev/storage/XXX-disk,sda2,w', > > > 'phy:/dev/storage/XXX-swap,sda1,w', > > > ] > > > > > > name = 'XXX' > > > vif = [ 'ip=190.228.X.X,mac=00:16:3E:37:17:9A' ] > > > > > > root = "/dev/sda2 ro noapic acpi=off nopcmcia noagp nobluetooth" > > > extra = "3 xencons=tty" > > > > > > on_poweroff = 'destroy' > > > on_reboot = 'restart' > > > on_crash = 'restart' > > > > > > I use Debian 5.0.2 kernel 2.6.26-1-xen-amd64 > > > > > > ___ > > > Xen-users mailing list > > > xen-us...@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > ___ > > Xen-users mailing list > > xen-us...@lists.xensource.com > > http://lists.xensource.com/xen-users > > ___ > Xen-users mailing list > xen-us...@lists.xensource.com > http://lists.xensource.com/xen-users -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [Xen-users] Slow network speed with Xen 3.2-1
On Fri, Sep 11, 2009 at 02:46:53PM -0400, Brent Verner wrote: > I had a similar problem and the solution was to disable checksum > offloading in the domU. > > sh# ethtool -K eth0 tx off > > You can add this to your /etc/network/interfaces, too.. > > post-up ethtool -K eth0 tx off > > > I also had to disable this in my dom0 for dhcp to work... > What physical NIC do you have? Sounds like a bug in the driver to me.. What driver/version? "ethtool -i peth0" should tell that. -- Pasi > cheers! > b > > On Thu, Sep 10, 2009 at 2:19 PM, virtualroot wrote: > > I'm getting a slow network speed (download/upload) domU and dom0 > > limits in 10kbps/20kbps. > > Booting a kernel without Xen, this doesnt happens > > > > /etc/xen/xend-config.sxp > > (network-script network-bridge) > > (vif-script vif-bridge) > > (dom0-min-mem 196) > > (dom0-cpus 0) > > > > cat /etc/xen/XXX.cfg > > kernel = '/boot/vmlinuz-2.6.26-1-xen-amd64' > > ramdisk = '/boot/initrd.img-2.6.26-1-xen-amd64' > > > > memory = '2048' > > vcpus = '4' > > > > root = '/dev/sda2 ro' > > disk = [ > > 'phy:/dev/storage/XXX-disk,sda2,w', > > 'phy:/dev/storage/XXX-swap,sda1,w', > > ] > > > > name = 'XXX' > > vif = [ 'ip=190.228.X.X,mac=00:16:3E:37:17:9A' ] > > > > root = "/dev/sda2 ro noapic acpi=off nopcmcia noagp nobluetooth" > > extra = "3 xencons=tty" > > > > on_poweroff = 'destroy' > > on_reboot = 'restart' > > on_crash = 'restart' > > > > I use Debian 5.0.2 kernel 2.6.26-1-xen-amd64 > > > > ___ > > Xen-users mailing list > > xen-us...@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > ___ > Xen-users mailing list > xen-us...@lists.xensource.com > http://lists.xensource.com/xen-users -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [Xen-users] Slow network speed with Xen 3.2-1
On Fri, Sep 11, 2009 at 3:46 PM, Brent Verner wrote: > I had a similar problem and the solution was to disable checksum > offloading in the domU. > > sh# ethtool -K eth0 tx off i tried this before but it didn't work. :( Any other idea? Regards, Alejandro. > You can add this to your /etc/network/interfaces, too.. > > post-up ethtool -K eth0 tx off > > > I also had to disable this in my dom0 for dhcp to work... > > cheers! > b > > On Thu, Sep 10, 2009 at 2:19 PM, virtualroot wrote: >> I'm getting a slow network speed (download/upload) domU and dom0 >> limits in 10kbps/20kbps. >> Booting a kernel without Xen, this doesnt happens >> >> /etc/xen/xend-config.sxp >> (network-script network-bridge) >> (vif-script vif-bridge) >> (dom0-min-mem 196) >> (dom0-cpus 0) >> >> cat /etc/xen/XXX.cfg >> kernel = '/boot/vmlinuz-2.6.26-1-xen-amd64' >> ramdisk = '/boot/initrd.img-2.6.26-1-xen-amd64' >> >> memory = '2048' >> vcpus = '4' >> >> root = '/dev/sda2 ro' >> disk = [ >> 'phy:/dev/storage/XXX-disk,sda2,w', >> 'phy:/dev/storage/XXX-swap,sda1,w', >> ] >> >> name = 'XXX' >> vif = [ 'ip=190.228.X.X,mac=00:16:3E:37:17:9A' ] >> >> root = "/dev/sda2 ro noapic acpi=off nopcmcia noagp nobluetooth" >> extra = "3 xencons=tty" >> >> on_poweroff = 'destroy' >> on_reboot = 'restart' >> on_crash = 'restart' >> >> I use Debian 5.0.2 kernel 2.6.26-1-xen-amd64 >> >> ___ >> Xen-users mailing list >> xen-us...@lists.xensource.com >> http://lists.xensource.com/xen-users >> > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [Xen-users] Slow network speed with Xen 3.2-1
I had a similar problem and the solution was to disable checksum offloading in the domU. sh# ethtool -K eth0 tx off You can add this to your /etc/network/interfaces, too.. post-up ethtool -K eth0 tx off I also had to disable this in my dom0 for dhcp to work... cheers! b On Thu, Sep 10, 2009 at 2:19 PM, virtualroot wrote: > I'm getting a slow network speed (download/upload) domU and dom0 > limits in 10kbps/20kbps. > Booting a kernel without Xen, this doesnt happens > > /etc/xen/xend-config.sxp > (network-script network-bridge) > (vif-script vif-bridge) > (dom0-min-mem 196) > (dom0-cpus 0) > > cat /etc/xen/XXX.cfg > kernel = '/boot/vmlinuz-2.6.26-1-xen-amd64' > ramdisk = '/boot/initrd.img-2.6.26-1-xen-amd64' > > memory = '2048' > vcpus = '4' > > root = '/dev/sda2 ro' > disk = [ > 'phy:/dev/storage/XXX-disk,sda2,w', > 'phy:/dev/storage/XXX-swap,sda1,w', > ] > > name = 'XXX' > vif = [ 'ip=190.228.X.X,mac=00:16:3E:37:17:9A' ] > > root = "/dev/sda2 ro noapic acpi=off nopcmcia noagp nobluetooth" > extra = "3 xencons=tty" > > on_poweroff = 'destroy' > on_reboot = 'restart' > on_crash = 'restart' > > I use Debian 5.0.2 kernel 2.6.26-1-xen-amd64 > > ___ > Xen-users mailing list > xen-us...@lists.xensource.com > http://lists.xensource.com/xen-users > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org