From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Gao Subject: Re: [ kvm-Bugs-1884444 ] Virtual network (set up via TCP socket) dog slow, but vde ok Date: Fri, 01 Feb 2008 08:43:21 -0800 Message-ID: <47A34C29.6060509@schrodinger.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org SourceForge.net wrote: > Bugs item #1884444, was opened at 2008-02-01 15:30 > Message generated for change (Tracker Item Submitted) made by Item Submitter > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1884444&group_id=180599 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: qemu > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Alain Knaff (alain_knaff) > Assigned to: Nobody/Anonymous (nobody) > Summary: Virtual network (set up via TCP socket) dog slow, but vde ok > > Initial Comment: > I've got two kvm virtual machines that I connect to gether via a virtual network: > > 1. A samba server (Kubuntu 7.10), whose network I set up with -net nic,vlan=1,macaddr=00:1B:FC:1C:00:01 -net socket,vlan=1,listen=127.0.0.1:1234 > > 2. A Windows XP client, whose network I set up with -net nic,vlan=1,macaddr=00:1B:FC:1C:01:11 -net socket,vlan=1,connect=127.0.0.1:1234 > > The Windows XP VM has joined the Samba VM's domain. > When a domain user logs in, it takes litterally _minutes_ until its profile data is copied to the client, and same thing to copy it back to the server on logout. > > Setting up both with VDE, it's *much* quicker (only a couple of seconds, rather than minutes for login/logout). > > I also tried udp mcast networking, but couldn't get both VMs to communicate with each other. A tcpdump on the host shows traffic on port 1234. However, a tcpdump on the Kubuntu guest shows no traffic (not even arp) when I try to ping it from the windows VM > > > I am also seeing this kind of problem. As a result, I can only run one VM a time. If I run more than one VM, then both VM's network traffic slows to a crawl (however, both VM can still connect to hosts on different networks). It seems like that when more than one VM runs, all VMs are put on a half-duplex switch, lots of collisions and packets drop off, though they are not shown anywhere. Simon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/