Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: Do inter-process pipes use secondary (disc) memory for buffering? Message-ID: <5566@umcp-cs.UUCP> Date: Wed, 8-May-85 17:44:06 EDT Article-I.D.: umcp-cs.5566 Posted: Wed May 8 17:44:06 1985 Date-Received: Fri, 10-May-85 21:31:13 EDT References: <605@homxb.UUCP> Distribution: net.unix Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 15 > Recently, some controversy has arisen in my group regarding whether > interprocess pipes use primary (main) or secondary (disc) memory for > buffering. The answer is "yes" and "yes". System (III, V, Vr2, Vr2v2 [standard!]) and 4.1BSD (and 4.0 and 3.0 and 2.9 and 2.8BSD) implement pipes as disk files. 4.2BSD implements them as sockets (which never go to disk). However, in most cases the data in pipes never gets out of the block file system buffer cache (main memory). (Performance analysis? What performance analysis?) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland