From: "Robert Pearson" <rpearson-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
To: 'Roland Dreier' <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Cc: 'Jason Gunthorpe'
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
'frank zago'
<fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
'John Groves'
<john-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
Subject: RE: [Announce] rxe dev tree available (soft RDMAoE)
Date: Thu, 17 Dec 2009 15:43:56 -0600 [thread overview]
Message-ID: <03d101ca7f62$0dea4560$29bed020$@com> (raw)
In-Reply-To: <adazl5h47ix.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
I agree about the polynomial. That would have been nice. As currently
proposed the embedding of the IB transport in Ethernet frames preserves the
IB ICRC as part of the transport and trades the VCRC for Ethernet's CRC32
over the whole frame. This means that the packet is effectively covered by
CRC32 twice except for the 802 headers and the fields that are excluded from
the ICRC. CRC32C should give better protection.
We have thought that we could try CRC32C first and if that works then use
that, otherwise fall back to CRC32 which would allow rxe to use CRC32C when
talking to itself and get a speedup on new Intel CPUs.
The crc32 code we have is based on some suggestions from Intel and seems to
be much faster than the 'standard' code in the kernel and we are/were
planning to merge the crc computation with the data copy. It is actually
less explicitly optimized than the code in the kernel but when we use the
loop unrolling directive in the compiler we get better overall results. That
core loop gives us about 5-6GB/sec for the copy/crc vs about 500MB/sec for
the 'standard' crc + copy.
Our plan is to strip out all the trace and dump code when the driver is
stable. We will keep the warn and error messages.
Bob
-----Original Message-----
From: Roland Dreier [mailto:rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org]
Sent: Thursday, December 17, 2009 3:26 PM
To: Robert Pearson
Cc: 'Jason Gunthorpe'; 'frank zago'; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; 'John
Groves'
Subject: Re: [Announce] rxe dev tree available (soft RDMAoE)
> Yes, but later. For now it is still being actively developed and is
changing
> a lot. Once it settles down we plan to convert to patches and push up
> stream.
I think you would probably be better off developing the kernel driver as
a branch in an up-to-date kernel tree, and then worrying about backports
later. You could get rid of some of the redundant infrastructure like
dump_hex() and crc32 (too bad IB didn't choose the CRC32C polynomial, so
you can't use the crypto API and get Intel CRC32 instruction
acceleration for free).
- R.
--
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:[~2009-12-17 21:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 21:06 [Announce] rxe dev tree available (soft RDMAoE) frank zago
[not found] ` <4B294BDD.3010405-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2009-12-16 21:38 ` Jason Gunthorpe
[not found] ` <20091216213816.GV6188-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2009-12-16 21:46 ` Robert Pearson
2009-12-16 22:20 ` Sean Hefty
[not found] ` <7FFE592E129646A2B0DB5AC99D0261C7-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2009-12-16 22:36 ` Robert Pearson
2009-12-16 23:53 ` Roland Dreier
[not found] ` <adafx7a79xh.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2009-12-17 1:32 ` Dave Olson
2009-12-17 17:36 ` Robert Pearson
2009-12-17 21:25 ` Roland Dreier
[not found] ` <adazl5h47ix.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2009-12-17 21:43 ` Robert Pearson [this message]
2009-12-17 21:56 ` Roland Dreier
2009-12-17 22:04 ` Jason Gunthorpe
2009-12-17 23:17 ` Robert Pearson
[not found] ` <20091217220450.GA8383-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2009-12-17 23:00 ` Robert Pearson
2009-12-17 23:30 ` Jason Gunthorpe
2009-12-17 23:35 ` Roland Dreier
2009-12-17 23:46 ` Roland Dreier
2009-12-17 23:10 ` Robert Pearson
2009-12-17 0:19 ` Woodruff, Robert J
[not found] ` <382A478CAD40FA4FB46605CF81FE39F4431FB84A-osO9UTpF0URzLByeVOV5+bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2009-12-17 0:59 ` fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5
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='03d101ca7f62$0dea4560$29bed020$@com' \
--to=rpearson-klaocwyjdxkshymvu7je4pqqe7ycjdx5@public.gmane.org \
--cc=fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=john-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@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