Received: from [140.186.70.92] (port=59856 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsjpQ-0005jH-Ro for qemu-devel@nongnu.org; Mon, 06 Sep 2010 18:06:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsjpM-0004SF-OY for qemu-devel@nongnu.org; Mon, 06 Sep 2010 18:06:16 -0400 Received: from lo.gmane.org ([80.91.229.12]:53311) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsjpL-0004SA-Rz for qemu-devel@nongnu.org; Mon, 06 Sep 2010 18:06:12 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OsjpK-0003Bt-CV for qemu-devel@nongnu.org; Tue, 07 Sep 2010 00:06:10 +0200 Received: from 81.202.16.46.dyn.user.ono.com ([81.202.16.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Sep 2010 00:06:10 +0200 Received: from pjb by 81.202.16.46.dyn.user.ono.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Sep 2010 00:06:10 +0200 From: pjb@informatimago.com (Pascal J. Bourguignon) Date: Tue, 07 Sep 2010 00:05:21 +0200 Message-ID: <87eid6frz2.fsf@kuiper.lan.informatimago.com> References: <87y6dsjhca.fsf@kuiper.lan.informatimago.com> <87r5jkjfnt.fsf@kuiper.lan.informatimago.com> <871vbkj6gn.fsf@kuiper.lan.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Re: Irregular response times List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org pjb@informatimago.com (Pascal J. Bourguignon) writes: > Mulyadi Santosa writes: > >> On Sun, Jul 4, 2010 at 06:42, Pascal J. Bourguignon >> wrote: >>> pjb@informatimago.com (Pascal J. Bourguignon) writes: >>> >>>> I've got various Qemu running linux (gentoo or debian, all running the >>>> same kernel).  On one of them,  I get very irregular response time. >>>> >>>> During a few seconds, it works normally.  Eg. thru a ssh connection, I >>>> can type commands at bash, and I get the character echoed right away. >>>> And then, for a few tens of seconds, it hangs, with no output and no >>>> way to interrupt it or whatever.   The qemu process is in S state, >>>> waiting in poll_s WCHAN. > exec qemu $kvm \ > -cpu ${cpu} -smp ${ncpus},cores=${ncores} -m ${mem} ${video[@]} \ > -boot menu=on \ > -net nic,model=${nic_model} -net tap \ > -hda /domU/images/${vm}.boot.disk \ > -hdb /domU/images/${vm}.ext3 \ > -hdc /domU/images/${vm}.swap \ I eventually found the problem: all qemu instances will use the same MAC address for their NIC. When I set different MACs to the different VMs, everything works well: mac=52:54:0:0:0:1 # or 2, 3, ... ... -net nic,macaddr=${mac},model=${nic_model} -net tap \ -- __Pascal Bourguignon__ http://www.informatimago.com/