Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: What's tan and black and looks great on a lawyer? A: A doberman.


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: Are We Back to the "Wars" Now ?
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Mon, 18 Nov 2024 06:20 UTC
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 18 Nov 2024 06:20:53 +0000
Newsgroups: comp.os.linux.misc
X-Mozilla-News-Host: news://news.west.earthlink.net:119
From: 186283@ud0s4.net (186282@ud0s4.net)
Subject: Are We Back to the "Wars" Now ?
Organization: wokiesux
Date: Mon, 18 Nov 2024 01:20:53 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 40
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-2qF9/FW+bHlXijGv1GNGAQJ6RYo07i8QR2SAm+ALuGtJWn6suGt+mcdWweBuUq5AaKMQkVZbk0IkYkh!uohkbG8xji0OlBl84iau6TI9EjF6RtuTYI3IaNNitswdlWJ8BwC+S/J8c9vDU8+3w9JdeXUao3el!2pBb/wKgX99kBCjSva7i
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

There has been a long tendency in Linux/comp groups
to horribly attack, belittle, abuse, anybody who has
had a 'different experience' and sees things a little
off some kinda poorly-defined 'norm'.

Sorry, we all didn't come up on the same track.
A thousand different paths, a thousand different
styles of apps/needs/solutions. Computers let
you DO that.

Hey, if I feel the need to use files instead
of 'pipes' then I WANT TO USE FILES INSTEAD
OF PIPES. Don't like it ? Tuff titty. Any
'contributions' will be to tell me how to
maximize that approach - not to rain down piss.

(actually I think pipes are better - but there
are and will be other approaches/reasons)

The recent elections kinda upset the Linux/Unix
groups - a lot of politics promoted a lot of
threads. Well, the elections are OVER now.
Back to business.

BUT ... consider ... "back to business" does
not need to mean "back to old habits". We all
can do BETTER, move towards the future instead
of being at each others throats over NOTHING.

Just sayin'

Most everybody here seems to have been in the
groove since (or during) PUNCH CARDS. Let's
not be petty. We all did it OUR WAY.

Hey, I remember the giant handful of punch
cards - DON'T DROP 'EM ! :-)

--
033-33

Subject: Re: Are We Back to the "Wars" Now ?
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Mon, 18 Nov 2024 09:13 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.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: Mon, 18 Nov 2024 10:13:14 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <2b9d26c4-b7ce-e56a-f5ea-9fb319e5c77e@example.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="3013622"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
View all headers

On Mon, 18 Nov 2024, 186282@ud0s4.net wrote:

> There has been a long tendency in Linux/comp groups
> to horribly attack, belittle, abuse, anybody who has
> had a 'different experience' and sees things a little
> off some kinda poorly-defined 'norm'.
>
> Sorry, we all didn't come up on the same track.
> A thousand different paths, a thousand different
> styles of apps/needs/solutions. Computers let
> you DO that.
>
> Hey, if I feel the need to use files instead
> of 'pipes' then I WANT TO USE FILES INSTEAD
> OF PIPES. Don't like it ? Tuff titty. Any
> 'contributions' will be to tell me how to
> maximize that approach - not to rain down piss.
>
> (actually I think pipes are better - but there
> are and will be other approaches/reasons)
>
> The recent elections kinda upset the Linux/Unix
> groups - a lot of politics promoted a lot of
> threads. Well, the elections are OVER now.
> Back to business.
>
> BUT ... consider ... "back to business" does
> not need to mean "back to old habits". We all
> can do BETTER, move towards the future instead
> of being at each others throats over NOTHING.
>
> Just sayin'
>
> Most everybody here seems to have been in the
> groove since (or during) PUNCH CARDS. Let's
> not be petty. We all did it OUR WAY.
>
> Hey, I remember the giant handful of punch
> cards - DON'T DROP 'EM ! :-)

Are you saying we should disregard the emperor? Doesn't he teach us that
our hate makes us stronger?

Subject: Re: Are We Back to the "Wars" Now ?
From: Pancho
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 18 Nov 2024 09:27 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Mon, 18 Nov 2024 09:27:59 +0000
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vhf1av$15fdk$2@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Nov 2024 10:27:59 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4bb256e55187fc1c7fdad52720ab946c";
logging-data="1228212"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zuLGouQJXWUJlMX/viDNkD1TVHO+L64o="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:XDpVfAuomhIaND/BO3dyBm7tlXk=
In-Reply-To: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
Content-Language: en-GB
View all headers

On 11/18/24 06:20, 186282@ud0s4.net wrote:

> Most everybody here seems to have been in the
> groove since (or during) PUNCH CARDS. Let's
> not be petty. We all did it OUR WAY.
>
> Hey, I remember the giant handful of punch
> cards - DON'T DROP 'EM !  :-)
>

When I started Uni they showed us their computers with punch cards, so I
avoided the computers until they had terminals, vt100 at least.

Anyway make Linux great again.

Subject: Re: Are We Back to the "Wars" Now ?
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Mon, 18 Nov 2024 09:54 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.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: Mon, 18 Nov 2024 09:54:15 +0000
Organization: terraraq NNTP server
Message-ID: <wwvserohnp4.fsf@LkoBDZeT.terraraq.uk>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@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="10281"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:XGZFP0wuTFBIALpIxu/UPP9cE0I=
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:
> There has been a long tendency in Linux/comp groups
> to horribly attack, belittle, abuse, anybody who has
> had a 'different experience' and sees things a little
> off some kinda poorly-defined 'norm'.
>
> Sorry, we all didn't come up on the same track.
> A thousand different paths, a thousand different
> styles of apps/needs/solutions. Computers let
> you DO that.
>
> Hey, if I feel the need to use files instead
> of 'pipes' then I WANT TO USE FILES INSTEAD
> OF PIPES. Don't like it ? Tuff titty. Any
> 'contributions' will be to tell me how to
> maximize that approach - not to rain down piss.

