[jboss-jira] [JBoss JIRA] (JGRP-2065) RoundTrip: latency is high compared to RoundTripTcp/RoundTripServer
Bela Ban (JIRA)
issues at jboss.org
Wed May 18 05:42:00 EDT 2016
[ https://issues.jboss.org/browse/JGRP-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-2065:
---------------------------
Description:
{{RoundTrip}} is a simple test between 2 members where the sender continually sends a message, the receiver receives it and sends the response, and the sender unblocks when the response is received. The time for the request is then logged at the sender and a min/avg/max value is computed (probably changed to histograms later).
{{RoundTrip}} uses a JGroups channel, configured with {{-props}}, e.g. {{-props ~/tcp.xml}}.
{{RoundTripTcp}} does the same, but uses direct TCP sockets (no JGroups) for communication.
{{RoundTripServer}} uses the client-server classes of JGroups for communication, but no channel is used.
Round trip times (both processes on the same box, a Mac mini):
* {{RoundTrip}} (with {{tcp.xml}} shipped with JGroups): *110 us*
* {{RoundTripTcp}}: *46 us*
* {{RoundTripServer}}: *49 us*
was:
{{RoundTrip}} is a simple test between 2 members where the sender continually sends a message, the receiver receives it and sends the response, and the sender unblocks when the response is received. The time for the request is then logged at the sender and a min/avg/max value is computed (probably changed to histograms later).
RoundTrip uses a JGroups channel, configured with {{-props}}, e.g. {{-props ~/tcp.xml}}.
{{RoundTripTcp}} does the same, but uses direct TCP sockets (no JGroups) for communication.
{{RoundTripServer}} uses the client-server classes of JGroups for communication, but no channel is used.
> RoundTrip: latency is high compared to RoundTripTcp/RoundTripServer
> -------------------------------------------------------------------
>
> Key: JGRP-2065
> URL: https://issues.jboss.org/browse/JGRP-2065
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0
>
>
> {{RoundTrip}} is a simple test between 2 members where the sender continually sends a message, the receiver receives it and sends the response, and the sender unblocks when the response is received. The time for the request is then logged at the sender and a min/avg/max value is computed (probably changed to histograms later).
> {{RoundTrip}} uses a JGroups channel, configured with {{-props}}, e.g. {{-props ~/tcp.xml}}.
> {{RoundTripTcp}} does the same, but uses direct TCP sockets (no JGroups) for communication.
> {{RoundTripServer}} uses the client-server classes of JGroups for communication, but no channel is used.
> Round trip times (both processes on the same box, a Mac mini):
> * {{RoundTrip}} (with {{tcp.xml}} shipped with JGroups): *110 us*
> * {{RoundTripTcp}}: *46 us*
> * {{RoundTripServer}}: *49 us*
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list