[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: optimize checksum computation

From: Jason Wang
Subject: Re: [Qemu-devel] [PATCH] net: optimize checksum computation
Date: Mon, 9 Jan 2017 11:32:48 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2017年01月08日 17:03, Dmitry Fleytman wrote:
On 6 Jan 2017, at 10:08 AM, Ladi Prosek <address@hidden> wrote:

Very simple loop optimization with a significant performance impact.

Microbenchmark results, modern x86-64:

buffer size | speed up
1500        | 1.7x
64          | 1.5x
8           | 1.15x

Microbenchmark results, POWER7:

buffer size | speed up
1500        | 5x
64          | 3.3x
8           | 1.13x

There is a lot of room for further improvement at the expense of
code complexity - aligned multibyte reads, LE/BE considerations,
architecture-specific optimizations, etc. This patch still keeps
things simple and readable.
Reviewed-by: Dmitry Fleytman <address@hidden>

Applied to -net.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]