From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) From: Francisco J Ballesteros In-Reply-To: Date: Sun, 14 Oct 2018 09:38:26 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7aa20c07322147e6@orthanc.ca> <20181011230430.8ec148a3cb2a4d95180a4ad2@eigenstate.org> <4A1686D0-C80C-417F-A3D6-3F9EA327D35F@lsub.org> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] zero copy & 9p (was Re: PDP11 (Was: Re: what heavy negativity!) Topicbox-Message-UUID: ed74aa98-ead9-11e9-9d60-3106f5b1d025 Pure "producer/cosumer" stuff, like sending things through a pipe as = long as the source didn't need to touch the data ever more. Regarding bugs, I meant "producing bugs" not "fixing bugs", btw. > On 14 Oct 2018, at 09:34, hiro <23hiro@gmail.com> wrote: >=20 > well, finding bugs is always good :) > but since i got curious could you also tell which things exactly got > much faster, so that we know what might be possible? >=20 > On 10/14/18, FJ Ballesteros wrote: >> yes. bugs, on my side at least. >> The copy isolates from others. >> But some experiments in nix and in a thing I wrote for leanxcale show = that >> some things can be much faster. >> It=E2=80=99s fun either way. >>=20 >>> El 13 oct 2018, a las 23:11, hiro <23hiro@gmail.com> escribi=C3=B3: >>>=20 >>> and, did it improve anything noticeably? >>>=20 >>>> On 10/13/18, Charles Forsyth wrote: >>>> I did several versions of one part of zero copy, inspired by = several >>>> things >>>> in x-kernel, replacing Blocks by another structure throughout the >>>> network >>>> stacks and kernel, then made messages visible to user level. Nemo = did >>>> another part, on his way to Clive >>>>=20 >>>>> On Fri, 12 Oct 2018, 07:05 Ori Bernstein, = wrote: >>>>>=20 >>>>> On Thu, 11 Oct 2018 13:43:00 -0700, Lyndon Nerenberg >>>>> >>>>> wrote: >>>>>=20 >>>>>> Another case to ponder ... We're handling the incoming I/Q data >>>>>> stream, but need to fan that out to many downstream consumers. = If >>>>>> we already read the data into a page, then flip it to the first >>>>>> consumer, is there a benefit to adding a reference counter to = that >>>>>> read-only page and leaving the page live until the counter = expires? >>>>>>=20 >>>>>> Hiro clamours for benchmarks. I agree. Some basic searches I've >>>>>> done don't show anyone trying this out with P9 (and publishing >>>>>> their results). Anybody have hints/references to prior work? >>>>>>=20 >>>>>> --lyndon >>>>>>=20 >>>>>=20 >>>>> I don't believe anyone has done the work yet. I'd be interested >>>>> to see what you come up with. >>>>>=20 >>>>>=20 >>>>> -- >>>>> Ori Bernstein >>>>>=20 >>>>>=20 >>>>=20 >>>=20 >>=20 >>=20 >>=20 >=20