From owner-freebsd-net@FreeBSD.ORG Mon May 14 09:39:14 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 270E21065799 for ; Mon, 14 May 2012 09:39:14 +0000 (UTC) (envelope-from vansiwow@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id ECF258FC16 for ; Mon, 14 May 2012 09:39:13 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so6629783pbb.13 for ; Mon, 14 May 2012 02:39:13 -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=WhMpvC5a1bPRU+g/GctP9FHT3wiFh+l/zJMZoOr8B70=; b=XfgmF65E43x4e+1WDbu/wf7XVIx6einpxx6QLEJh98J3KCN9rCXkVz6U9ZT17I+k+u 9FZ/Q8jHkU6iERmP+kaJ1DSwruMFSA3IWBcMbMkzm0IkpZ7ClUFU2Wn5z/qmhVqJAtCR mNIoNG+0L43+poME0fCpfYM7ybbMzQtVARQBdcAt/Ca8t9+S+/g7AvgyWTe+iMf10E7b an5Itc2ODYUJj4aJho5iPT71pCHOBUHfssPFkCC9K0Fe+rNLQxQ84E/W8Slor7HNU5Zx Alkt5Uoby2vfb4cyoozuDynRnV4MLo6n5ZqXyxJotdrdu3dQGjjsR+wx+1d1SVkN0LlP 85MA== MIME-Version: 1.0 Received: by 10.68.135.40 with SMTP id pp8mr20817319pbb.13.1336988353414; Mon, 14 May 2012 02:39:13 -0700 (PDT) Received: by 10.68.48.2 with HTTP; Mon, 14 May 2012 02:39:13 -0700 (PDT) In-Reply-To: <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> References: <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> Date: Mon, 14 May 2012 15:09:13 +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 09:39:14 -0000 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. 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" > > > >