SCTP is migrating to Netty

108 views
Skip to first unread message

Amit Bhayani

unread,
Nov 28, 2015, 12:33:32 PM11/28/15
to mobicents-public, Sergey Vetyutnev
Hi Guys,

On move to improve the performance of SCTP stack and get rid of lower level NIO code, SCTP project is moving towards Netty.


The first draft code is committed at https://github.com/Mobicents/sctp/tree/netty. This is really draft and just reference so some load test can be done to compare the old NIO with Netty.

On first test I could achieve 15000 MAP messages/sec using MAP load test tool on below machine

  • Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
  • 64 bit
  • 16 GB RAM (2GB each assigned to MAP Server and Client test)
  • cores 2
  • enabledcores 2
  • threads 4
  • CPU consumed approx 80% on CPU 1 and 2 (3 and 4 hardly used)

Your feedback is welcome.

Thanks and Regards,
Amit.

Antón Rodríguez Yuste

unread,
Dec 2, 2015, 4:23:20 AM12/2/15
to mobicent...@googlegroups.com, Sergey Vetyutnev
Hi Amit,

It's awesome!. Just a quick question to understand better what you are doing, are you using the OOTB SCTP libraries provided by Netty (https://github.com/netty/netty/tree/master/transport-sctp/src/main/java/com/sun/nio/sctp) or developing your own?

Best regards,

Antón

--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gaurav Singh

unread,
Dec 5, 2015, 8:50:50 AM12/5/15
to mobicent...@googlegroups.com, Sergey Vetyutnev

Hi guys ,

This is really exciting because netty has become the favourite choice as well managed socket platform . Amit , please  detail us the complete infrastructure in use for this particular move :
Netty version
Underlying sctp library : lksctp is one choice on linux kernel
Java version

Regards

Gaurav

Amit Bhayani

unread,
Dec 7, 2015, 7:43:52 AM12/7/15
to mobicents-public, Sergey Vetyutnev
Hi Anton,

We fully use Netty library. Saying that we leverage NioSctpChannel

Amit.

Amit Bhayani

unread,
Dec 7, 2015, 7:45:36 AM12/7/15
to mobicents-public, Sergey Vetyutnev
Hi Gaurav,

We use Netty 4.0.33
Underlying library is indeed lksctp for linux. I haven't tested for any other OS. Please feel free to comment if you are trying to test with other OS as well.
Java Version is 1.7

Amit.

Reply all
Reply to author
Forward
0 new messages