From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Tom Ammon <tom.ammon-wbocuHtxKic@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: IB perf test questions
Date: Wed, 14 Jul 2010 15:16:50 -0600 [thread overview]
Message-ID: <20100714211650.GA7348@obsidianresearch.com> (raw)
In-Reply-To: <4C3E1DDF.1090305-wbocuHtxKic@public.gmane.org>
On Wed, Jul 14, 2010 at 02:28:15PM -0600, Tom Ammon wrote:
> Also, whether I use ib_read_bw or ib_write_bw, the machine I initiate
> the test from (in this case "taildrop") shows one of its CPU cores
> pegged at 100% for the duration of the test, but I see no CPU
> utilization at all on the receiving node. Can someone explain to me
> what's going on under the hood, here? I would think that read_bw would
> load up the sending host but that write_bw would load up the receiving
> host (or maybe vice versa), so this seems counterintuitive to me. when I
> use the -b flag to do a bidirectional test, a single CPU core on both
> machines pegs at 100%.
In all cases the master machine sits in a CPU bound loop waiting for
completions so it can issue more RDMA operations. The difference
between write and read is simply the RDMA op that is issued.
The slave side just sits there and the NIC does all the work.
Bi-directional mode runs a master operation on both sides..
Jason
--
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-07-14 21:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 20:28 IB perf test questions Tom Ammon
[not found] ` <4C3E1DDF.1090305-wbocuHtxKic@public.gmane.org>
2010-07-14 21:16 ` Jason Gunthorpe [this message]
2010-07-15 5:04 ` Boris Shpolyansky
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=20100714211650.GA7348@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tom.ammon-wbocuHtxKic@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox