From: Sid Kapoor <sidkapoor2000@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] lan9118 network performance issue
Date: Tue, 29 Mar 2011 17:05:43 +0530 [thread overview]
Message-ID: <AANLkTimU9HA0J5oyVSxijPE0E2EAWMarsG5X84FNGEtv@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
Hi,
I am using ARM realview cortex a9 board with qemu-0.14.0
It uses lan9118 network interface. I am connecting to the outside network by
creating a bridge on my host's eth0 interface.
I am facing some network glitch while transferring a large file. If I
transfer a small file between my guest and host of size around 20-30 MB, the
transfer is smooth with transfer speed comparable to the host machine. But
if I try transferring a large file, of around 200 MB, the transfer of around
30-40 MB is smooth, after that the network stalls for a few seconds, around
15-20 seconds, then resumes with the file transfer.
I dig into the code a bit, in hw/lan9118.c . In this lan9118_writel() is
called for pushing packets into the tx_fifo for transferring the file.If the
'offset' is between 0x20 and 0x40, tx_fifo_push() is getting called. In this
case, the file transfer is smooth. The reason for stalling of network
is that is the offset is outside this range and tx_fifo_push() is not
getting called. While the network is stalled, the offset in lan9118_writel()
function is 0x58 and 0x5c to be precise.
What is the reason of network getting stalled for these offset values? What
is the significance of these offset for lan9118 interface?
Thanks,
Sid
[-- Attachment #2: Type: text/html, Size: 1387 bytes --]
reply other threads:[~2011-03-29 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=AANLkTimU9HA0J5oyVSxijPE0E2EAWMarsG5X84FNGEtv@mail.gmail.com \
--to=sidkapoor2000@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).