Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You are standing on my toes.


comp / comp.os.linux.misc / Re: Are We Back to the "Wars" Now ?

SubjectAuthor
* Are We Back to the "Wars" Now ?186282@ud0s4.net
+* Re: Are We Back to the "Wars" Now ?D
|`* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
| `- Re: Are We Back to the "Wars" Now ?D
+- Re: Are We Back to the "Wars" Now ?Pancho
+- Re: Are We Back to the "Wars" Now ?Richard Kettlewell
+* Re: Are We Back to the "Wars" Now ?Rich
|`* Re: Are We Back to the "Wars" Now ?Phillip Frabott
| `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|  `* Re: Are We Back to the "Wars" Now ?Phillip Frabott
|   `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|    `* Re: Are We Back to the "Wars" Now ?Phillip Frabott
|     +* Re: Are We Back to the "Wars" Now ?Richard Kettlewell
|     |`* Re: Are We Back to the "Wars" Now ?Phillip Frabott
|     | +* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|     | |`* Re: Are We Back to the "Wars" Now ?vallor
|     | | +* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|     | | |`* Re: Are We Back to the "Wars" Now ?vallor
|     | | | `* Named pipes vs. Unix sockets (was: Re: Are We Back to the "Wars" Now ?)vallor
|     | | |  `* Re: Named pipes vs. Unix socketsvallor
|     | | |   +- Re: Named pipes vs. Unix socketsLawrence D'Oliveiro
|     | | |   `* Re: Named pipes vs. Unix socketsPhillip Frabott
|     | | |    +* Re: Named pipes vs. Unix socketsLawrence D'Oliveiro
|     | | |    |`* Re: Named pipes vs. Unix socketsPhillip Frabott
|     | | |    | `- Re: Named pipes vs. Unix socketsLawrence D'Oliveiro
|     | | |    `* Re: Named pipes vs. Unix socketsRichard L. Hamilton
|     | | |     `* Re: Named pipes vs. Unix socketsLawrence D'Oliveiro
|     | | |      `- Re: Named pipes vs. Unix socketsRichard L. Hamilton
|     | | `* Re: Are We Back to the "Wars" Now ?Rich
|     | |  +* Re: Are We Back to the "Wars" Now ?vallor
|     | |  |+- Re: Are We Back to the "Wars" Now ?Rich
|     | |  |`- Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|     | |  `- Pipes v. FIFOs (was: Are We Back to the "Wars" Now ?)Geoff Clare
|     | `- Re: Are We Back to the "Wars" Now ?Richard Kettlewell
|     `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|      `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
|       `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|        `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
|         `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|          `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
|           +* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|           |`* Re: Are We Back to the "Wars" Now ?Carlos E.R.
|           | +* Re: Are We Back to the "Wars" Now ?Fritz Wuehler
|           | |`- Re: Are We Back to the "Wars" Now ?Carlos E.R.
|           | `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|           |  `- Re: Are We Back to the "Wars" Now ?Carlos E.R.
|           `* Re: Are We Back to the "Wars" Now ?The Natural Philosopher
|            `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|             `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
|              +- Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|              `* Re: Are We Back to the "Wars" Now ?Rich
|               `* Re: Are We Back to the "Wars" Now ?Lew Pitcher
|                +- Re: Are We Back to the "Wars" Now ?Rich
|                `* Re: Are We Back to the "Wars" Now ?Richard Kettlewell
|                 +- Re: Are We Back to the "Wars" Now ?Carlos E.R.
|                 +- Re: Are We Back to the "Wars" Now ?Rich
|                 `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
|                  +- Re: Are We Back to the "Wars" Now ?Richard Kettlewell
|                  +- Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
|                  `- Re: Are We Back to the "Wars" Now ?Jerry Peters
`* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
 `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
  +* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
  |`* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
  | `- Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
  `* Re: Are We Back to the "Wars" Now ?Richard L. Hamilton
   `* Re: Are We Back to the "Wars" Now ?Pancho
    `* Re: Are We Back to the "Wars" Now ?root
     `* Re: Are We Back to the "Wars" Now ?The Natural Philosopher
      `* Re: Are We Back to the "Wars" Now ?Geoff Clare
       `* Re: Are We Back to the "Wars" Now ?Lawrence D'Oliveiro
        `* Re: Are We Back to the "Wars" Now ?186282@ud0s4.net
         `* Re: Are We Back to the "Wars" Now ?Rich
          +* Re: Are We Back to the "Wars" Now ?Robert Riches
          |`* Re: Are We Back to the "Wars" Now ?Rich
          | `* Re: Are We Back to the "Wars" Now ?Robert Riches
          |  `* Re: Are We Back to the "Wars" Now ?Rich
          |   `- Re: Are We Back to the "Wars" Now ?D
          `* Re: Are We Back to the "Wars" Now ?Richard Kettlewell
           `* Re: Are We Back to the "Wars" Now ?Rich
            `* Re: Are We Back to the "Wars" Now ?John Ames
             +- Re: Are We Back to the "Wars" Now ?Rich
             `- Re: Are We Back to the "Wars" Now ?Richard Kettlewell

