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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 8 Sep 2022 12:56:16 +0300
From:   Leon Romanovsky <leonro@...dia.com>
To:     Steffen Klassert <steffen.klassert@...unet.com>
CC:     "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        "Jakub Kicinski" <kuba@...nel.org>, <netdev@...r.kernel.org>,
        Paolo Abeni <pabeni@...hat.com>, Raed Salem <raeds@...dia.com>,
        Saeed Mahameed <saeedm@...dia.com>,
        Bharat Bhushan <bbhushan2@...vell.com>
Subject: Re: [PATCH RFC xfrm-next v3 0/8] Extend XFRM core to allow full
 offload configuration

On Sun, Sep 04, 2022 at 04:15:34PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@...dia.com>
> 
> Changelog:
> v4:

<...>

>  * perf traces for crypto mode will come later.

Single core RX:
# Children      Self       Samples  Command        Shared Object       Symbol
# ........  ........  ............  .............  ..................  .......................................
#
    99.97%     0.00%             0  ksoftirqd/143  [kernel.vmlinux]    [k] ret_from_fork
            |
            ---ret_from_fork
               kthread
               smpboot_thread_fn
               |
                --99.96%--run_ksoftirqd
                          __do_softirq
                          |
                           --99.86%--net_rx_action
                                     |
                                     |--61.49%--mlx5e_napi_poll
                                     |          |
                                     |          |--58.43%--mlx5e_poll_rx_cq
                                     |          |          |
                                     |          |           --57.27%--mlx5e_handle_rx_cqe
                                     |          |                     |
                                     |          |                     |--33.05%--napi_gro_receive
                                     |          |                     |          |
                                     |          |                     |           --32.42%--dev_gro_receive
                                     |          |                     |                     |
                                     |          |                     |                      --29.64%--inet_gro_receive
                                     |          |                     |                                |
                                     |          |                     |                                 --27.70%--esp4_gro_receive
                                     |          |                     |                                           |
                                     |          |                     |                                            --25.80%--xfrm_input
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--6.86%--xfrm4_transport_finish
                                     |          |                     |                                                      |          |
                                     |          |                     |                                                      |          |--4.19%--__memmove
                                     |          |                     |                                                      |          |
                                     |          |                     |                                                      |           --1.27%--ip_send_check
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--6.02%--esp_input_done2
                                     |          |                     |                                                      |          |
                                     |          |                     |                                                      |           --3.26%--skb_copy_bits
                                     |          |                     |                                                      |                     |
                                     |          |                     |                                                      |                      --2.50%--memcpy_erms
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--2.19%--_raw_spin_lock
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--1.22%--xfrm_rcv_cb
                                     |          |                     |                                                      |          |
                                     |          |                     |                                                      |           --0.68%--xfrm4_rcv_cb
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--0.97%--xfrm_inner_mode_input.isra.35
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--0.97%--gro_cells_receive
                                     |          |                     |                                                      |
                                     |          |                     |                                                      |--0.69%--esp_input_tail
                                     |          |                     |                                                      |
                                     |          |                     |                                                       --0.66%--xfrm_parse_spi
                                     |          |                     |
                                     |          |                     |--11.91%--mlx5e_skb_from_cqe_linear
                                     |          |                     |          |
                                     |          |                     |           --5.63%--build_skb
                                     |          |                     |                     |
                                     |          |                     |                      --3.82%--__build_skb
                                     |          |                     |                                |
                                     |          |                     |                                 --1.97%--kmem_cache_alloc
                                     |          |                     |
                                     |          |                      --9.97%--mlx5e_build_rx_skb
                                     |          |                                |
                                     |          |                                 --7.23%--mlx5e_ipsec_offload_handle_rx_skb
                                     |          |                                           |
                                     |          |                                           |--3.60%--secpath_set
                                     |          |                                           |          |
                                     |          |                                           |           --3.41%--skb_ext_add
                                     |          |                                           |                     |
                                     |          |                                           |                      --2.69%--__skb_ext_alloc
                                     |          |                                           |                                |
                                     |          |                                           |                                 --2.58%--kmem_cache_alloc
                                     |          |                                           |                                           |
                                     |          |                                           |                                            --0.60%--__slab_alloc
                                     |          |                                           |                                                      |
                                     |          |                                           |                                                       --0.56%--___slab_alloc
                                     |          |                                           |
                                     |          |                                            --2.52%--mlx5e_ipsec_sadb_rx_lookup
                                     |          |
                                     |           --2.78%--mlx5e_post_rx_wqes
				   
I have TX traces too and can add if RX are not sufficient. 

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