Date: Wed, 25 Oct 2023 11:16:02 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: Rick Macklem <rick.macklem@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, Garrett Wollman <wollman@bimajority.org> Subject: Re: RFC: NFS over TLS stats Message-ID: <1929903544.3585.1698225362526@localhost> In-Reply-To: <CAM5tNy4=ioUd3gRqwEr5-ss7jek1N7DWc-b4_c4xWWEe-5uQyg@mail.gmail.com> References: <CAM5tNy4=ioUd3gRqwEr5-ss7jek1N7DWc-b4_c4xWWEe-5uQyg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Maybe tracking of errors can be useful. Great work on this! Regards, Ronald. Van: Rick Macklem <rick.macklem@gmail.com> Datum: woensdag, 25 oktober 2023 04:50 Aan: FreeBSD CURRENT <freebsd-current@freebsd.org>, Garrett Wollman <wollman@bimajority.org> Onderwerp: RFC: NFS over TLS stats > > Garrett Wollman asked me via email how a server > admin could tell what usage NFS over TLS was > happening. > > I admitted that there was nothing. I have come up > with a patch that generates the following: > kern.rpctls.snd_tls_msgbytes: 21508 > kern.rpctls.snd_msgbytes: 20828 > kern.rpctls.snd_tls_msgcnt: 57 > kern.rpctls.snd_msgcnt: 58 > kern.rpctls.rcv_tls_msgbytes: 12336 > kern.rpctls.rcv_msgbytes: 12072 > kern.rpctls.rcv_tls_msgcnt: 57 > kern.rpctls.rcv_msgcnt: 58 > > Basically counts of number of RPC messages > and total number of bytes those messages > result in. (Both with/without TLS.) > > Does this seem reasonable or are there better > statistics that could be generated? Obviously > any other suggestion might or might not be > practical to implement. > > Thanks, rick > > > > [-- Attachment #2 --] <html><head></head><body>Maybe tracking of errors can be useful.<br> <br> Great work on this!<br> <br> Regards,<br> Ronald.<br> <br> <p><strong>Van:</strong> Rick Macklem <rick.macklem@gmail.com><br> <strong>Datum:</strong> woensdag, 25 oktober 2023 04:50<br> <strong>Aan:</strong> FreeBSD CURRENT <freebsd-current@freebsd.org>, Garrett Wollman <wollman@bimajority.org><br> <strong>Onderwerp:</strong> RFC: NFS over TLS stats</p> <blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px"> <div class="MessageRFC822Viewer" id="P"> <div class="TextPlainViewer" id="P.P">Garrett Wollman asked me via email how a server<br> admin could tell what usage NFS over TLS was<br> happening.<br> <br> I admitted that there was nothing. I have come up<br> with a patch that generates the following:<br> kern.rpctls.snd_tls_msgbytes: 21508<br> kern.rpctls.snd_msgbytes: 20828<br> kern.rpctls.snd_tls_msgcnt: 57<br> kern.rpctls.snd_msgcnt: 58<br> kern.rpctls.rcv_tls_msgbytes: 12336<br> kern.rpctls.rcv_msgbytes: 12072<br> kern.rpctls.rcv_tls_msgcnt: 57<br> kern.rpctls.rcv_msgcnt: 58<br> <br> Basically counts of number of RPC messages<br> and total number of bytes those messages<br> result in. (Both with/without TLS.)<br> <br> Does this seem reasonable or are there better<br> statistics that could be generated? Obviously<br> any other suggestion might or might not be<br> practical to implement.<br> <br> Thanks, rick<br> </div> <hr></div> </blockquote> <br> </body></html>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1929903544.3585.1698225362526>