Pages:1234
Subject: Re: Are We Back to the "Wars" Now ?
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Wed, 18 Dec 2024 18:32 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Wed, 18 Dec 2024 18:32:15 +0000
Organization: terraraq NNTP server
Message-ID: <wwva5csj100.fsf@LkoBDZeT.terraraq.uk>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhja4p$23f5e$3@dont-email.me>
<lNycnZghasCXPtP6nZ2dnZfqnPSdnZ2d@earthlink.com>
<w0b7P.64695$oR74.19157@fx16.iad> <vjjljh$3unfq$1@dont-email.me>
<vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me>
<68b83l-jtd.ln1@ID-313840.user.individual.net>
<vjt866$20222$3@dont-email.me>
<KSGdnbSzt70r0__6nZ2dnZfqn_SdnZ2d@earthlink.com>
<vjtkuq$25l55$1@dont-email.me> <wwvy10d5rbm.fsf@LkoBDZeT.terraraq.uk>
<vjukmc$2aoep$1@dont-email.me> <20241218081104.00007add@gmail.com>
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="68236"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:Go/GGQcQ4WicS8WPKT4esCx0U+s=
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
View all headers

John Ames <commodorejohn@gmail.com> writes:
> Rich <rich@example.invalid> wrote:
>> Yes, our local nymshift troll seems to clearly not know what a pipe
>> is, nor care to learn either.
>
> I *think* what he's meaning to say is this: while you can transfer any
> arbitrary amount of data *through* a pipe, there is an upper limit to
> how much you can have *in* a pipe at any one time; eventually, you hit
> either *A.* an OS-imposed limit on buffer size, at which point things
> start blocking as already discussed, or *B.* the upper bounds of
> system memory, at which point the system will either start swapping
> (in which case you lose any speed advantage) or blocking (as with
> limited buffer size.)

That’s a very charitable interpretation, particularly given that the
reality of how pipes work has been described two or three times
recently.

> That said, what probably shouldn't need saying here is that if you're
> filling up all available space in a pipe such that you're regularly
> hitting these limits, you're probably doing pipes wrong.

Pipes have a capacity of, typically, a few kilobytes and when that
capacity is reached, writers block until readers drain them.

All this stuff about filling RAM or swapping is just nonsense.

--
https://www.greenend.org.uk/rjk/