Precisely nobody is telling you that you can’t use files.

If the issue here is that you don’t like being told that pipes aren’t
the same as regular files, well, maybe consider not posting that they
are the same?

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

Subject: Re: Are We Back to the "Wars" Now ?
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 18 Nov 2024 10:46 UTC
References: 1
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: Mon, 18 Nov 2024 10:46:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vhf5ts$16rpr$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
Injection-Date: Mon, 18 Nov 2024 11:46:21 +0100 (CET)
Injection-Info: dont-email.me; posting-host="73f1afe1af937eeb3882f5dafd055a03";
logging-data="1273659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8VDZs9wx6mV6XGtWKX0+Y"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:i8WrtTfIwL7kJmWOXBNqltpScB0=
View all headers

186282@ud0s4.net <186283@ud0s4.net> wrote:
> Hey, if I feel the need to use files instead of 'pipes' then I WANT
> TO USE FILES INSTEAD OF PIPES.

Except you did not say you were "using files instead of 'pipes'".

What you said, in Message-ID: <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
was:

186282@ud0s4.net <186283@ud0s4.net> wrote:
>...
>
> Pipes are good.
>
> But, really, they're just temp files the parent process can access.

When reality is that pipes have not been "just temp files" since the
day's of MSDOS's fake "pipes", and for Unix systems, pipes have never
been "just temp files".

And when challenged, you doubled down on the just temp files parts.

Subject: Re: Are We Back to the "Wars" Now ?
From: Phillip Frabott
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 18 Nov 2024 14:45 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nntp@fulltermprivacy.com (Phillip Frabott)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Mon, 18 Nov 2024 09:45:07 -0500
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <vhfjtj$19ijm$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Nov 2024 15:45:08 +0100 (CET)
Injection-Info: dont-email.me; posting-host="69b35a9b75bc5f07caa9df5b6fa72e6e";
logging-data="1362550"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2XCoqUGdc6DwblOgyiYsFZeojLNdW5DU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lrwInHdVtfIOh8vPLhbY8KIklnI=
In-Reply-To: <vhf5ts$16rpr$1@dont-email.me>
Content-Language: en-US
View all headers

On 11/18/2024 05:46, Rich wrote:
> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>> Hey, if I feel the need to use files instead of 'pipes' then I WANT
>> TO USE FILES INSTEAD OF PIPES.
>
> Except you did not say you were "using files instead of 'pipes'".
>
> What you said, in Message-ID: <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
> was:
>
> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>> ...
>>
>> Pipes are good.
>>
>> But, really, they're just temp files the parent process can access.
>
> When reality is that pipes have not been "just temp files" since the
> day's of MSDOS's fake "pipes", and for Unix systems, pipes have never
> been "just temp files".
>
> And when challenged, you doubled down on the just temp files parts.

I think the point that is being made by calling pipes a "temp files" is
that they are not persistent. When the computer is turned off they
disappear (unlike files on hard (persistent) storage). Granted a pipe
might re-appear later when the system is back up and running but my
professor always said, don't expect any guarantees with pipes. They may
be there, they may not be there, you might be able to use them one
minute and they disappear the next. Consider them temporary aberrations
until proven otherwise.

Chances are that the pipes of today are more solid then the pipes of
yesteryear, but we've all grown up at different times with different
states of computing and different upbringings. There are pros and cons
to everything, including using files AND using pipes. To each their own.

I wouldn't argue about the small things like this.

--
Phillip Frabott
----------
- Adam: Is a void really a void if it returns?
- Jack: No, it's just nullspace at that point.
----------

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 20 Nov 2024 00:22 UTC
References: 1
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: Wed, 20 Nov 2024 00:22:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <vhja4p$23f5e$3@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Nov 2024 01:22:50 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c8a5d8f8287a46a043b46813003956ce";
logging-data="2210990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tKjZb8nhNrrkYUZk+RusJ"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:AKp98DgoEyk5IPtJk/c1aZp+3HQ=
View all headers

On Mon, 18 Nov 2024 01:20:53 -0500, 186282@ud0s4.net wrote:

> Hey, if I feel the need to use files instead of 'pipes' then I WANT TO
> USE FILES INSTEAD OF PIPES.

Except ... you were trying to argue that there was no fundamental
difference between pipes and files anyway. That you could somehow do
everything you could do with pipes by using temporary files.

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 20 Nov 2024 00:23 UTC
References: 1 2 3
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: Wed, 20 Nov 2024 00:23:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vhja6j$23f5e$4@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Nov 2024 01:23:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c8a5d8f8287a46a043b46813003956ce";
logging-data="2210990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gNgBPmZJlF14CQQP9nbx3"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:zF29MiHiNSmHcmYOggSt8JRyEgo=
View all headers

On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:

> I think the point that is being made by calling pipes a "temp files" is
> that they are not persistent.

Named pipes can indeed be persistent.

