Re: Are We Back to the "Wars" Now ?

Liste des GroupesRevenir à col misc 
Sujet : Re: Are We Back to the "Wars" Now ?
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.misc
Date : 23. Nov 2024, 04:25:08
Autres entêtes
Message-ID : <lqd08jFisv3U1@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
On Fri, 22 Nov 2024 19:11:23 -0000 (UTC), Rich <rich@example.invalid>
wrote in <vhql0r$1a0ch$2@dont-email.me>:

vallor <vallor@cultnix.org> wrote:
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.
 
Only to the extent that a filesystem lookup has to occur to lookup the
name in order to open() the name.
 
Once you have a file descriptor back from the open() call, there is no
difference at all kernel wise betwenn the two, they are one and the same
block of kernel code.

I stand corrected about that.

 
Can't use named pipes on just any filesystem -- won't work on NFS for
example, unless I'm mistaken.
 
Correct, you need a filesystem that supports storing a 'name' that that
is a reference to a pipe, so windows filesystems are out.
 
Named pipes appear as 'pipe' nodes across NFS (just tested this to be
certian).  And, so long as all the "accessors" of the named pipe are
running on the same Linux machine with the NFS mount containing the pipe
node, the named pipe works as expected (just tested this as well).

I tested it too (with an NFS v4.1 filesystem), and yes, mkfifo makes
a named pipe, and it works as expected.  (Didn't expect it to work
across machines, though that would be a neat trick.)


But a named pipe on NFS does not give you a machine to machine (two
different machines) transmit channel.
 
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.
 
Correct.
 