Subject: Re: Are We Back to the "Wars" Now ?
From: Robert Riches
Newsgroups: comp.os.linux.misc
Organization: none-at-all
Date: Thu, 19 Dec 2024 04:27 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: spamtrap42@jacob21819.net (Robert Riches)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: 19 Dec 2024 04:27:08 GMT
Organization: none-at-all
Lines: 60
Message-ID: <slrnvm784s.uhq.spamtrap42@one.localnet>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhja4p$23f5e$3@dont-email.me>
<lNycnZghasCXPtP6nZ2dnZfqnPSdnZ2d@earthlink.com>
<w0b7P.64695$oR74.19157@fx16.iad> <vjjljh$3unfq$1@dont-email.me>
<vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me>
<68b83l-jtd.ln1@ID-313840.user.individual.net>
<vjt866$20222$3@dont-email.me>
<KSGdnbSzt70r0__6nZ2dnZfqn_SdnZ2d@earthlink.com>
<vjtkuq$25l55$1@dont-email.me> <slrnvm4me1.662.spamtrap42@one.localnet>
<vjuko9$2aoep$2@dont-email.me>
Reply-To: spamtrap42@jacob21819.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net dMpUxfWuLibDD70XzhjFjARQoipTHSp50CXtBrXFfLp7Fin4s9
Cancel-Lock: sha1:ML5XKwLKGtmw+5GyLp48vCtqv2I= sha256:ZgFsTe+R55JkvzFrOv+lLTx1BkYApF6rLpeVces55W0=
User-Agent: slrn/1.0.3 (Linux)
View all headers

On 2024-12-18, Rich <rich@example.invalid> wrote:
> Robert Riches <spamtrap42@jacob21819.net> wrote:
>> On 2024-12-18, Rich <rich@example.invalid> wrote:
>>> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>>>> On 12/17/24 8:23 PM, Lawrence D'Oliveiro wrote:
>>>>> On Tue, 17 Dec 2024 13:34:30 +0000, Geoff Clare wrote:
>>>>>
>>>>>> With a pipe or FIFO, you just use simple read and write operations
>>>>>> and the system handles all the messy stuff for you. If the pipe
>>>>>> reaches capacity, write blocks until there is room to write some
>>>>>> more; if the pipe becomes empty, read blocks until there is more
>>>>>> data available; when read returns EOF that's the end of the data.
>>>>>
>>>>> Yup. Furthermore:
>>>>>
>>>>> * When the last writer closes its end, any remaining read attempts
>>>>> get EOF.
>>>>> * When the last reader closes its end, any remaining write attempts
>>>>> get “broken pipe”.
>>>>
>>>> But you're still limited to the amount of RAM the system can
>>>> access.
>>>
>>> Not with a pipe or FIFO, which is what is being discussed above.
>>>
>>> The amount of data you can transfer over a pipe is not in any way
>>> limited by system memory size or any other system imposed limits.
>>>
>>>> These days that's probably a LOT - but might NOT be,
>>>> esp for 'embedded' type boards like the older PIs,
>>>> BBBs and such. Never assume the user has essentially
>>>> infinite RAM.
>>>
>>> The system will not have infinite RAM. You can transfer infinite data
>>> over a pipe (although it will take a while to reach infinity).
>>
>> A pipe is _NOT_ limited to system RAM!
>>
>> Using a named pipe on a Raspberry Pi model 1 with a _half_ GB of
>> total RAM, I would routinely transfer _several_ GB in a single
>> stream from an mplayer process to a netcat process. The only
>> reason that's not currently happening every night these days is
>> the amplified TV antenna lost too much gain due to age, attic
>> heat, etc.
>
> While you are correct, you responded to the wrong post. I pointed out
> to the nymshift troll the exact statement you made to me.

Yes, I was supporting your position with a concrete existence
proof. Not every reply needs to be a contradiction of the
immediately previous post.

I'm not certain, but I think I might have killfiled the nymshift
troll, so your post was the only one for which I had a reference
in order to contradict said nymshift troll.