Subject: Re: Are We Back to the "Wars" Now ?
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Wed, 20 Nov 2024 02:57 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-2.nntp.ord.giganews.com!border-1.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, 20 Nov 2024 02:57:05 +0000
Subject: Re: Are We Back to the "Wars" Now ?
Newsgroups: comp.os.linux.misc
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<2b9d26c4-b7ce-e56a-f5ea-9fb319e5c77e@example.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Tue, 19 Nov 2024 21:57:05 -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: <2b9d26c4-b7ce-e56a-f5ea-9fb319e5c77e@example.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <veucnSZS-fWczaD6nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 62
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-sHXm7M7Dad5hPZg4v8xE+xISyvWOGuOuqPjN+xzHYpKFQq75Kzgk9ok9B/jH56RzHWxs3NnwN616Ma7!J2mp18khgbM4f769SStNIV66q+mb5kwtM1svAZOMEREjC8t8sfAE1madC3mkbdQ4kDymxsDHrGSD!PO2A394Cd1ef25Sz7Drx
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/18/24 4:13 AM, D wrote:
>
>
> On Mon, 18 Nov 2024, 186282@ud0s4.net wrote:
>
>> There has been a long tendency in Linux/comp groups
>> to horribly attack, belittle, abuse, anybody who has
>> had a 'different experience' and sees things a little
>> off some kinda poorly-defined 'norm'.
>>
>> Sorry, we all didn't come up on the same track.
>> A thousand different paths, a thousand different
>> styles of apps/needs/solutions. Computers let
>> you DO that.
>>
>> Hey, if I feel the need to use files instead
>> of 'pipes' then I WANT TO USE FILES INSTEAD
>> OF PIPES. Don't like it ? Tuff titty. Any
>> 'contributions' will be to tell me how to
>> maximize that approach - not to rain down piss.
>>
>> (actually I think pipes are better - but there
>> are and will be other approaches/reasons)
>>
>> The recent elections kinda upset the Linux/Unix
>> groups - a lot of politics promoted a lot of
>> threads. Well, the elections are OVER now.
>> Back to business.
>>
>> BUT ... consider ... "back to business" does
>> not need to mean "back to old habits". We all
>> can do BETTER, move towards the future instead
>> of being at each others throats over NOTHING.
>>
>> Just sayin'
>>
>> Most everybody here seems to have been in the
>> groove since (or during) PUNCH CARDS. Let's
>> not be petty. We all did it OUR WAY.
>>
>> Hey, I remember the giant handful of punch
>> cards - DON'T DROP 'EM !  :-)
>
> Are you saying we should disregard the emperor? Doesn't he teach us that
> our hate makes us stronger?

Well, the 'woke' really did try to show us the
power of higher, gigabuck-funded, hate :-)

But that's all over for now.

In any case, I prefer to see these comp groups
as being much better when they are collaborative,
rather than derogative. Be you old boy or newbie,
everybody has a different 'vision', a slightly
different take on 'how it should be done'. Adding
1000 cuts and ad-homs - all too common on usenet -
does not represent any kind of improvement.

Just wanted to say it.

Subject: Re: Are We Back to the "Wars" Now ?
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Wed, 20 Nov 2024 09:01 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!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: Wed, 20 Nov 2024 10:01:38 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <63b14518-bd22-593c-c702-415acb54a9ef@example.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com> <2b9d26c4-b7ce-e56a-f5ea-9fb319e5c77e@example.net> <veucnSZS-fWczaD6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8323328-1479926253-1732093299=:16130"
Injection-Info: i2pn2.org;
logging-data="3320558"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
In-Reply-To: <veucnSZS-fWczaD6nZ2dnZfqnPednZ2d@earthlink.com>
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Tue, 19 Nov 2024, 186282@ud0s4.net wrote:

> On 11/18/24 4:13 AM, D wrote:
>>
>>
>> On Mon, 18 Nov 2024, 186282@ud0s4.net wrote:
>>
>>> There has been a long tendency in Linux/comp groups
>>> to horribly attack, belittle, abuse, anybody who has
>>> had a 'different experience' and sees things a little
>>> off some kinda poorly-defined 'norm'.
>>>
>>> Sorry, we all didn't come up on the same track.
>>> A thousand different paths, a thousand different
>>> styles of apps/needs/solutions. Computers let
>>> you DO that.
>>>
>>> Hey, if I feel the need to use files instead
>>> of 'pipes' then I WANT TO USE FILES INSTEAD
>>> OF PIPES. Don't like it ? Tuff titty. Any
>>> 'contributions' will be to tell me how to
>>> maximize that approach - not to rain down piss.
>>>
>>> (actually I think pipes are better - but there
>>> are and will be other approaches/reasons)
>>>
>>> The recent elections kinda upset the Linux/Unix
>>> groups - a lot of politics promoted a lot of
>>> threads. Well, the elections are OVER now.
>>> Back to business.
>>>
>>> BUT ... consider ... "back to business" does
>>> not need to mean "back to old habits". We all
>>> can do BETTER, move towards the future instead
>>> of being at each others throats over NOTHING.
>>>
>>> Just sayin'
>>>
>>> Most everybody here seems to have been in the
>>> groove since (or during) PUNCH CARDS. Let's
>>> not be petty. We all did it OUR WAY.
>>>
>>> Hey, I remember the giant handful of punch
>>> cards - DON'T DROP 'EM !  :-)
>>
>> Are you saying we should disregard the emperor? Doesn't he teach us that
>> our hate makes us stronger?
>
>
> Well, the 'woke' really did try to show us the
> power of higher, gigabuck-funded, hate :-)
>
> But that's all over for now.
>
> In any case, I prefer to see these comp groups
> as being much better when they are collaborative,
> rather than derogative. Be you old boy or newbie,
> everybody has a different 'vision', a slightly
> different take on 'how it should be done'. Adding
> 1000 cuts and ad-homs - all too common on usenet -
> does not represent any kind of improvement.
>
> Just wanted to say it.
>
>

You are a wise man, 186282!

Subject: Re: Are We Back to the "Wars" Now ?
From: Phillip Frabott
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 21 Nov 2024 07:05 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nntp@fulltermprivacy.com (Phillip Frabott)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 21 Nov 2024 02:05:46 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vhmm4c$hnbj$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Nov 2024 08:05:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="36de8de08b400eeb6bfcac2218c69b37";
logging-data="580979"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Cb7Jw2wuz+nLE5h/s7Vew8rTnMLNOq+0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UhzDZH/36ylD/TlGarx3if1NY4Y=
Content-Language: en-US
In-Reply-To: <vhja6j$23f5e$4@dont-email.me>
View all headers

On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>
>> I think the point that is being made by calling pipes a "temp files" is
>> that they are not persistent.
>
> Named pipes can indeed be persistent.

Sure, but then your just creating a file with all the limitations that
come from that. IPC only benefits you when you use unnamed or
traditional pipes (performance and resources). Also, the pipe still
requires something on the other side of the transaction which might not
exist at some later point. Whereas a file on hard storage will almost
always be able to be transacted (assuming permissions of course)
regardless of what processes are (or are not) available. Also pipes also
require realtime processing, whereas storing things in a file can
provide for delayed/deferred processing at a later time.

Now, sure piping a command may be less typing, but there is no real
tangible benefit from the technical side from using a pipe vs typing the
command out over multiple lines of commands, the transaction remains the
same in both cases. But having non-persistent pipes gives you speed and
performance perks (and in most cases uses less RAM). So if your going to
do named pipes just know you aren't getting the real benefits of the IPC
if it's just going to write a file anyways.

--
Phillip Frabott
----------
- Adam: Is a void really a void if it returns?
- Jack: No, it's just nullspace at that point.
----------

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 21 Nov 2024 07:22 UTC
References: 1 2 3 4 5
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: Thu, 21 Nov 2024 07:22:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <vhmn2t$hv8i$3@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 21 Nov 2024 08:22:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ef08745908c980c7c50adf3dc90da7e8";
logging-data="589074"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xqwrb+Y1D5SzE8bceDXpy"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:Qot3z6Txblx/puV/Gb1X3Rt2Kx8=
View all headers

On Thu, 21 Nov 2024 02:05:46 -0500, Phillip Frabott wrote:

> On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
>
>> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>>
>>> I think the point that is being made by calling pipes a "temp files"
>>> is that they are not persistent.
>>
>> Named pipes can indeed be persistent.
>
> Sure, but then your just creating a file with all the limitations that
> come from that.

Not at all. It still has the same synchronization behaviour.

> IPC only benefits you when you use unnamed or traditional pipes
> (performance and resources).

Certainly not.

Subject: Re: Are We Back to the "Wars" Now ?
From: Phillip Frabott
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 21 Nov 2024 15:12 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nntp@fulltermprivacy.com (Phillip Frabott)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 21 Nov 2024 10:12:18 -0500
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <vhnikj$me7m$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Nov 2024 16:12:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="36de8de08b400eeb6bfcac2218c69b37";
logging-data="735478"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ysaoXg8qTXbv8TMufpElj3Ytg4TfByVk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:56wkKSbT5x6c9TsqiF88HA8fNEc=
In-Reply-To: <vhmn2t$hv8i$3@dont-email.me>
Content-Language: en-US
View all headers

On 11/21/2024 02:22, Lawrence D'Oliveiro wrote:
> On Thu, 21 Nov 2024 02:05:46 -0500, Phillip Frabott wrote:
>
>> On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
>>
>>> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>>>
>>>> I think the point that is being made by calling pipes a "temp files"
>>>> is that they are not persistent.
>>>
>>> Named pipes can indeed be persistent.
>>
>> Sure, but then your just creating a file with all the limitations that
>> come from that.
>
> Not at all. It still has the same synchronization behaviour.
>
>> IPC only benefits you when you use unnamed or traditional pipes
>> (performance and resources).
>
> Certainly not.

I guess it just depends on what you are doing. And in perspective, most
pipes are generally used for small amounts of data, the smaller then
data the less benefits you see between unnamed vs named pipes. I mean
100-bytes has zero performance differences between named and unnamed
while a 10MB pipe will always show that unnamed pipes are faster then
named pipes. So it's just depends on what you are doing and the data you
have. But as far as I know named pipes still go away when you turn the
machine off unless you are redirecting /tmp to hard storage.

And to be fair, I don't use named pipes as much as I used to so perhaps
things have changed. I've never had a good reason to use named pipes in
code in a very long time.

--
Phillip Frabott
----------
- Adam: Is a void really a void if it returns?
- Jack: No, it's just nullspace at that point.
----------

Subject: Re: Are We Back to the "Wars" Now ?
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Thu, 21 Nov 2024 18:38 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder2.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: Thu, 21 Nov 2024 18:38:58 +0000
Organization: terraraq NNTP server
Message-ID: <wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$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="81737"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:y2EDSAoldtY6D+Sc/R9UKXCBKnQ=
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

Phillip Frabott <nntp@fulltermprivacy.com> writes:
> On 11/21/2024 02:22, Lawrence D'Oliveiro wrote:
>> On Thu, 21 Nov 2024 02:05:46 -0500, Phillip Frabott wrote:
>>> On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
>>>> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>>>>> I think the point that is being made by calling pipes a "temp files"
>>>>> is that they are not persistent.
>>>>
>>>> Named pipes can indeed be persistent.
>>>
>>> Sure, but then your just creating a file with all the limitations that
>>> come from that.

This remark makes me wonder if you’ve got the wrong end of the stick
about what a named pipe is. They are really not the same as regular
files, temporary or otherwise.

>> Not at all. It still has the same synchronization behaviour.
>>
>>> IPC only benefits you when you use unnamed or traditional pipes
>>> (performance and resources).
>> Certainly not.
>
> I guess it just depends on what you are doing. And in perspective,
> most pipes are generally used for small amounts of data, the smaller
> then data the less benefits you see between unnamed vs named pipes. I
> mean 100-bytes has zero performance differences between named and
> unnamed while a 10MB pipe will always show that unnamed pipes are
> faster then named pipes.

Apart from the details of how you get file descriptors to them, named
and anonymous pipes are identical.

Empirically (and unsurprisingly) there’s no performance difference in
Linux.

> So it's just depends on what you are doing and the data you have. But
> as far as I know named pipes still go away when you turn the machine
> off unless you are redirecting /tmp to hard storage.

The _contents_ of any kind of pipe go away when the last file descriptor
to them is closed (including rebooting or turning of the machine).

The _name_ of a named pipe goes away when it is unlinked or the
filesystem containing it is destroyed (which would include turning off
the machine, if the name is in a tmpfs).

--
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: Thu, 21 Nov 2024 21:56 UTC
References: 1 2 3 4 5 6 7
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: Thu, 21 Nov 2024 21:56:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vhoaau$qjkl$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 21 Nov 2024 22:56:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ef08745908c980c7c50adf3dc90da7e8";
logging-data="872085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184YAH9iXVPdS/f9zLMqwB3"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:W23B/npQ+1xFhuV6QynyxAvZng0=
View all headers

On Thu, 21 Nov 2024 10:12:18 -0500, Phillip Frabott wrote:

> On 11/21/2024 02:22, Lawrence D'Oliveiro wrote:
>> On Thu, 21 Nov 2024 02:05:46 -0500, Phillip Frabott wrote:
>>
>>> On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
>>>
>>>> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>>>>
>>>>> I think the point that is being made by calling pipes a "temp files"
>>>>> is that they are not persistent.
>>>>
>>>> Named pipes can indeed be persistent.
>>>
>>> Sure, but then your just creating a file with all the limitations that
>>> come from that.
>>
>> Not at all. It still has the same synchronization behaviour.
>>
>>> IPC only benefits you when you use unnamed or traditional pipes
>>> (performance and resources).
>>
>> Certainly not.
>
> I guess it just depends on what you are doing.

No it doesn’t. Named or not, pipes are pipes.

> And in perspective, most pipes are generally used for small amounts of
> data ...

I have used them to transfer quite large amounts, quickly and reliably.

Subject: Re: Are We Back to the "Wars" Now ?
From: Phillip Frabott
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 02:55 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nntp@fulltermprivacy.com (Phillip Frabott)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 21 Nov 2024 21:55:37 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vhorrb$t48o$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 03:55:39 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e284d08f11627a26d6d133d7fb8219a0";
logging-data="954648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hQ/kUjS7pDOASJ+6fF2iauV6d066dlZM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pqvbvv1ivzvT4JxP53TXckKZgAs=
In-Reply-To: <wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk>
Content-Language: en-US
View all headers

On 11/21/2024 13:38, Richard Kettlewell wrote:
>
> This remark makes me wonder if you’ve got the wrong end of the stick
> about what a named pipe is. They are really not the same as regular
> files, temporary or otherwise.
>

From a performance perspective they are. At least from the work I've
done. We had to drop named pipes solely because of the performance hit
because it is writing to a file system so it's being controlled by the
file system, even if that file system is in memory. Anonymous (unnamed)
pipes seem to be different. Maybe it's the differences between how FIFO
works with named pipes over the regular pipes. I don't know, but we've
never been able to get named pipes to be 1:1 performance with unnamed pipes.

My best guess is that since unnamed pipes are not written to a file
system, it has a small performance advantage over named pipes. I deal
with large data streams that have very very small TTL's on them (in come
cases only a couple ms) so if a pipe takes too long it will get bogged
down and won't keep up. So it might be specific to the uses we have at
work. In probably 90% of everyone else's uses it's probably not noticeable.

As the demand grows, we are actually at the limits of performance that
even unnamed pipes gives us. So we are starting to migrate to UNIX
sockets which has about double to bandwidth and performance of pipes.

--
Phillip Frabott
----------
- Adam: Is a void really a void if it returns?
- Jack: No, it's just nullspace at that point.
----------

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 03:12 UTC
References: 1 2 3 4 5 6 7 8 9
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: Fri, 22 Nov 2024 03:12:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <vhosra$1171f$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 04:12:43 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927";
logging-data="1088559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vgg1dwJysQJQdWQavTpi2"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:BcQGD2AzcIeUJIJCe2pmVDV19mU=
View all headers

On Thu, 21 Nov 2024 21:55:37 -0500, Phillip Frabott wrote:

> We had to drop named pipes solely because of the performance hit
> because it is writing to a file system so it's being controlled by the
> file system, even if that file system is in memory.

That doesn’t make any sense, if we were talking about Linux. Is this on
Windows, by any chance?

> As the demand grows, we are actually at the limits of performance that
> even unnamed pipes gives us. So we are starting to migrate to UNIX
> sockets which has about double to bandwidth and performance of pipes.

Not sure how that works, given that Unix sockets are actually a more
complex mechanism than pipes.

Subject: Re: Are We Back to the "Wars" Now ?
From: vallor
Newsgroups: comp.os.linux.misc
Date: Fri, 22 Nov 2024 06:09 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: 22 Nov 2024 06:09:05 GMT
Lines: 36
Message-ID: <lqalg1F7fi9U2@mid.individual.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net DI2i19CyQTDxCr7BTGOzxAqM6OYMJDUnsDD9ulgpyN6hJEUN/K
Cancel-Lock: sha1:QAdw4ftC5ue5JG3VD/br3LQoiC0= sha256:2gpVWFOPpyp25bagKwurioCmpOds5N5YQSr4ZA0eE1U=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
View all headers

On Fri, 22 Nov 2024 03:12:43 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <vhosra$1171f$1@dont-email.me>:

> On Thu, 21 Nov 2024 21:55:37 -0500, Phillip Frabott wrote:
>
>> We had to drop named pipes solely because of the performance hit
>> because it is writing to a file system so it's being controlled by the
>> file system, even if that file system is in memory.
>
> That doesn’t make any sense, if we were talking about Linux. Is this on
> Windows, by any chance?

Doesn't the named pipe connection work through the filesystem code?
That could add overhead.

Can't use named pipes on just any filesystem -- won't work on NFS
for example, unless I'm mistaken.

>
>> As the demand grows, we are actually at the limits of performance that
>> even unnamed pipes gives us. So we are starting to migrate to UNIX
>> sockets which has about double to bandwidth and performance of pipes.
>
> Not sure how that works, given that Unix sockets are actually a more
> complex mechanism than pipes.

