HP3000-L Archives

April 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Hawkins <[log in to unmask]>
Reply To:
Jim Hawkins <[log in to unmask]>
Date:
Mon, 7 Apr 1997 16:06:20 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
> I wonder if the shell would do this now...
>
>    shell/iX> callci foo | callci fum
>
> Will have to put that on my list of "to try" items unless somebody
> else is handy to a login to try...
>

Does the shell launch seperate child processes for pipe?

The answer is:  Yes, the shell may (depending on the
function/command/program called) launch a child for each side of the
pipe.  This can give you higher parallelism AND you can easily run into
the issues around process launches being 'more expensive' on MPE than
U*X.   Don't use the pipe just for parallelism for 'short' duration
programs or you'll pay a higher price in process launch overhead then
you'd ever gain in 'keeping both CPU's busy'.

Fishin' lessons:
:setvar hpshelldb=2
:sh << assuming HPPXUDC.pub.sys is set >>

Regards,

Jim

ATOM RSS1 RSS2