Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 00:18:54 +0200
From:      Marko Zec <zec@fer.hr>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: Is anybody using ng_pipe?
Message-ID:  <20200819001854.3c6887fa@x23>
In-Reply-To: <CAFMmRNymC0aa8G0y_-3CM-puK_ZyR%2Brfdp%2B1Pk=NkxEkX8PvAg@mail.gmail.com>
References:  <CAFMmRNxgoSNX2%2BLd=eEXRH0q7-XFzSF=b2GPzZgNW1LDCvq5Xw@mail.gmail.com> <CAFMmRNwAQ-x2p1CGnzyEuDREtuwS8w4SiQCqwNoKKNWxREQ_cQ@mail.gmail.com> <20200818205725.2e03c8cb@x23> <CAFMmRNyGu-vUgCsDjjDmX9YcEAhCDD-tZHeFJzRtaCOx-bCrgw@mail.gmail.com> <20200818234416.5aec459c@x23> <CAFMmRNymC0aa8G0y_-3CM-puK_ZyR%2Brfdp%2B1Pk=NkxEkX8PvAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Aug 2020 18:04:24 -0400
Ryan Stone <rysto32@gmail.com> wrote:

> On Tue, Aug 18, 2020 at 5:43 PM Marko Zec <zec@fer.hr> wrote:
> > Since in ng_pipe we define BER as an one error in BER bits (integer
> > value), wouldn't your formula P = 1 - BER yield results less than or
> > equal to zero for all non-zero values of BER?  The domain of P is
> > [0..1], so that won't fly.
> >
> > Your analysis seems to be based on an assumption that the BER
> > parameter is given as a multiplier to 0.5**48, which it is not.
> >
> > The proper fix would be to clarify the current BER parameter
> > semantics in ng_pipe(4), not to break bridges with the existing
> > scripts / software which rely on ng_pipe.
> >
> > Cheers,
> >
> > Marko  
> 
> The manpage defined the BER parameter as follows:
> 
>             u_int64_t  ber;             /* errors per 2^48 bits */
> 
> If we instead want to change the documentation to match the
> implementation, that's fine too.

Yeah, I only saw that a few minutes ago...  Fixed in r364367.

Cheers

Marko



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