qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: Irregular response times


From: Pascal J. Bourguignon
Subject: [Qemu-devel] Re: Irregular response times
Date: Tue, 07 Sep 2010 00:05:21 +0200
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux)

address@hidden (Pascal J. Bourguignon) writes:

> Mulyadi Santosa <address@hidden> writes:
>
>> On Sun, Jul 4, 2010 at 06:42, Pascal J. Bourguignon
>> <address@hidden> wrote:
>>> address@hidden (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}  address@hidden \
>     -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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]