* [uml-devel] UDP vs. TCP performance over UML
@ 2007-06-12 11:01 George Hadjichristofi
2007-06-12 15:04 ` Jeff Dike
0 siblings, 1 reply; 4+ messages in thread
From: George Hadjichristofi @ 2007-06-12 11:01 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: 'shruti singhal'
[-- Attachment #1.1: Type: text/plain, Size: 1100 bytes --]
Dear All,
We are doing some UML performance testing and we are getting some
non-sensible UDP statistics.
We have deployed the following network of two nodes:
A--------B
Node A is connected to node B via a wired link (100 Mbps) and node A is
running one UML instance.
We used the Iperf traffic generator to execute performance measurements for
both TCP and UDP.
Measurements:
When we use TCP the throughput is 100 Mbps from the UML instance of node A
to the host kernel of node B and 100 Mbps from the host kernel of node A to
the host kernel of node B. However, when we use UDP the throughput is only
26 Mbps from the UML instance on node A to the host kernel of node B, but
100 Mbps from the host kernel of node A to the host kernel of node B. We
also notice that a large number of packets were dropped in the case of UDP
over UML.
What is the reason that UDP throughput is so much lower than TCP?
Why are packets being dropped given that Iperf is blocking?
We appreciate any guidance on this matter.
Regards,
George Hadjichristofi
WINLAB, Rutgers University
[-- Attachment #1.2: Type: text/html, Size: 5779 bytes --]
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] UDP vs. TCP performance over UML
2007-06-12 11:01 [uml-devel] UDP vs. TCP performance over UML George Hadjichristofi
@ 2007-06-12 15:04 ` Jeff Dike
2007-06-13 0:32 ` George Hadjichristofi
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2007-06-12 15:04 UTC (permalink / raw)
To: George Hadjichristofi; +Cc: 'shruti singhal', user-mode-linux-devel
On Tue, Jun 12, 2007 at 07:01:05AM -0400, George Hadjichristofi wrote:
> When we use TCP the throughput is 100 Mbps from the UML instance of node A
> to the host kernel of node B and 100 Mbps from the host kernel of node A to
> the host kernel of node B. However, when we use UDP the throughput is only
> 26 Mbps from the UML instance on node A to the host kernel of node B, but
> 100 Mbps from the host kernel of node A to the host kernel of node B. We
> also notice that a large number of packets were dropped in the case of UDP
> over UML.
At what interface are the packets being dropped?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] UDP vs. TCP performance over UML
2007-06-12 15:04 ` Jeff Dike
@ 2007-06-13 0:32 ` George Hadjichristofi
2007-06-13 1:24 ` Jeff Dike
0 siblings, 1 reply; 4+ messages in thread
From: George Hadjichristofi @ 2007-06-13 0:32 UTC (permalink / raw)
To: 'Jeff Dike', 'George Hadjichristofi'
Cc: 'shruti singhal', user-mode-linux-devel
Hi Jeff,
We took some more measurements. This is what we have:
A to B with UML: 46Mbps with UDP, 147Mbps with TCP
A to B from Host kernel: 285 Mbps for both UDP and TCP
In the case of A to B (with UML on A) there are packets dropped. Based on
Ifconfig on the host kernel the packets seem to drop between tap0 and eth0
on the host kernel. (i.e., the number of packets on tap0 is higher than
eth0).
Hope that was clear enough.
Thank you,
George
-----Original Message-----
From: user-mode-linux-devel-bounces@lists.sourceforge.net
[mailto:user-mode-linux-devel-bounces@lists.sourceforge.net] On Behalf Of
Jeff Dike
Sent: Tuesday, June 12, 2007 11:04 AM
To: George Hadjichristofi
Cc: 'shruti singhal'; user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] UDP vs. TCP performance over UML
On Tue, Jun 12, 2007 at 07:01:05AM -0400, George Hadjichristofi wrote:
> When we use TCP the throughput is 100 Mbps from the UML instance of node
A
> to the host kernel of node B and 100 Mbps from the host kernel of node A
to
> the host kernel of node B. However, when we use UDP the throughput is
only
> 26 Mbps from the UML instance on node A to the host kernel of node B, but
> 100 Mbps from the host kernel of node A to the host kernel of node B. We
> also notice that a large number of packets were dropped in the case of UDP
> over UML.
At what interface are the packets being dropped?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] UDP vs. TCP performance over UML
2007-06-13 0:32 ` George Hadjichristofi
@ 2007-06-13 1:24 ` Jeff Dike
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2007-06-13 1:24 UTC (permalink / raw)
To: George Hadjichristofi; +Cc: 'shruti singhal', user-mode-linux-devel
On Tue, Jun 12, 2007 at 08:32:15PM -0400, George Hadjichristofi wrote:
> In the case of A to B (with UML on A) there are packets dropped. Based on
> Ifconfig on the host kernel the packets seem to drop between tap0 and eth0
> on the host kernel. (i.e., the number of packets on tap0 is higher than
> eth0).
ifconfig tells you directly how many packets are dropped. What does the
"dropped:" field say?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-13 1:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12 11:01 [uml-devel] UDP vs. TCP performance over UML George Hadjichristofi
2007-06-12 15:04 ` Jeff Dike
2007-06-13 0:32 ` George Hadjichristofi
2007-06-13 1:24 ` Jeff Dike
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.