On 4/10/20 3:27 PM, John Baldwin wrote:
> Author: jhb
> Date: Fri Apr 10 22:27:45 2020
> New Revision: 359784
> URL: https://svnweb.freebsd.org/changeset/base/359784
> 
> Log:
>   Use both crypto engines on a T6.
>   
>   A T6 adapter contains two crypto engines on separate channels.  This
>   commit distributes sessions between the two engines.  Previously, only
>   the first engine was used.

In some simple benchmarks using KTLS with the traffic flowing over
one of the ports (cc0) of the same NIC ccr0 was on, throughput increased
from ~41 Gbps to 45 Gbps with this change (albeit with CPU usage increase
from 70% to 80%).

In addition, this commit adds a 'dev.ccr.<unit>.port_mask' sysctl which
controls which ports are enabled for new sessions.  Setting this to '2'
during this test to force all crypto requests to use the crypto engine
associated with the channel for cc1 (which was not being used to send any
traffic) further increased the throughput to around 48 Gbps while using
the same amount of CPU.

-- 
John Baldwin
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to