From owner-freebsd-net@FreeBSD.ORG Mon May 14 08:44:39 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 0F6A21065670 for ; Mon, 14 May 2012 08:44:39 +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 9F5868FC15 for ; Mon, 14 May 2012 08:44:38 +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 D48AD1C0C0BD4; Mon, 14 May 2012 10:44:36 +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 04:44:36 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> References: To: vansi wow X-Mailer: Apple Mail (2.1278) Cc: freebsd-net@freebsd.org, sctp-impl@external.cisco.com 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 08:44:39 -0000 On May 14, 2012, at 12:21 AM, vansi wow wrote: > Hi All, > we have ported SCTP from FreeBSD 7.0 tree , but we face the Hi Vamshi, 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? >=20 > issue that when we measure the throughput performance of the stack , = we see > that SCTP throughput is half that of the TCP throughput . >=20 > Is there some tuning which can be done or some tweaks which can help > improve the performance . >=20 >=20 >=20 > TCP : > =3D=3D=3D=3D=3D > SO_SNDBUF =3D 32768 > SO_RCVBUF =3D 32768 > Throughput: 5653KB/s >=20 >=20 > 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... Best regards Michael >=20 > 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