With Unix sockets, once the connection is made, it's all in-memory
networking. I suspect (but don't know) that named pipes require the
data to pass through the filesystem for each write.

But I could be completely wrong, don't take my word for it.

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G
"The way to a man's heart is through the left ventricle."

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 06:37 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
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: Fri, 22 Nov 2024 06:37:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vhp8qi$12m83$2@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me> <lqalg1F7fi9U2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 07:37:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927";
logging-data="1136899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/I3UQzNyHyJ0chPyWIl4YB"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:0reYh61+rQcuuu0MxiWOpjSLaaw=
View all headers

On 22 Nov 2024 06:09:05 GMT, vallor wrote:

> Doesn't the named pipe connection work through the filesystem code? That
> could add overhead.

No. The only thing that exists in the filesystem is the “special file”
entry in the directory. Opening that triggers special-case processing in
the kernel that creates the usual pipe buffering/synchronization
structures (or links up with existing structures created by some prior
opening of the same special file, perhaps by a different process), not
dependent on any filesystem.

I just tried creating a C program to do speed tests on data transfers
through pipes and socket pairs between processes. I am currently setting
the counter to 10 gigabytes, and transferring that amount of data (using
whichever mechanism) only takes a couple of seconds on my system.

So the idea that pipes are somehow not suited to large data transfers is
patently nonsense.

> Can't use named pipes on just any filesystem -- won't work on NFS for
> example, unless I'm mistaken.

Hard to believe NFS could stuff that up, but there you go ...

Subject: Re: Are We Back to the "Wars" Now ?
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Fri, 22 Nov 2024 06:44 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!local-1.nntp.ord.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: Fri, 22 Nov 2024 06:44:36 +0000
Subject: Re: Are We Back to the "Wars" Now ?
Newsgroups: comp.os.linux.misc
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<vhoaau$qjkl$1@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Fri, 22 Nov 2024 01:44:35 -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: <vhoaau$qjkl$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <lIqcnTlkpf_Jtd36nZ2dnZfqn_udnZ2d@earthlink.com>
Lines: 47
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-jcqDG+7L3IaOixegAG7jMzDStRmz5VoqSa3ahooaDdEcvOJdVmMCk2rRNZHMOxLFY+SCtlAw4i/TcFR!6reDdIWjCXo4kRh+6NenePJirBJ4vkxJJLQgZsbnLbqfVv2OV/uV0Kqxii9QhbGs9XEh5Q1HHG1P!P7dy4I5JLYQ74ZrKbud8
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/21/24 4:56 PM, Lawrence D'Oliveiro wrote:
> On Thu, 21 Nov 2024 10:12:18 -0500, Phillip Frabott wrote:
>
>> On 11/21/2024 02:22, Lawrence D'Oliveiro wrote:
>>> On Thu, 21 Nov 2024 02:05:46 -0500, Phillip Frabott wrote:
>>>
>>>> On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
>>>>
>>>>> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
>>>>>
>>>>>> I think the point that is being made by calling pipes a "temp files"
>>>>>> is that they are not persistent.
>>>>>
>>>>> Named pipes can indeed be persistent.
>>>>
>>>> Sure, but then your just creating a file with all the limitations that
>>>> come from that.
>>>
>>> Not at all. It still has the same synchronization behaviour.
>>>
>>>> IPC only benefits you when you use unnamed or traditional pipes
>>>> (performance and resources).
>>>
>>> Certainly not.
>>
>> I guess it just depends on what you are doing.
>
> No it doesn’t. Named or not, pipes are pipes.
>
>> And in perspective, most pipes are generally used for small amounts of
>> data ...
>
> I have used them to transfer quite large amounts, quickly and reliably.

Yep, WILL work. No question.

The question is HOW MUCH should you intend to send back
and forth using pipes (or any other method) between the
parent and children.

IMHO, keeping it 'minimal' is Better Programming ... but
others may have different visions/needs/sensibilities.

If you build things that need TOO much data passed
around - do you REALLY want a parent/child sort of
paradigm at all ? "One Big Pgm With Lots Of Globals"
seems more sensible.

Subject: Re: Are We Back to the "Wars" Now ?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 06:49 UTC
References: 1 2 3 4 5 6 7 8 9
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: Fri, 22 Nov 2024 06:49:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vhp9hs$12qaa$2@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 07:49:33 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927";
logging-data="1141066"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5eHW5BNPpKraV1P5cHEx1"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:zSvM8zW9K5AMmkoOLYSA5pMbAOk=
View all headers

On Fri, 22 Nov 2024 01:44:35 -0500, 186282@ud0s4.net wrote:

> On 11/21/24 4:56 PM, Lawrence D'Oliveiro wrote:
>
>> I have used them to transfer quite large amounts, quickly and reliably.
>
> Yep, WILL work. No question.
>
> The question is HOW MUCH should you intend to send back
> and forth using pipes (or any other method) between the
> parent and children.

How about 10 gigabytes, which I was able to transfer in two seconds? Is
that “too much” for you?

Subject: Re: Are We Back to the "Wars" Now ?
From: vallor
Newsgroups: comp.os.linux.misc
Date: Fri, 22 Nov 2024 07:02 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: 22 Nov 2024 07:02:47 GMT
Lines: 45
Message-ID: <lqaoknF8btnU2@mid.individual.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me> <lqalg1F7fi9U2@mid.individual.net>
<vhp8qi$12m83$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net r4Dj4QTBiUjFERiLYCZ5iQHy+S/m+/MfRtufb14z2xxnT/W2jW
Cancel-Lock: sha1:Vp/H/C3voPd3JT6qP6GiOtvoVUI= sha256:WvE7Yb1aCgFyxm2O6BwDm1Y2BAHu3P6Emt1+96HFpvI=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
View all headers

On Fri, 22 Nov 2024 06:37:06 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <vhp8qi$12m83$2@dont-email.me>:

> On 22 Nov 2024 06:09:05 GMT, vallor wrote:
>
>> Doesn't the named pipe connection work through the filesystem code? That
>> could add overhead.
>
> No. The only thing that exists in the filesystem is the “special file”
> entry in the directory. Opening that triggers special-case processing in
> the kernel that creates the usual pipe buffering/synchronization
> structures (or links up with existing structures created by some prior
> opening of the same special file, perhaps by a different process), not
> dependent on any filesystem.
>
> I just tried creating a C program to do speed tests on data transfers
> through pipes and socket pairs between processes. I am currently setting
> the counter to 10 gigabytes, and transferring that amount of data (using
> whichever mechanism) only takes a couple of seconds on my system.
>
> So the idea that pipes are somehow not suited to large data transfers is
> patently nonsense.
>
>> Can't use named pipes on just any filesystem -- won't work on NFS for
>> example, unless I'm mistaken.
>
> Hard to believe NFS could stuff that up, but there you go ...

Just tested NFS, and named pipes work there.

$ time -p ( dd if=/dev/zero of=test count=$[1024*1024] ) & cat test > /dev/null
[1] 38859
1048576+0 records in
1048576+0 records out
536870912 bytes (537 MB, 512 MiB) copied, 0.918945 s, 584 MB/s
real 0.92
user 0.16
sys 0.76

NFS vers 4.1.

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G
"Diagonally parked in a parallel universe."

Subject: Named pipes vs. Unix sockets (was: Re: Are We Back to the "Wars" Now ?)
From: vallor
Newsgroups: comp.os.linux.misc
Date: Fri, 22 Nov 2024 07:29 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.misc
Subject: Named pipes vs. Unix sockets (was: Re: Are We Back to the "Wars" Now
?)
Date: 22 Nov 2024 07:29:16 GMT
Lines: 94
Message-ID: <lqaq6cF8btnU3@mid.individual.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me> <lqalg1F7fi9U2@mid.individual.net>
<vhp8qi$12m83$2@dont-email.me> <lqaoknF8btnU2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net nAROyAMGMXbKdUvzYuutegv9NPZ/UjevlA2YMklZ3SCVEeLUxB
Cancel-Lock: sha1:Y+5353eyPmx6tN2qOpDUS/mtq6g= sha256:mnLPL0qM0KAMblMti2FqoUa0oHVw4lwe8x2wpu37RHE=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
View all headers

On 22 Nov 2024 07:02:47 GMT, vallor <vallor@cultnix.org> wrote in
<lqaoknF8btnU2@mid.individual.net>:

> On Fri, 22 Nov 2024 06:37:06 -0000 (UTC), Lawrence D'Oliveiro
> <ldo@nz.invalid> wrote in <vhp8qi$12m83$2@dont-email.me>:
>
>> On 22 Nov 2024 06:09:05 GMT, vallor wrote:
>>
>>> Doesn't the named pipe connection work through the filesystem code?
That
>>> could add overhead.
>>
>> No. The only thing that exists in the filesystem is the “special file”
>> entry in the directory. Opening that triggers special-case processing
in
>> the kernel that creates the usual pipe buffering/synchronization
>> structures (or links up with existing structures created by some prior
>> opening of the same special file, perhaps by a different process), not
>> dependent on any filesystem.
>>
>> I just tried creating a C program to do speed tests on data transfers
>> through pipes and socket pairs between processes. I am currently
setting
>> the counter to 10 gigabytes, and transferring that amount of data
(using
>> whichever mechanism) only takes a couple of seconds on my system.
>>
>> So the idea that pipes are somehow not suited to large data transfers
is
>> patently nonsense.
>>
>>> Can't use named pipes on just any filesystem -- won't work on NFS for
>>> example, unless I'm mistaken.
>>
>> Hard to believe NFS could stuff that up, but there you go ...
>
> Just tested NFS, and named pipes work there.
>
> $ time -p ( dd if=/dev/zero of=test count=$[1024*1024] ) & cat test > /
dev/null
> [1] 38859
> 1048576+0 records in
> 1048576+0 records out
> 536870912 bytes (537 MB, 512 MiB) copied, 0.918945 s, 584 MB/s
> real 0.92
> user 0.16
> sys 0.76
>
> NFS vers 4.1.

$ nc -l -U -N /tmp/socket > /dev/null & time -p ( dd if=/dev/zero
count=$[1024*1024*2] | nc -U -N /tmp/socket )
[1] 40284
2097152+0 records in
2097152+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.03617 s, 527 MB/s
real 2.03
user 0.47
sys 3.60
[1]+ Done nc -l -U -N /tmp/socket > /dev/null

However, the speed appears to be limited by dd in my examples -- setting a
block size to fill the pipe/packets seems to increase throughput:

$ nc -l -U -N /tmp/socket > /dev/null & time -p ( dd if=/dev/zero
count=$[1024*1024*4] bs=1024 | nc -U -N /tmp/socket > /dev/null )
[1] 41764
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 4.02026 s, 1.1 GB/s
real 4.02
user 0.89
sys 7.11

$ time -p ( dd if=/dev/zero of=test count=$[1024*1024*4] bs=$[8*512]) &
cat test > /dev/null
[1] 41282
4194304+0 records in
4194304+0 records out
17179869184 bytes (17 GB, 16 GiB) copied, 4.43357 s, 3.9 GB/s
real 4.43
user 0.54
sys 3.88

$ ulimit -p
8 (pipesize in 512-byte blocks)

(Now I'm off to find out the MTU for Unix sockets...)

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G
""This is a job for.. AACK! WAAUGHHH!! ...someone else." - Calvin"

Subject: Re: Named pipes vs. Unix sockets
From: vallor
Newsgroups: comp.os.linux.misc
Date: Fri, 22 Nov 2024 08:38 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.misc
Subject: Re: Named pipes vs. Unix sockets
Date: 22 Nov 2024 08:38:20 GMT
Lines: 21
Message-ID: <lqau7sF8btnU4@mid.individual.net>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me> <lqalg1F7fi9U2@mid.individual.net>
<vhp8qi$12m83$2@dont-email.me> <lqaoknF8btnU2@mid.individual.net>
<lqaq6cF8btnU3@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net xXIX7/ey5AeFEQ5xkMzPjwu+PKH6Q7PCHUB3iBgMEStVkYR0SO
Cancel-Lock: sha1:mtVJzFO50qoLkEMMRnHrsnVZdSw= sha256:wxNjz0Hyez0RiUR+YygPXRUnwo/b34DiYFNFSjU/HJY=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
View all headers

On 22 Nov 2024 07:29:16 GMT, vallor <vallor@cultnix.org> wrote in
<lqaq6cF8btnU3@mid.individual.net>:

> However, the speed appears to be limited by dd in my examples -- setting
> a block size to fill the pipe/packets seems to increase throughput:
>
> $ nc -l -U -N /tmp/socket > /dev/null & time -p ( dd if=/dev/zero
> count=$[1024*1024*4] bs=1024 | nc -U -N /tmp/socket > /dev/null )

Realized the bottleneck would be the pipe between dd and nc, so wrote
a program to connect to /tmp/socket and spew data at it -- it sends
46950 212992-byte buffers (9999974400 bytes) in 2.41 seconds.
(4149366971 bytes/second, or 4.1GB/s).

(The default "MTU" for a Linux Unix socket connection
is 212992 bytes. Default pipe size is 8*512 bytes.)

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G
"Profanity is the one language all programmers know best."

Subject: Re: Named pipes vs. Unix sockets
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 09:37 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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: Named pipes vs. Unix sockets
Date: Fri, 22 Nov 2024 09:37:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vhpjdn$14ce8$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
<vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
<vhja6j$23f5e$4@dont-email.me> <vhmm4c$hnbj$1@dont-email.me>
<vhmn2t$hv8i$3@dont-email.me> <vhnikj$me7m$1@dont-email.me>
<wwvcyio8m9p.fsf@LkoBDZeT.terraraq.uk> <vhorrb$t48o$1@dont-email.me>
<vhosra$1171f$1@dont-email.me> <lqalg1F7fi9U2@mid.individual.net>
<vhp8qi$12m83$2@dont-email.me> <lqaoknF8btnU2@mid.individual.net>
<lqaq6cF8btnU3@mid.individual.net> <lqau7sF8btnU4@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 10:37:59 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927";
logging-data="1192392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bifXHlzKqXFkg2/p9Qx58"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:zyBiYvAn3PfnuWh1seO0IDdgFos=
View all headers

On 22 Nov 2024 08:38:20 GMT, vallor wrote:

> ... or 4.1GB/s).

That’s about what I was getting, for both a pipe (unnamed) and a
socketpair.

Pages:1234

rocksolid light 0.9.8
clearnet tor