From owner-freebsd-hackers Tue Aug 24 15:27: 5 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from www.crb-web.com (ns1.crb-web.com [209.70.120.131]) by hub.freebsd.org (Postfix) with SMTP id 3731514DE4 for ; Tue, 24 Aug 1999 15:27:02 -0700 (PDT) (envelope-from wayne@crb.crb-web.com) Received: (qmail 7168 invoked by uid 1001); 24 Aug 1999 23:06:53 -0000 Date: Tue, 24 Aug 1999 19:06:53 -0400 (EDT) From: Wayne Cuddy Reply-To: wayne@crb-web.com To: FreeBSD Hackers List Subject: yea TCP_NODELAY Re: network performance vs. linux on small transfers In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, if you suggested the TCP_NODELAY option you were right. Once we set this FreeBSD sent 25 msgs/second, Linux did 22 msgs/second and HPSUX did 15 msgs/second. (we TCP_NODELAY on all platforms) Is the Linux Nangle algo broken/different? Thanks for all the help. Wayne On Tue, 24 Aug 1999, Wayne Cuddy wrote: > Date: Tue, 24 Aug 1999 00:38:21 -0400 (EDT) > From: Wayne Cuddy > To: FreeBSD Hackers List > Subject: network performance vs. linux on small transfers > > I am involved in a messaging system at work in which we need to send/receive > large amounts of small (one line messages) SMTP messages. We are currently using Sendmail 8.9.3 > on HPUX. > > Our application sends messages down a FIFO to a daemon process that is reading from > the FIFO. This process then connects to port 25 of the destination system and > delivers the mail via SMTP. Currently the destination system is the local > system so everything is done on one machine. > > Using HPUX we typically pass 5 messages a second. This system is a dual > 180Mhz K class server so this is surprisingly low performance for this system. > > When testing on FreeBSD 3.1 we also got 5 messages a second. This system is a > 500Mhz P3, this is also unacceptable performance. > > When we tested with Linux (kernel 2.2.5) we passed 15 messages a second > consistently using the exact same P3 described above. > > Since the HPUX and FreeBSD numbers are so close I am wondering there is some > performance tuning that I do not know about. Do you think the number might > change if multiple hosts were used? > > The daemon that reads from the FIFO makes only one connection to the local > Sendmail to deliver multiple messages in sequence. > > > I REALLY want to use FreeBSD over Linux on this one and need some major help > to get the performance out of FreeBSD. > > > Much thanks in advance, > > Wayne Cuddy > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message