| Deutsch English Français Italiano |
|
<slrnvjo687.vg5.spamtrap42@one.localnet> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Riches <spamtrap42@jacob21819.net> Newsgroups: comp.os.linux.misc Subject: Re: The joy of pipes Date: 19 Nov 2024 04:50:15 GMT Organization: none-at-all Lines: 24 Message-ID: <slrnvjo687.vg5.spamtrap42@one.localnet> References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com> <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf> <20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me> <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad> <wwvr07bpizm.fsf@LkoBDZeT.terraraq.uk> <JJOdnfSeXoej5aT6nZ2dnZfqnPSdnZ2d@earthlink.com> <wwvwmh2z1y3.fsf@LkoBDZeT.terraraq.uk> <Uv-dnfY4yvgPJKf6nZ2dnZfqnPSdnZ2d@earthlink.com> Reply-To: spamtrap42@jacob21819.net X-Trace: individual.net 14gNY82nuPJX9JKAyD8CNQeES4ofURNPaXP44m+mFlgiS/vEUy Cancel-Lock: sha1:ubOyHK0ZlN5CbXG1jeDc49aiFEo= sha256:nWKpZXFmMT4VfH3Z8o65mpENzzZxx0nhkrDVyydlOT0= User-Agent: slrn/1.0.3 (Linux) Bytes: 2042 On 2024-11-18, 186282@ud0s4.net <186283@ud0s4.net> wrote: >... > > As I said somewhere, if your child processes are sending > megabytes back to the parent you're DOING SOMETHING WRONG. Oh? Let's take my example of an older Raspberry Pi model 1 with less than 1GB of RAM and only 4GB of SD card "disk", and process a video stream several GB in total length, from an mplayer process that will write only to a file and refuses to write to stdout, where the stream needs to be sent over the LAN to a machine with enough spinning rust to store the stream. Would temporary files work? Not really. A named pipe let mplayer write to a named file. Even if having two processes shuffling the data wasn't the most efficient, the Pi handled it quite well. -- Robert Riches spamtrap42@jacob21819.net (Yes, that is one of my email addresses.)