From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
To: kvm-ppc@vger.kernel.org
Subject: [kvm-ppc-devel] virtio network traffic issues
Date: Tue, 25 Mar 2008 13:45:47 +0000 [thread overview]
Message-ID: <47E9020B.3080705@linux.vnet.ibm.com> (raw)
Hi,
I analyzed the network traffic to get a feeling where our bug may be located.
I summarize some things I think I see in that data
Environment:
192.168.1.2 = nfs host
192.168.1.3 = ppc host
192.168.1.4 = ppc host 2nd network interface (not active, but bridged to tap)
192.168.1.10 = ppc vkvm guest - configured via dhcp (working)
time 0-25: host nfs and telnet
time ~25: DHCP discover from kvm guest + offer answer from dhcp server
after that there are arp requests for the nfs host which are answered correctly
the guest starts to get a portmap response for nfs and mounts the nfs share
Then the guest does some nfs getattr, statfs calls followed by some larger read calls (fragmented)
The read calls are single packets while the reply (the data) is fragmented
In the wireshark protocol we even see that it accesses 1st dev/console and then /sbin/init (this is where the reads go to)
This continues to ld.1.so and other libs which are read via nfs (response looks good)
packet 350 is retransmitted as packet 356 - there is no visible error - so it must have been a ?timeout?
then we get more retransmissions of that request ( there are replies to these requests all the time - does the guest not "see them"?)
packet 365 is then a reply to a getattr call before
=> it looks as if after #353 no packet was actually received by the guest
after that only timeouts retransmits and unanswered arp requests are seen
packet 368-385 have some kind of arp flood asking for 192.168.1.10 (the kvm guest) but there is no reply to that too
First these are direct arp requests then broadcasts - this looks (as described above) as if after packet 353 no packet is recieved by the guest
The rest is my telnet connection aborting the kvm guest and some host->nfs server traffic not interesting for us:
Summary:
=> from one not yet defined point our guest seems to receive absolutely nothing
=> when the guest is hanging it sends nfs requests which are seen externally, but it does not seem to get the respones
=> the arp requests for the guest are repeated - maybe we can add some very verbose debug in the guest virtio code and activate it when we see that it is already hanging
=> ideas:
- maybe some buffer/memory runs out and so incoming packets won't be received anymore
- we break something in virtio / incoming interrupts (or maybe a lock) and from that point no receive is possible
I'll continue on that and keep you informed
--
Grüsse / regards,
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization
-------------------------------------------------------------------------
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/
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel
next reply other threads:[~2008-03-25 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-25 13:45 Christian Ehrhardt [this message]
2008-03-25 13:52 ` [kvm-ppc-devel] virtio network traffic issues Hollis Blanchard
2008-03-26 16:07 ` Christian Ehrhardt
2008-03-26 16:07 ` Christian Ehrhardt
2008-03-26 17:03 ` Dor Laor
2008-03-26 17:03 ` Dor Laor
2008-03-26 16:06 ` Christian Ehrhardt
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=47E9020B.3080705@linux.vnet.ibm.com \
--to=ehrhardt@linux.vnet.ibm.com \
--cc=kvm-ppc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.