From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15353 invoked from network); 5 Aug 1998 09:45:15 -0000 Received: from stefan.sime.com (193.228.80.247) by mail2.redhat.com with SMTP; 5 Aug 1998 09:45:15 -0000 Received: (from stefan@localhost) by stefan.sime.com (8.8.7/8.8.7) id LAA00785; Wed, 5 Aug 1998 11:36:57 +0200 Date: Wed, 5 Aug 1998 11:36:57 +0200 Message-Id: <199808050936.LAA00785@stefan.sime.com> From: Quant-X Alpha Linux Support To: axp-list@redhat.com In-reply-to: <35C530F6.42C35B8B@paralleldata.com> (wsb@paralleldata.com) Subject: Re: SHMMAX (was Re: using cdrecord) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: Quant-X Alpha Linux Support Reply-To: Quant-X Alpha Linux Support Organization: Quant-X Service & Consulting Ges.m.b.H. X-Mailer: GNU Emacs 20.2.1 C-x m (X11 ; I; Linux 2.1.113 i586) References: <35C530F6.42C35B8B@paralleldata.com> Hi Wes ! > SHM segments are very useful on an SMP where you want > to do parallel processing. It's faster than a pipe > because a pipe copies to kernel land and back and > SHM is directly in your memory space so there's > only one copy to it and the next process can get it. Yes, yes I agree. But SHM can be painful too (for the programmer who maintains locks). It's sometimes really easier to rewrite a piped app than to hack SHM in. There are also many cases where pipes looks more natural (correct). ciao - Stefan -- Quant-X Service & Ph: (+43) 4212 6004-0 Consulting Ges.m.b.H. Fax: (+43) 4212 600420 http://www.quant-x.com Email: support@quant-x.com