From owner-freebsd-net@FreeBSD.ORG Mon May 14 10:21:00 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 A3E121065679 for ; Mon, 14 May 2012 10:21:00 +0000 (UTC) (envelope-from vansiwow@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0D08FC0A for ; Mon, 14 May 2012 10:21:00 +0000 (UTC) Received: by dadv36 with SMTP id v36so6481141dad.13 for ; Mon, 14 May 2012 03:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3Orq9bIufEa7WCn/ES7h+QwOv9kLqQgMjCim8Ua+mKA=; b=CYuxUdZaJrteSAVu9P06Banpds73AjsGR9yd9YB8S8OTA9IWSgSTEOnmHtKMVGOZq/ t96VBxFaxLgkaEWLpgdFE/DCDNrcANi7zrlhzkxNtrE70OB3DNFSPSDmEhl+HlLt6fs5 FT5WQ8VN2jTu4C6Ouw2a4gi4fIuEK0MnSi5Hs9qZUXQPqzYqAisJTyh6GcwD9X8a075b 0yY1kJyTPMaViDXni9r4mVEZwKray10o03BXdOXqi4jjKct4pfsSLP6uUBlTEp9vgHf7 KwDn9pxPGmqJIHuVWmkUjNF2EWTWfE51VZHX8Q+sd/Br+RtOnJzb8jufGyhlj9mkAIq3 3wDQ== MIME-Version: 1.0 Received: by 10.68.237.166 with SMTP id vd6mr1357970pbc.139.1336990858280; Mon, 14 May 2012 03:20:58 -0700 (PDT) Received: by 10.68.48.2 with HTTP; Mon, 14 May 2012 03:20:58 -0700 (PDT) In-Reply-To: References: <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> Date: Mon, 14 May 2012 15:50:58 +0530 Message-ID: From: vansi wow To: Michael Tuexen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 10:21:00 -0000 Hi Michael, Thanks for your inputs . Will provide the pcap tracefile offlist . Regards, Vamshi On Mon, May 14, 2012 at 3:15 PM, Michael Tuexen < Michael.Tuexen@lurchi.franken.de> wrote: > 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. > > > > 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 > > > > Regards, > > Vamshi > > > > > > > > On Mon, May 14, 2012 at 2:14 PM, Michael Tuexen < > Michael.Tuexen@lurchi.franken.de> wrote: > > 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? > > > > > > 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 . > > > > > > > > > > > > > > TCP : > > > ===== > > > SO_SNDBUF = 32768 > > > SO_RCVBUF = 32768 > > > Throughput: 5653KB/s > > > > > > > > > SCTP: > > > ====== > > > SNDBUF = 838860 > > > RCVBUF = 838860 > > > Throughput = 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 > > > > > > 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" > > > > > > > > >