--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Subject: Re: Are We Back to the "Wars" Now ?
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 19 Dec 2024 14:07 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 19 Dec 2024 14:07:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vk19br$2st8d$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com> <lNycnZghasCXPtP6nZ2dnZfqnPSdnZ2d@earthlink.com> <w0b7P.64695$oR74.19157@fx16.iad> <vjjljh$3unfq$1@dont-email.me> <vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me> <68b83l-jtd.ln1@ID-313840.user.individual.net> <vjt866$20222$3@dont-email.me> <KSGdnbSzt70r0__6nZ2dnZfqn_SdnZ2d@earthlink.com> <vjtkuq$25l55$1@dont-email.me> <slrnvm4me1.662.spamtrap42@one.localnet> <vjuko9$2aoep$2@dont-email.me> <slrnvm784s.uhq.spamtrap42@one.localnet>
Injection-Date: Thu, 19 Dec 2024 15:07:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0d5d6c3ebc1a5554f0e2ad46b8be1eb8";
logging-data="3044621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196YZa6f1nupUnEW72/uxMo"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:5JRcAVSHdC6mfqPayYn1X0moq8Q=
View all headers

Robert Riches <spamtrap42@jacob21819.net> wrote:
> I'm not certain, but I think I might have killfiled the nymshift
> troll, so your post was the only one for which I had a reference in
> order to contradict said nymshift troll.

Ah, ok, now I get why you replied to my post. No worries in that case.

Subject: Re: Are We Back to the "Wars" Now ?
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Thu, 19 Dec 2024 15:02 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 19 Dec 2024 16:02:35 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <872b0fa6-3ad7-b904-f614-8a7ef51cefd9@example.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com> <lNycnZghasCXPtP6nZ2dnZfqnPSdnZ2d@earthlink.com> <w0b7P.64695$oR74.19157@fx16.iad> <vjjljh$3unfq$1@dont-email.me> <vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me>
<68b83l-jtd.ln1@ID-313840.user.individual.net> <vjt866$20222$3@dont-email.me> <KSGdnbSzt70r0__6nZ2dnZfqn_SdnZ2d@earthlink.com> <vjtkuq$25l55$1@dont-email.me> <slrnvm4me1.662.spamtrap42@one.localnet> <vjuko9$2aoep$2@dont-email.me> <slrnvm784s.uhq.spamtrap42@one.localnet>
<vk19br$2st8d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="3636620"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
In-Reply-To: <vk19br$2st8d$1@dont-email.me>
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 19 Dec 2024, Rich wrote:

> Robert Riches <spamtrap42@jacob21819.net> wrote:
>> I'm not certain, but I think I might have killfiled the nymshift
>> troll, so your post was the only one for which I had a reference in
>> order to contradict said nymshift troll.
>
> Ah, ok, now I get why you replied to my post. No worries in that case.
>

Harmony and peace have been restored!

Subject: Re: Are We Back to the "Wars" Now ?
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Wed, 25 Dec 2024 08:23 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 25 Dec 2024 08:23:43 +0000
Subject: Re: Are We Back to the "Wars" Now ?
Newsgroups: comp.os.linux.misc
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>
<wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Wed, 25 Dec 2024 03:23:42 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <MTWdnX9Hd4WSXPb6nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 45
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-gjMirWnhadDOODHPS11QPwXFiyHoaUNw7qoOHRvoKXavvOW3xyfijFkxeZBSlwQgF5RmaRwThLnG6pu!7CITws2T3B8g0hGmO4JsF1k05ENgVsIMbv+X/NQXmtMBedvGZgTVtdyxWILQT7moHczoGWa2BRlz!WuMh3IwYLVffxpZ2vtQH
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/24/24 2:14 PM, Richard Kettlewell wrote:
> 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.

There's truth here ... the gigabyte gets kinda 'spread out'.

But what if it was ten GB, or 100 ?

So, if you wanna count on sending vast quantities of
data in pipes, go ahead - it'll almost always work.

Until vids go 16k or something ...

As said LONG back ... each developer has to make
decisions based on their app and the 'likely'
systems/usage. There isn't really a 'wrong' or
'right' way here - just 'alternatives'. I like
terse pipes, you may not care.

