Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (MU) 9/23/84; site neology.OZ Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!munnari!basser!neology!chris From: chris@neology.OZ (Chris Maltby) Newsgroups: net.unix-wizards Subject: Re: how big is a pipe? Message-ID: <206@neology.OZ> Date: Thu, 3-Oct-85 18:51:19 EDT Article-I.D.: neology.206 Posted: Thu Oct 3 18:51:19 1985 Date-Received: Sat, 5-Oct-85 07:24:21 EDT References: <1666@brl-tgr.ARPA> Reply-To: chris@neologyaltby.OZ (Chris Maltby) Organization: Neology Limited, Australia Lines: 14 Sys V pipes will work fine in just about all circumstances as long as PIPSIZ (usually 5120) is a multiple of the file system buffer size (typically 1024). However, on the 3b2 (and the ELXSI) which have 2048 byte buffers, you get quite interesting behavior from pipes when reading and writing in 2048 byte chunks. We discovered and fixed this on the ELXSI - the 3b2 is still broken at sys5 rel2. The best fix is to set PIPSIZ to be (10 * BSIZE). Symptoms include pipe 'constipation', data mangling etc. -- Chris Maltby - Neology Ltd (chris@neology.oz) PHONE: +61-2-662-4111 UUCP: seismo!neology.oz!chris CSNET: chris@neology.oz ARPA: chris%neology.oz@seismo.cs.gov.arpa