From: Wang Yugui <wangyugui@e16-tech.com>
To: Sheng Mao <shngmao@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 3/3] btrfs-progs: add TLS arguments to send/receive
Date: Fri, 01 Jan 2021 13:53:51 +0800 [thread overview]
Message-ID: <20210101135350.AD49.409509F4@e16-tech.com> (raw)
In-Reply-To: <CA733030-4654-4D1D-9A29-5199178B0C79@gmail.com>
Hi, Sheng
> Hi Yugui,
>
> Thank you for the feedback!
>
> 1. Yes, we can do that. The reason why I use ―tls-addr on both sides is to introduce least vocabulary for users.
> 2. I don’t have a 10Gpbs NIC to have a thorough benchmark on TLS vs raw sockets. The flame graph shows
> decrypt_skb_update (related to TLS decoding) takes about 3.5% of CPU time for my 1Gbps setup. The transfer
> saturates the bandwidth. Do you have any 10Gbps devices? Would you mind to help me benchmarking after
> introducing ―tls-mode none?
Yes. We can benchmark this for 10G Gbps or 40Gbs.
Best Regards
Wang Yugui (wangyugui@e16-tech.com)
2021/01/01
> Thank you! Happy new year!
>
> Regards,
> Sheng
>
> > On Dec 31, 2020, at 04:16, Wang Yugui <wangyugui@e16-tech.com> wrote:
> >
> > Hi, Sheng Mao
> >
> > some feedback.
> >
> > 1, can we use 'listen-addr' for sever side, and 'conn-addr' for client
> > side?
> >
> > 2, can we support '--tls-mode none' for tcp without TLS,
> > and then change 'tls-port' to 'tcp-port'?
> >
> > Is there some boost performance for tcp without TLS too?
> >
> >
> >> +--tls-addr <url>::
> >> +Address to listen on. It can be an IP address or a domain name.
> >> +
> >> +--tls-port <port>::
> >> +The local port of the TLS connection.
> >> +
> >> +--tls-key <file>::
> >> +Use the key from file; otherwise read key from stdin. Key file is first parsed
> >> +as PEM format; if parsing fails, file content is treated as binary key.
> >> +
> >> +--tls-mode <mode>::
> >> +Use tls_12_128_gcm, tls_13_128_gcm, tls_12_256_gcm.
> >
> > Best Regards
> > Wang Yugui (wangyugui@e16-tech.com)
> > 2020/12/31
> >
> >
next prev parent reply other threads:[~2021-01-01 5:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-25 4:50 [PATCH 1/3] btrfs-progs: add Kernel TLS to btrfs send/receive shngmao
2020-12-25 4:50 ` [PATCH 2/3] btrfs-progs: add build support for ktls feature shngmao
2020-12-25 4:50 ` [PATCH 3/3] btrfs-progs: add TLS arguments to send/receive shngmao
2020-12-31 11:16 ` Wang Yugui
2020-12-31 18:33 ` Sheng Mao
2021-01-01 5:53 ` Wang Yugui [this message]
2021-01-02 3:49 ` [PATCH v2 1/3] btrfs-progs: add Kernel TLS to btrfs send/receive shngmao
2021-01-02 3:49 ` [PATCH v2 2/3] btrfs-progs: add build support for ktls feature shngmao
2021-01-02 3:49 ` [PATCH v2 3/3] btrfs-progs: add TLS arguments to send/receive shngmao
2021-01-02 10:45 ` [PATCH v2 1/3] btrfs-progs: add Kernel TLS to btrfs send/receive Wang Yugui
2021-01-02 15:47 ` Sheng Mao
2021-01-03 4:45 ` Wang Yugui
2021-01-03 5:57 ` Sheng Mao
2021-01-03 11:19 ` Wang Yugui
2021-01-04 3:52 ` Sheng Mao
2021-01-04 4:59 ` Wang Yugui
2021-01-04 6:25 ` Sheng Mao
2021-01-07 3:06 ` Sheng Mao
2021-01-02 4:08 ` [PATCH 3/3] btrfs-progs: add TLS arguments to send/receive Sheng Mao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210101135350.AD49.409509F4@e16-tech.com \
--to=wangyugui@e16-tech.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=shngmao@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.