Thread (8 messages) flat view 8 messages, 5 authors, 2021-12-01

Re: [PATCH v2] x86/csum: rewrite csum_partial()

From: Eric Dumazet <edumazet@google.com>
Date: 2021-11-12 17:36:37

On Fri, Nov 12, 2021 at 9:23 AM Eric Dumazet [off-list ref] wrote:
On Fri, Nov 12, 2021 at 8:45 AM Peter Zijlstra [off-list ref] wrote:
quoted
quoted
Looks nice, happen to have shiny perf numbers to show how awesome it it?
:-)
On a networking load on cascadlake, line rate received on a single thread, I see
perf -e cycles:pp -C <cpu>

Before:
       4.16%  [kernel]       [k] csum_partial
After:
        0.83%  [kernel]       [k] csum_partial

If run in a loop 1,000,000 times,
However, there must be an error in my patch, return values are not the
same on unaligned buffers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help