From owner-freebsd-hackers Wed Jul 24 9: 3:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 551FD37B400 for ; Wed, 24 Jul 2002 09:03:39 -0700 (PDT) Received: from fserver.bluehighway.net (pcp01060543pcs.polcht01.tn.comcast.net [68.59.253.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C4D43E3B for ; Wed, 24 Jul 2002 09:03:33 -0700 (PDT) (envelope-from mwade@bluehighway.net) Received: from bluehighway.net (bluehighway.net [192.168.1.10]) by fserver.bluehighway.net (Postfix) with ESMTP id 4F0025F502; Wed, 24 Jul 2002 12:04:59 -0400 (EDT) Date: Wed, 24 Jul 2002 12:04:59 -0400 (EDT) From: Mike Wade To: Jay West Cc: Subject: Re: SysV IPC message queues performance In-Reply-To: <008901c23322$cdf0f320$9701a8c0@HPLAPTOP> Message-ID: <20020724120243.O76216-100000@bluehighway.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 24 Jul 2002, Jay West wrote: > At one point I saw a program on the net that did benchmarks on a given > system of sending the same data via message queues, sockets, pipes, etc. but > I can't seem to find it anymore. The long and short of my question is - are > SYSV IPC message queues on FreeBSD (or in general) known to be fairly slow? > If only on freeBSD, is there anything that can be tweaked to speed them up? > If not, or if they're just slow on all implementations, can someone suggest > which of sockets, pipes, etc. are known to be awfully fast? I believe the book "UNIX Network Programming, Volume 2: Interprocess Communications" by W. Richard Stevens has a section and code dedicated to measuring IPC latency and thruput. --- Mike Wade (mwade@bluehighway.net) Blue Highway Labs, LLC. Office: (423) 634-7746 Cell : (423) 580-2440 AIM : BHmwade To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message