Re: [PATCH rdma-next 1/2] IB/rxe: Offload CRC calculation when possible

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

 



On Thu, 2017-04-20 at 20:55 +0300, Leon Romanovsky wrote:
> From: yonatanc <yonatanc@xxxxxxxxxxxx>
> 
> Use CPU ability to perform CRC calculations, by
> replacing direct calls to crc32_le() with crypto_shash_updata().
> 
> The overall performance gain measured with ib_send_bw tool is 10% and
> it
> was tested on "Intel CPU ES-2660 v2 @ 2.20Ghz" CPU.
> 
> ib_send_bw -d rxe0  -x 1 -n 9000 -e  -s $((1024 * 1024 )) -l 100
> 
> -------------------------------------------------------------------
> --------------------------
> |             | bytes   | iterations | BW peak[MB/sec] | BW
> average[MB/sec] | MsgRate[Mpps] |
> -------------------------------------------------------------------
> --------------------------
> | crc32_le    | 1048576 | 9000       | inf             |
> 497.60             | 0.000498      |
> | CRC offload | 1048576 | 9000       | inf             |
> 546.70             | 0.000547      |
> -------------------------------------------------------------------
> --------------------------
> 
> Fixes: 8700e3e7c485 ("Soft RoCE driver")
> Signed-off-by: Yonatan Cohen <yonatanc@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>

Series applied, thanks.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux