| Deutsch English Français Italiano |
|
<wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!earthli!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: Richard Kettlewell <invalid@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Sun, 24 Nov 2024 19:14:59 +0000
Organization: terraraq NNTP server
Message-ID: <wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhmm4c$hnbj$1@dont-email.me> <vhmn2t$hv8i$3@dont-email.me>
<vhnikj$me7m$1@dont-email.me> <vhoaau$qjkl$1@dont-email.me>
<lIqcnTlkpf_Jtd36nZ2dnZfqn_udnZ2d@earthlink.com>
<vhp9hs$12qaa$2@dont-email.me>
<v4adnSK1nItcwNz6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhrolu$1jata$1@dont-email.me>
<Oo6dnZb3z-NT6Nz6nZ2dnZfqnPednZ2d@earthlink.com>
<vhsdbi$1m6qu$1@dont-email.me> <vhth7o$1s5d5$4@dont-email.me>
<heednZLHO-zE69_6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhvd06$2900d$1@dont-email.me> <vhvht1$28nn4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="143974"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:gmC8DLKazz7lQP4rgn4a98na1RU=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
Bytes: 2828
Lines: 29
Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> On Sun, 24 Nov 2024 14:25:10 +0000, Rich wrote:
>> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>>> On 11/23/24 4:25 PM, Lawrence D'Oliveiro wrote:
>>>> That’s irrelevant. Pipes originated on the earliest Unix machine,
>>>> which was a PDP-11 with only a 64kiB address space. They work great
>>>> for pumping around gigabytes of data, but you don’t need
>>>> gigabyte-sized memory buffers to do that.
>>>
>>> It all has to be SOMEWHERE ... if not in RAM then
>>> on a mass storage device.
>>
>> Nope, at least not with pipes.
>
> Hold on a sec.... pipes are /buffered/ in RAM, so there's at least
> a small bit of ram set aside for each open pipe.
The word ‘all’ isn’t just decoration. The claim was ‘it all has to be
somewhere’, and Rich’s point (as I understand it) is that it does not
all have to be somewhere.
For example,
head -c $((1024*1024*1024)) /dev/urandom | sha256sum
puts a gigabyte of data through a pipe, but at no point does anything
allocate anywhere close to a gigabyte of storage of any kind.
--
https://www.greenend.org.uk/rjk/