lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 06 Jun 2018 14:08:20 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     doronrk@...com
Cc:     davejwatson@...com, tom@...ntonium.net, vakul.garg@....com,
        netdev@...r.kernel.org
Subject: Re: [PATCH net-next] strparser: Add __strp_unpause and use it in
 ktls.

From: Doron Roberts-Kedes <doronrk@...com>
Date: Wed, 6 Jun 2018 09:33:28 -0700

> strp_unpause queues strp_work in order to parse any messages that
> arrived while the strparser was paused. However, the process invoking
> strp_unpause could eagerly parse a buffered message itself if it held
> the sock lock.
> 
> __strp_unpause is an alternative to strp_pause that avoids the scheduling
> overhead that results when a receiving thread unpauses the strparser
> and waits for the next message to be delivered by the workqueue thread.
> 
> This patch more than doubled the IOPS achieved in a benchmark of NBD
> traffic encrypted using ktls.
> 
> Signed-off-by: Doron Roberts-Kedes <doronrk@...com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