Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 11:45:46 +0200
From:      Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
To:        vansi wow <vansiwow@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Regarding SCTP performance
Message-ID:  <EC9863CC-3EB5-411F-9A92-1825AA34430E@lurchi.franken.de>
In-Reply-To: <CAEsa=O1SJtXgdvB=YDs626QeAwo6rN3G1Ued7=-=mxbcBL67EA@mail.gmail.com>
References:  <CAEsa=O2Fa1u0BJ3nvHsskWxs=fV3r3jXz6dTZ7xUAtvRtXQ0cg@mail.gmail.com> <8A60952E-4300-497B-9101-CEA952026F24@lurchi.franken.de> <CAEsa=O1SJtXgdvB=YDs626QeAwo6rN3G1Ued7=-=mxbcBL67EA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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"
> >
> 
> 



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC9863CC-3EB5-411F-9A92-1825AA34430E>