From owner-freebsd-questions Thu Jul 18 9:52:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8824B37B400 for ; Thu, 18 Jul 2002 09:52:33 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFFC543E58 for ; Thu, 18 Jul 2002 09:52:32 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6IGqV7Y050975; Thu, 18 Jul 2002 11:52:31 -0500 (CDT) (envelope-from dan) Date: Thu, 18 Jul 2002 11:52:30 -0500 From: Dan Nelson To: Jay West Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Repost: Why are IPC message queues incredibly slow? Message-ID: <20020718165230.GC41869@dan.emsphone.com> References: <01b501c22e72$acb7a0a0$9701a8c0@HPLAPTOP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01b501c22e72$acb7a0a0$9701a8c0@HPLAPTOP> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 18), Jay West said: > I posted this here a week ago, but got no responses. Is there a better list > I should direct this type of question to, a developers list for freebsd or > something? Any thoughts appreciated! > ----- Original Message ----- > > I'm writing a rather major project under FreeBSD, and making fairly > > heavy use of message queues so that multiple processes can > > communicate. I am finding the response times for message delivery > > between two given processes to be pretty horrid, typically about 1 > > second per message set (send query from process A to process B, > > then process B sends a response back to process A and process A > > displays the response). You can try freebsd-hackers, but I don't think sysv queues are used very often at all. You say there's a 1-sec delay when sending a message? Have you ktrace'd both client and server and verified that msgsnd/msgrcv are really the cause of the delay? Can you reproduce the problem with a pair of minimal programs? -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message