Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uwm.edu!lll-winken!cert!netnews.upenn.edu!msuinfo!chroma.cps.msu.edu!raja From: raja@bombay.cps.msu.edu (Narayan S. Raja) Newsgroups: comp.unix.questions Subject: Re: Can UNIX pipe connections be compiled? Message-ID: <1991Jan19.072755.3291@msuinfo.cl.msu.edu> Date: 19 Jan 91 07:27:55 GMT References: <1991Jan18.193234.216@rucs.runet.edu> <1991Jan18.230530.9331@convex.com> Sender: news@msuinfo.cl.msu.edu Reply-To: raja@cpswh.cps.msu.edu Organization: PRIP Lab, Comp. Sci. Dept., MSU Lines: 25 In article <1991Jan18.230530.9331@convex>, (Tom Christiansen) writes: < From the keyboard of dana@rucs.runet.edu (Dana Eckart): < :Does there exist a piece of software (or is it even possible) to compile < :a pipe? In particular, suppose you had < : < : ls -l | fgrep "Dec" | cut -f 4 < : < :is there anyway to compile the above pipeline so that the pieces can < :communicate more quickly. I am looking for a general solution, not < :one that works only for the above example. < In general, the answer to whether things like this can be automagically < compiled is no, because you can't know what all the pieces are a priori. However, wouldn't pipes be speeded up considerably on a Sun by mounting /tmp as a tmpfs filesystem (i.e. memory-based filesystem)? Apparently tmpfs is *really* quick under SunOS 4.1.1. Pardonnez-moi if this is a dumb suggestion. Narayan Sriranga Raja.