Regarding SCTP performance

Michael Tuexen Michael.Tuexen at lurchi.franken.de
Mon May 14 09:45:50 UTC 2012


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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> >
> 
> 



More information about the freebsd-net mailing list