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-users@lists.xensource.com http://lists.xensource.com/xen-users
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 <virtualroot@gmail.com> 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-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
On Fri, Sep 11, 2009 at 3:46 PM, Brent Verner <brent@netavail.com> wrote:> I had a similar problem and the solution was to disable checksum > offloading in the domU. > > sh# ethtool -K eth0 tx offi 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 <virtualroot@gmail.com> 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-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
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 <virtualroot@gmail.com> 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-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
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 <virtualroot@gmail.com> 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-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