From: Jonathan Rosser <jonathan.rosser-gjMux1o1B1/QXOPxS62xeg@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: asynchronous operation with poll()
Date: Wed, 10 Nov 2010 16:05:02 +0000 [thread overview]
Message-ID: <ibefrf$9qq$1@dough.gmane.org> (raw)
In-Reply-To: <4538690.1289385043068.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org>
On 11/10/10 10:30, Andrea Gozzelino wrote:
> Hi Jonathan,
>
> I wrote down a test (latency and transfer speed) with RDMA.
> Server and client work with the same code and they change defined size
> buffers for n times (loop). In the makefile.txt, you can find an help to
> use the code.
>
> I tested Intel NetEffect NE020 E10G81GP cards with this code and I found
> minimum latency about 11 us,maximum transfer speed about 9,6 GBytes, CPU
> usage up to 90% on client side.
> The last value is not good for us.
Hi Andrea,
Thanks for the code. With the advice from Jason I have changed my test
program to get reliable communication using 1Mbyte buffers. The CPU
usage is less than 2% on both client and server for 10Gb throughput. I
have Chelsio S310CR.
I find using the poll() approach more natural as I have experience with
conventional sockets based programming before.
The rdma_client/rdma_server example programs from librdmacm were the
easiest to start from and I have incrementally changed them from
synchronous to asynchronous operation, and moved the internals of the
high level functions in <rdma/rdma_verbs.h> into my own code piece by
piece. The learning curve is very steep :)
I found this paper quite interesting
www.systems.ethz.ch/research/awards/minimizingthehidden.pdf
Cheers,
Jonathan.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-11-10 16:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-09 15:58 asynchronous operation with poll() Jonathan Rosser
2010-11-09 20:44 ` Jason Gunthorpe
[not found] ` <20101109204452.GG909-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-11-10 10:30 ` Andrea Gozzelino
[not found] ` <4538690.1289385043068.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org>
2010-11-10 16:05 ` Jonathan Rosser [this message]
2010-11-11 8:43 ` Andrea Gozzelino
2010-11-10 14:39 ` Jonathan Rosser
2010-11-10 17:43 ` Roland Dreier
[not found] ` <adak4klqdlb.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-11-10 17:56 ` Jason Gunthorpe
2010-11-10 18:04 ` Jason Gunthorpe
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='ibefrf$9qq$1@dough.gmane.org' \
--to=jonathan.rosser-gjmux1o1b1/qxopxs62xeg@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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 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.