public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Uri Lublin <uril-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Strange network behaviour
Date: Wed, 05 Dec 2007 13:46:46 +0200	[thread overview]
Message-ID: <47568FA6.1020101@qumranet.com> (raw)
In-Reply-To: <475689E0.5020901-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>

Mike wrote:
> You can download the requested trace at
> http://www.eliteserver.biz/trace.tar.gz
>
> the peaks were around 12:04:30
>
> Mike
>
> Avi Kivity schrieb:
>   
>> Mike wrote:
>>     
>>> Avi Kivity schrieb:
>>>       
>>>> Mike wrote:
>>>>         
>>>>> Now I noticed a strange behaviour.
>>>>> I have a gameserver running in a guest os. No problems on performance 
>>>>> side, really fast.
>>>>> The only thing, when I make a ping test after unspecific time periods I 
>>>>> get this: (this peaks are even there if the gameserver isn't running)
>>>>>
>>>>>
>>>>> As you can see, no peaks.
>>>>> Example of start command from a guest:
>>>>> kvm -hda apache.img -hdb apache_storage.img -m 512 -boot c -net 
>>>>> nic,vlan=0,macaddr=00:16:3e:00:00:01,model=rtl8139 -net tap -nographic 
>>>>> -daemonize
>>>>>
>>>>> Here the pings from the guest started with the command line listed above:
>>>>>
>>>>>    Reply from 195.24.77.171: bytes=32 time=37ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=37ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=97ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=60ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=186ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=363ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=368ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=972ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=673ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=1133ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=1198ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=1881ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=2341ms TTL=57
>>>>>    Reply from 195.24.77.171: bytes=32 time=2401ms TTL=57    
>>>>>           
>> Ok.  How long does it take for the latency to appear?  If it isn't too 
>> long, please run kvm with
>>
>>    strace -fF -ttT -o /tmp/trace kvm ...
>>
>> Note the time that latency appears so we can correlate with the logs.  
>> Be aware the logs can be quite large, so make sure you have some disk 
>> space ready.
>>     
>
Does using a different clock helps ( add "-clock hpet" or "-clock rtc" 
or "-clock unix" to kvm command line) ?

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

  parent reply	other threads:[~2007-12-05 11:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 22:44 Strange network behaviour Mike
     [not found] ` <4755D859.4090805-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05  7:53   ` Lynn Kerby
     [not found]     ` <52FC3F66-4055-4C6C-9920-8FE4C6BD2CCA-br2HoPxSX4msTnJN9+BGXg@public.gmane.org>
2007-12-05  9:06       ` Mike
     [not found]         ` <47566A0B.8040105-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05  9:17           ` Dor Laor
     [not found]             ` <47566CB2.9060706-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05  9:42               ` Mike
2007-12-05  9:46               ` Izik Eidus
2007-12-05 10:29   ` Avi Kivity
     [not found]     ` <47567D6D.8060802-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05 10:39       ` Mike
     [not found]         ` <47567FC7.9040106-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05 10:43           ` Avi Kivity
     [not found]             ` <475680E8.4060508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05 11:22               ` Mike
     [not found]                 ` <475689E0.5020901-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05 11:46                   ` Uri Lublin [this message]
2007-12-05 13:18                   ` Avi Kivity
     [not found]                     ` <4756A538.1050303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05 14:13                       ` Mike
     [not found]                         ` <4756B1F6.5080102-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05 15:56                           ` Avi Kivity
     [not found]                             ` <4756CA29.5030501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05 17:21                               ` Mike
     [not found]                                 ` <4756DE36.2020502-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
2007-12-05 18:05                                   ` Simon Gao
     [not found]                                     ` <4756E86B.8050402-g4dUTk+gKbW4mfPA/iJWtA@public.gmane.org>
2007-12-05 19:49                                       ` Lynn Kerby
2007-12-05 10:55       ` Pelle
     [not found]         ` <475683A6.5050900-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
2007-12-05 12:39           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47568FA6.1020101@qumranet.com \
    --to=uril-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox