From owner-freebsd-net@FreeBSD.ORG Mon May 14 09:45:50 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03F781065673 for ; Mon, 14 May 2012 09:45:50 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 6B06A8FC1B for ; Mon, 14 May 2012 09:45:49 +0000 (UTC) Received: from [172.20.10.2] (tmo-110-86.customers.d1-online.com [80.187.110.86]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 3F0201C0B4619; Mon, 14 May 2012 11:45:48 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Michael Tuexen In-Reply-To: Date: Mon, 14 May 2012 11:45:46 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> To: vansi wow X-Mailer: Apple Mail (2.1278) Cc: freebsd-net@freebsd.org Subject: Re: Regarding SCTP performance X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2012 09:45:50 -0000 On May 14, 2012, at 11:39 AM, vansi wow wrote: > Hi Michael, > Since we use NetBSD 3.0 on the router, the SCTP = stack code is ported to NetBSD 3.0 with some tweaks for the mips = platform. > There are no packet loss , since for testing ,we hosted both client = and server on the same router . The CPU Load is very minimal since its = just a echo application for the test. >=20 > are there any performance related fixes in the new source which helps = the throughput. Hi Vamshi, there is a huge number of bugfixes... We keep the SCTP sources of = stable/8, stable/9 and CURRENT in sync (as much as possible). Some of the bugs do affect the = performance. If it is possible, you can send me a .pcap tracefile (you can send it = off-list) and I will have a look. Maybe it is possible to guess what is going on. Best regards Michael >=20 > Regards, > Vamshi >=20 >=20 >=20 > On Mon, May 14, 2012 at 2:14 PM, Michael Tuexen = wrote: > On May 14, 2012, at 12:21 AM, vansi wow wrote: >=20 > > Hi All, > > we have ported SCTP from FreeBSD 7.0 tree , but we face = the > Hi Vamshi, >=20 > I would recommend to use more recent sources... There has been a huge > number of bug fixes been committed. BTW: What exactly does "porting" > mean? What system are you using? > > > > issue that when we measure the throughput performance of the stack , = we see > > that SCTP throughput is half that of the TCP throughput . > > > > Is there some tuning which can be done or some tweaks which can help > > improve the performance . >=20 > > > > > > > > TCP : > > =3D=3D=3D=3D=3D > > SO_SNDBUF =3D 32768 > > SO_RCVBUF =3D 32768 > > Throughput: 5653KB/s > > > > > > SCTP: > > =3D=3D=3D=3D=3D=3D > > SNDBUF =3D 838860 > > RCVBUF =3D 838860 > > Throughput =3D 2422 KB/s > Without any another information it is hard to say what is limiting the = transfer. > Do you have any packet loss? What is the CPU load when doing the = transfer? > FreeBSD 7 does not support CRC offloading... >=20 > Best regards > Michael > > > > Regards, > > Vamshi > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to = "freebsd-net-unsubscribe@freebsd.org" > > >=20 >=20