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

Liste des GroupesRevenir à col misc 
Sujet : Re: Are We Back to the "Wars" Now ?
De : geoff (at) *nospam* clare.See-My-Signature.invalid (Geoff Clare)
Groupes : comp.os.linux.misc
Date : 17. Dec 2024, 14:34:30
Autres entêtes
Message-ID : <68b83l-jtd.ln1@ID-313840.user.individual.net>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.154 (Izium; 517acf4)
The Natural Philosopher wrote:

On 14/12/2024 15:54, root wrote:
If you create a tmpfs /ram directory then pipes or named
files would both work in ram, and there would be no
functional difference.
 
I am not sure how pipes work as to be certain of that.

In fact quite the opposite is true; there is a very real and
easily noticeable functional difference.

If you use a regular file in a tmpfs to transfer data between two
processes, the amount of data you can transfer is limited to the
free space on the tmpfs, unless you go to great lengths to put
logic into the two processes to coordinate the reading and writing
such that the file never grows larger than a certain size and is
overwritten as necessary. You also need a way for the writer to
indicate to the reader that all of the data has been written.

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.

--
Geoff Clare <netnews@gclare.org.uk>

Date Sujet#  Auteur
18 Nov 24 * Are We Back to the "Wars" Now ?80186282@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 ?52Rich
18 Nov 24 i`* Re: Are We Back to the "Wars" Now ?51Phillip Frabott
20 Nov 24 i `* Re: Are We Back to the "Wars" Now ?50Lawrence D'Oliveiro
21 Nov 24 i  `* Re: Are We Back to the "Wars" Now ?49Phillip Frabott
21 Nov 24 i   `* Re: Are We Back to the "Wars" Now ?48Lawrence D'Oliveiro
21 Nov 24 i    `* Re: Are We Back to the "Wars" Now ?47Phillip 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
22 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 ?26Lawrence D'Oliveiro
22 Nov 24 i      `* Re: Are We Back to the "Wars" Now ?25186282@ud0s4.net
22 Nov 24 i       `* Re: Are We Back to the "Wars" Now ?24Lawrence D'Oliveiro
23 Nov 24 i        `* Re: Are We Back to the "Wars" Now ?23186282@ud0s4.net
23 Nov 24 i         `* Re: Are We Back to the "Wars" Now ?22Lawrence D'Oliveiro
23 Nov 24 i          `* Re: Are We Back to the "Wars" Now ?21186282@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.
23 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 ?14The Natural Philosopher
23 Nov 24 i            `* Re: Are We Back to the "Wars" Now ?13Lawrence D'Oliveiro
24 Nov 24 i             `* Re: Are We Back to the "Wars" Now ?12186282@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 ?10Rich
24 Nov 24 i               `* Re: Are We Back to the "Wars" Now ?9Lew 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 ?7Richard 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
25 Dec 24 i                 `* Re: Are We Back to the "Wars" Now ?4186282@ud0s4.net
27 Dec 24 i                  +- Re: Are We Back to the "Wars" Now ?1Richard Kettlewell
28 Dec 24 i                  +- Re: Are We Back to the "Wars" Now ?1Lawrence D'Oliveiro
5 Jan 25 i                  `- Re: Are We Back to the "Wars" Now ?1Jerry Peters
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 Dec 24      `* Re: Are We Back to the "Wars" Now ?14Geoff Clare
18 Dec 24       `* Re: Are We Back to the "Wars" Now ?13Lawrence D'Oliveiro
18 Dec 24        `* Re: Are We Back to the "Wars" Now ?12186282@ud0s4.net
18 Dec 24         `* Re: Are We Back to the "Wars" Now ?11Rich
18 Dec 24          +* Re: Are We Back to the "Wars" Now ?5Robert Riches
18 Dec 24          i`* Re: Are We Back to the "Wars" Now ?4Rich
19 Dec 24          i `* Re: Are We Back to the "Wars" Now ?3Robert Riches
19 Dec 24          i  `* Re: Are We Back to the "Wars" Now ?2Rich
19 Dec 24          i   `- Re: Are We Back to the "Wars" Now ?1D
18 Dec 24          `* Re: Are We Back to the "Wars" Now ?5Richard Kettlewell
18 Dec 24           `* Re: Are We Back to the "Wars" Now ?4Rich
18 Dec 24            `* Re: Are We Back to the "Wars" Now ?3John Ames
18 Dec 24             +- Re: Are We Back to the "Wars" Now ?1Rich
18 Dec 24             `- Re: Are We Back to the "Wars" Now ?1Richard Kettlewell

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal