[OpenIndiana-discuss] KVM - windows VM slow network access

Heinz N. Gies heinz at licenser.net
Mon Dec 5 20:29:17 UTC 2011


Hi Matt,
I would guess you have 'upped' the vnic on the host system? If so, run ifconfig $VNIC down and it should work like a charm :) - had the same problem
--
Heinz N. Gies
heinz at licenser.net
http://licenser.net

On Dec 5, 2011, at 04:07, Matt Connolly wrote:

> I'm running a Windows 7 guest under qemu-kvm on OI 151 and have a few problems:
> 
> 1. clock drift - this seems really bad, losing about 30 minutes in an hour.
> 2. very slow networking from the guest to the rest of the network.
> 
> My script for starting the vm is like this:
> 
> VNIC=vnic2
> MAC=$(dladm show-vnic -po macaddress $VNIC)
> /usr/bin/qemu-kvm \
>        -boot order=cd \
>        -runas matt \
>        -enable-kvm \
>        -smp 2 \
>        -m 2048 \
>        -no-hpet \
>        -localtime \
>        -drive file=$DISK0,if=ide,index=0 \
>        -drive file=$DISK1,if=ide,index=1 \
>        -drive file=$CDROM,media=cdrom,if=ide,index=2  \
>        -net nic,vlan=0,name=net0,model=e1000,macaddr=$MAC \
>        -net vnic,vlan=0,name=net0,ifname=$VNIC,macaddr=$MAC \
>        -usbdevice tablet \
>        -vga std -vnc 0.0.0.0:2
> 
> 
> The network issues seems to be only outgoing packets. The guest VM can connect to the internet and local servers and download at reasonable speeds, but running any kind of service on the machine appears so slow that they time out to other devices on the network. I've tested this out with RDP, HTTP (wamp) and file sharing - all services appear online and connections succeed, but they are so slow they eventually fail (timeout).
> 
> For example, copying a 200MB file from a network drive into the Windows guest takes about 5 seconds. Copying the same file back to the server looks like it will take 15 hours.
> 
> Network bandwidth to the OI host is fine, and using VNC (from qemu) is snappy as can be. Additionally none of these problems can be seen running a linux guest virtual machine.
> 
> Has anyone experienced these problems?
> 
> 
> Thanks,
> Matt
> 
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list