Subject: Re: Are We Back to the "Wars" Now ?
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Fri, 27 Dec 2024 08:44 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Fri, 27 Dec 2024 08:44:52 +0000
Organization: terraraq NNTP server
Message-ID: <wwvikr5y0or.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>
<wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk>
<MTWdnX9Hd4WSXPb6nZ2dnZfqnPednZ2d@earthlink.com>
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="90296"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:mFxYjRvp9aVMUqmQt3A+OIXIVu4=
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
View all headers

"186282@ud0s4.net" <186283@ud0s4.net> writes:
> On 11/24/24 2:14 PM, Richard Kettlewell wrote:
>> 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.
>
> There's truth here ... the gigabyte gets kinda 'spread out'.
>
> But what if it was ten GB, or 100 ?

What difference do you think it’ll make? It’ll take proportionately
longer, but that’s all.

(SHA256 maxes out at a couple of exabytes, but that’s nothing to do with
pipes. Replace with a SHA3 variant if you want to think about sizes
beyond that.)

> So, if you wanna count on sending vast quantities of
> data in pipes, go ahead - it'll almost always work.

When do you think it will stop working?

--
https://www.greenend.org.uk/rjk/

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sat, 28 Dec 2024 07:08 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Sat, 28 Dec 2024 07:08:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vko84t$6qks$3@dont-email.me>
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>
<wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk>
<MTWdnX9Hd4WSXPb6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 28 Dec 2024 08:08:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1b9145669092ca18d8c3637f211c0964";
logging-data="223900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KrQtk7lQKM0gQ8QdZYPcw"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:a9V0V8mzyFiNkzXcRYYy/ptREj8=
View all headers

On Wed, 25 Dec 2024 03:23:42 -0500, 186282@ud0s4.net wrote:

> But what if it was ten GB, or 100 ?

We get it, you have some kind of fear of pipes. But why? Were you scared
by a pipe as a baby? Dropped on your head and landed on one? Tried to use
them on Windows?

Just trying to understand the basis behind this phobia. It can’t simply
because you’re trying to save face, could it?

Subject: Re: Are We Back to the "Wars" Now ?
From: Jerry Peters
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 5 Jan 2025 20:50 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: jerry@example.invalid (Jerry Peters)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Sun, 5 Jan 2025 20:50:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <vlerbj$16m4u$2@dont-email.me>
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> <wwvldx8qw98.fsf@LkoBDZeT.terraraq.uk> <MTWdnX9Hd4WSXPb6nZ2dnZfqnPednZ2d@earthlink.com>
Injection-Date: Sun, 05 Jan 2025 21:51:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="43f233de20a7eb06ba01fe216ebe57ee";
logging-data="1267870"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MqYzHDsUzMpnl9Rh1TsGlWOiCN4wjQQw="
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/6.12.7 (x86_64))
Cancel-Lock: sha1:V8gXkQoOKUEYiwgdMk5mcFOyt+M=
View all headers

186282@ud0s4.net <186283@ud0s4.net> wrote:
> On 11/24/24 2:14 PM, Richard Kettlewell wrote:
>> 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.
>
>
> There's truth here ... the gigabyte gets kinda 'spread out'.
>
> But what if it was ten GB, or 100 ?
>
> So, if you wanna count on sending vast quantities of
> data in pipes, go ahead - it'll almost always work.
>
> Until vids go 16k or something ...
>
> As said LONG back ... each developer has to make
> decisions based on their app and the 'likely'
> systems/usage. There isn't really a 'wrong' or
> 'right' way here - just 'alternatives'. I like
> terse pipes, you may not care.

You keep ignoring the piped-to program, it's running concurrently
(or with multiple cores, simultaneously) as long as it keeps reading
from the pipe the pipe will never fill up.

Pages:1234

rocksolid light 0.9.8
clearnet tor