Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2023 18:42:14 -0700
From:      Rick Macklem <rick.macklem@gmail.com>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        Freddie Cash <fjwcash@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: RFC: NFS over TLS stats
Message-ID:  <CAM5tNy54ZX_D5nKGTxdHhpmpchSv0MddQjNuhku3D2tM6mrh_g@mail.gmail.com>
In-Reply-To: <63874.1698283976@kaos.jnpr.net>
References:  <CAM5tNy4=ioUd3gRqwEr5-ss7jek1N7DWc-b4_c4xWWEe-5uQyg@mail.gmail.com> <CAOjFWZ5cyS8LWo19qH2gqCQmDfPR1%2Bmxr0iebPA0HSZ4SuTsPw@mail.gmail.com> <63874.1698283976@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 25, 2023 at 6:33=E2=80=AFPM Simon J. Gerraty <sjg@juniper.net> =
wrote:
>
> Freddie Cash <fjwcash@gmail.com> wrote:
> > Have no technical comments, but a style suggestion:  put the tls at the=
 end to make the output look nicer.  :)
> >
> > kern.rpctls.snd_msgbytes: 21508
> > kern.rpctls.snd_msgbytes_tls: 20828
> > kern.rpctls.snd_msgcnt: 58
> > kern.rpctls.snd_msgcnt_tls: 57
> > kern.rpctls.rcv_msgbytes: 12072
> > kern.rpctls.rcv_tmsgbytes_tls: 12336
> > kern.rpctls.rcv_msgcnt: 58
> > kern.rpctls.rcv_msgcnt_tls: 57
>
> FWIW I'd probably go the opposite way with
>
> kern.rpctls.tls.snd_msgbytes: 20828
> kern.rpctls.tls.snd_msgcnt: 57
> kern.rpctls.tls.rcv_tmsgbytes: 12336
> kern.rpctls.tls.rcv_msgcnt: 57
>
> which allows for sysctl kern.rpctls.tls
Not sure what you mean?
I am listing counts for TLS and non-TLS so they can
be compared. As such, a "tls" in the last component of
the name is needed, unless I list the non-TLS ones
under something else like:
kern.rpc.snd_msgbytes

I currently actually have them all as:
kern.rpc.tls.XXX instead of kern.rpctls.XXX,
since there was already kern.rpc.gss.XXX.

rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy54ZX_D5nKGTxdHhpmpchSv0MddQjNuhku3D2tM6mrh_g>