From owner-freebsd-questions Tue Jul 9 13:16:51 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 43DD937B400 for ; Tue, 9 Jul 2002 13:16:49 -0700 (PDT) Received: from gatekeeper.kwcorp.com (gatekeeper.kwcorp.com [209.83.143.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD9943E31 for ; Tue, 9 Jul 2002 13:16:47 -0700 (PDT) (envelope-from jwest@classiccmp.org) Received: (from nobody@localhost) by gatekeeper.kwcorp.com (8.8.7/8.8.7) id PAA11231 for ; Tue, 9 Jul 2002 15:16:47 -0500 (CDT) (envelope-from jwest@classiccmp.org) X-Authentication-Warning: gatekeeper.kwcorp.com: nobody set sender to using -f Received: from ted.kwcorp.com(192.168.1.247) by gatekeeper via smap (V2.1) id xma011203; Tue, 9 Jul 02 15:16:26 -0500 Received: from 192.168.1.24 by ted.kwcorp.com (InterScan E-Mail VirusWall NT); Tue, 09 Jul 2002 15:23:16 -0500 Received: from HPLAPTOP [192.168.1.151] by imail.kwcorp.com (SMTPD32-7.10) id A4B9D4F012C; Tue, 09 Jul 2002 15:16:57 -0500 Message-ID: <013601c22785$64bf56b0$9701a8c0@HPLAPTOP> From: "Jay West" To: Subject: Why are IPC message queues incredibly slow? Date: Tue, 9 Jul 2002 15:15:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 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). Before I contemplate switching to named pipes or writing my own communications structure in shared memory, can someone tell me if there is anything that can be tuned in the kernel perhaps, or anything that will speed up message queue processing? THANKS! Jay West --- [This E-mail scanned for viruses by Declude Virus] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message