public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike <mike-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Strange network behaviour
Date: Wed, 05 Dec 2007 18:21:58 +0100	[thread overview]
Message-ID: <4756DE36.2020502@eliteserver.biz> (raw)
In-Reply-To: <4756CA29.5030501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

Avi Kivity schrieb:
> Mike wrote:
>> Sure,
>> here the ping results from the host to the guest atm of the peaks:
>> 64 bytes from postfix (195.24.77.173): icmp_seq=347 ttl=64 time=10.6 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=348 ttl=64 time=11.6 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=349 ttl=64 time=11.6 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=350 ttl=64 time=465 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=351 ttl=64 time=455 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=352 ttl=64 time=349 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=353 ttl=64 time=314 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=354 ttl=64 time=483 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=355 ttl=64 time=871 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=357 ttl=64 time=1889 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=358 ttl=64 time=1635 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=359 ttl=64 time=1973 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=360 ttl=64 time=1796 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=361 ttl=64 time=1961 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=362 ttl=64 time=2029 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=363 ttl=64 time=1994 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=364 ttl=64 time=1689 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=365 ttl=64 time=932 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=366 ttl=64 time=899 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=367 ttl=64 time=752 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=368 ttl=64 time=860 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=369 ttl=64 time=483 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=370 ttl=64 time=244 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=371 ttl=64 time=7.89 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=372 ttl=64 time=5.98 ms
>> 64 bytes from postfix (195.24.77.173): icmp_seq=373 ttl=64 time=6.31 ms
>>
>> The peaks started @ +/- 14:53:39 and ended @ +/- 14:53:59
>> You can download the trace file at:
>> http://www.eliteserver.biz/trace2.tar.gz
>>
>>
>>   
>
> The traces show that the periods of latency correspond to floods of 
> broadcast packets on the network
>
>>      10 29895 14:53:25
>>       9 29895 14:53:26
>>       9 29895 14:53:27
>>       9 29895 14:53:28
>>      16 29895 14:53:29
>>      19 29895 14:53:30
>>      19 29895 14:53:31
>>      14 29895 14:53:32
>>      13 29895 14:53:33
>>      12 29895 14:53:34
>>     205 29895 14:53:35
>>     203 29895 14:53:36
>>     276 29895 14:53:37
>>     234 29895 14:53:38
>>     234 29895 14:53:39
>>     243 29895 14:53:40
>>     234 29895 14:53:41
>>     259 29895 14:53:42
>>     228 29895 14:53:43
>>     325 29895 14:53:44
>>     242 29895 14:53:45
>>     271 29895 14:53:46
>>     251 29895 14:53:47
>>     227 29895 14:53:48
>>     178 29895 14:53:49
>>     166 29895 14:53:50
>>     271 29895 14:53:51
>>     244 29895 14:53:52
>>     287 29895 14:53:53
>>     196 29895 14:53:54
>>     215 29895 14:53:55
>>      83 29895 14:53:56
>>      65 29895 14:53:57
>>      10 29895 14:53:58
>>       9 29895 14:53:59
>>      10 29895 14:54:00
>>      14 29895 14:54:01
>>      14 29895 14:54:02
>>      12 29895 14:54:03
>>      13 29895 14:54:04
>>      16 29895 14:54:05
>
> The first column is the number of packets delivered at the time in the 
> third column.  The broadcast packets are clearly visible in the trace 
> as having \xff in the first 6 bytes of the packet.  The ping packet is 
> getting queued behind the broadcasts and thus delayed.
>
> However, kvm is capable of much more than 200 packets/sec.  I get 
> about 6500 here with a flood ping.  Can you try this on the host:
>
>   ping -f -q guest-ip
>
> Hit ctrl-C after a second or two and send the output.
>
> You can also try running wireshark on the host to capture the 
> broadcast packets.  Maybe they cause some processing on the guest and 
> slow it down.
>
9066 packets transmitted, 9055 received, 0% packet loss, time 1956ms
rtt min/avg/max/mdev = 0.078/0.171/16.659/0.181 ms, pipe 2, ipg/ewma 
0.215/0.213 ms

The same time a tried a ping over the internet. No peaks.

I also tried over a longer time, no peaks.

-------------------------------------------------------------------------
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 17:21 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
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 [this message]
     [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=4756DE36.2020502@eliteserver.biz \
    --to=mike-kciq9yavhvsv/sykb9dznq@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