I suspect (but don't know) that named pipes require the data to pass
through the filesystem for each write.
 
Incorrect.  The only 'filesystem' access for named pipes is during the
open() call to look up the name from the filesystem.  Once you get the
file descriptor back, it is the exact same in-memory FIFO queue as an
anonymous pipe created via pipe() (at least on Linux).

Again, I stand corrected on that.

(Haven't figured out how to increase ulimit -p yet, doesn't seem
to want to increase, even as root...)

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G
   "A good hot dog feeds the hand that bites it."

Date Sujet#  Auteur
18 Nov 24 * Are We Back to the "Wars" Now ?76186282@ud0s4.net
18 Nov 24 +* Re: Are We Back to the "Wars" Now ?3D
20 Nov 24 i`* Re: Are We Back to the "Wars" Now ?2186282@ud0s4.net
20 Nov 24 i `- Re: Are We Back to the "Wars" Now ?1D
18 Nov 24 +- Re: Are We Back to the "Wars" Now ?1Pancho
18 Nov 24 +- Re: Are We Back to the "Wars" Now ?1Richard Kettlewell
18 Nov 24 +* Re: Are We Back to the "Wars" Now ?48Rich
18 Nov 24 i`* Re: Are We Back to the "Wars" Now ?47Phillip Frabott
20 Nov 24 i `* Re: Are We Back to the "Wars" Now ?46Lawrence D'Oliveiro
21 Nov 24 i  `* Re: Are We Back to the "Wars" Now ?45Phillip Frabott
21 Nov 24 i   `* Re: Are We Back to the "Wars" Now ?44Lawrence D'Oliveiro
21 Nov 24 i    `* Re: Are We Back to the "Wars" Now ?43Phillip Frabott
21 Nov 24 i     +* Re: Are We Back to the "Wars" Now ?20Richard Kettlewell
22 Nov 24 i     i`* Re: Are We Back to the "Wars" Now ?19Phillip Frabott
22 Nov 24 i     i +* Re: Are We Back to the "Wars" Now ?17Lawrence D'Oliveiro
22 Nov 24 i     i i`* Re: Are We Back to the "Wars" Now ?16vallor
22 Nov 24 i     i i +* Re: Are We Back to the "Wars" Now ?10Lawrence D'Oliveiro
22 Nov 24 i     i i i`* Re: Are We Back to the "Wars" Now ?9vallor
22 Nov 24 i     i i i `* Named pipes vs. Unix sockets (was: Re: Are We Back to the "Wars" Now ?)8vallor
22 Nov 24 i     i i i  `* Re: Named pipes vs. Unix sockets7vallor
22 Nov 24 i     i i i   +- Re: Named pipes vs. Unix sockets1Lawrence D'Oliveiro
22 Nov 24 i     i i i   `* Re: Named pipes vs. Unix sockets5Phillip Frabott
22 Nov 24 i     i i i    +* Re: Named pipes vs. Unix sockets3Lawrence D'Oliveiro
23 Nov 24 i     i i i    i`* Re: Named pipes vs. Unix sockets2Phillip Frabott
23 Nov 24 i     i i i    i `- Re: Named pipes vs. Unix sockets1Lawrence D'Oliveiro
3 Dec 24 i     i i i    `- Re: Named pipes vs. Unix sockets1Lawrence D'Oliveiro
22 Nov 24 i     i i `* Re: Are We Back to the "Wars" Now ?5Rich
23 Nov 24 i     i i  +* Re: Are We Back to the "Wars" Now ?3vallor
23 Nov 24 i     i i  i+- Re: Are We Back to the "Wars" Now ?1Rich
23 Nov 24 i     i i  i`- Re: Are We Back to the "Wars" Now ?1Lawrence D'Oliveiro
26 Nov 24 i     i i  `- Pipes v. FIFOs (was: Are We Back to the "Wars" Now ?)1Geoff Clare
22 Nov 24 i     i `- Re: Are We Back to the "Wars" Now ?1Richard Kettlewell
21 Nov 24 i     `* Re: Are We Back to the "Wars" Now ?22Lawrence D'Oliveiro
22 Nov 24 i      `* Re: Are We Back to the "Wars" Now ?21186282@ud0s4.net
22 Nov 24 i       `* Re: Are We Back to the "Wars" Now ?20Lawrence D'Oliveiro
23 Nov 24 i        `* Re: Are We Back to the "Wars" Now ?19186282@ud0s4.net
23 Nov 24 i         `* Re: Are We Back to the "Wars" Now ?18Lawrence D'Oliveiro
23 Nov 24 i          `* Re: Are We Back to the "Wars" Now ?17186282@ud0s4.net
23 Nov 24 i           +* Re: Are We Back to the "Wars" Now ?6Lawrence D'Oliveiro
23 Nov 24 i           i`* Re: Are We Back to the "Wars" Now ?5Carlos E.R.
23 Nov 24 i           i +* Re: Are We Back to the "Wars" Now ?2Fritz Wuehler
24 Nov 24 i           i i`- Re: Are We Back to the "Wars" Now ?1Carlos E.R.
24 Nov 24 i           i `* Re: Are We Back to the "Wars" Now ?2Lawrence D'Oliveiro
24 Nov 24 i           i  `- Re: Are We Back to the "Wars" Now ?1Carlos E.R.
23 Nov 24 i           `* Re: Are We Back to the "Wars" Now ?10The Natural Philosopher
23 Nov 24 i            `* Re: Are We Back to the "Wars" Now ?9Lawrence D'Oliveiro
24 Nov 24 i             `* Re: Are We Back to the "Wars" Now ?8186282@ud0s4.net
24 Nov 24 i              +- Re: Are We Back to the "Wars" Now ?1Lawrence D'Oliveiro
24 Nov 24 i              `* Re: Are We Back to the "Wars" Now ?6Rich
24 Nov 24 i               `* Re: Are We Back to the "Wars" Now ?5Lew Pitcher
24 Nov 24 i                +- Re: Are We Back to the "Wars" Now ?1Rich
24 Nov 24 i                `* Re: Are We Back to the "Wars" Now ?3Richard Kettlewell
24 Nov 24 i                 +- Re: Are We Back to the "Wars" Now ?1Carlos E.R.
24 Nov 24 i                 `- Re: Are We Back to the "Wars" Now ?1Rich
20 Nov 24 `* Re: Are We Back to the "Wars" Now ?22Lawrence D'Oliveiro
3 Dec 24  `* Re: Are We Back to the "Wars" Now ?21186282@ud0s4.net
3 Dec 24   +* Re: Are We Back to the "Wars" Now ?3Lawrence D'Oliveiro
4 Dec 24   i`* Re: Are We Back to the "Wars" Now ?2186282@ud0s4.net
4 Dec 24   i `- Re: Are We Back to the "Wars" Now ?1Lawrence D'Oliveiro
14 Dec 24   `* Re: Are We Back to the "Wars" Now ?17Pancho
14 Dec 24    `* Re: Are We Back to the "Wars" Now ?16root
14 Dec 24     `* Re: Are We Back to the "Wars" Now ?15The Natural Philosopher
17 Dec14:34      `* Re: Are We Back to the "Wars" Now ?14Geoff Clare
18 Dec02:23       `* Re: Are We Back to the "Wars" Now ?13Lawrence D'Oliveiro
18 Dec05:25        `* Re: Are We Back to the "Wars" Now ?12186282@ud0s4.net
18 Dec06:01         `* Re: Are We Back to the "Wars" Now ?11Rich
18 Dec06:12          +* Re: Are We Back to the "Wars" Now ?5Robert Riches
18 Dec15:03          i`* Re: Are We Back to the "Wars" Now ?4Rich
19 Dec05:27          i `* Re: Are We Back to the "Wars" Now ?3Robert Riches
19 Dec15:07          i  `* Re: Are We Back to the "Wars" Now ?2Rich
19 Dec16:02          i   `- Re: Are We Back to the "Wars" Now ?1D
18 Dec09:27          `* Re: Are We Back to the "Wars" Now ?5Richard Kettlewell
18 Dec15:02           `* Re: Are We Back to the "Wars" Now ?4Rich
18 Dec17:11            `* Re: Are We Back to the "Wars" Now ?3John Ames
18 Dec17:51             +- Re: Are We Back to the "Wars" Now ?1Rich
18 Dec19:32             `- Re: Are We Back to the "Wars" Now ?1Richard Kettlewell

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal