sctplab / usrsctp

A portable SCTP userland stack
BSD 3-Clause "New" or "Revised" License
653 stars 280 forks source link

SCTP #272

Open AlexVeloso opened 5 years ago

AlexVeloso commented 5 years ago

Dear, I wanted to know if SCTP to support multiple paths to its peer endpoint still may be beneficial even when we have a single MODEM. As instance suppose my application wants to transmit via a single MODEM several independent streams of chunks in parallel such as transmitting image 1 together image 2. In this case, Is there any scenery where the SCTP with multiple paths could be more beneficial than adopting a protocol with single path. If you can provide a material presenting some performance data with single and multiple MODEMs I would appreciate as well. Thanks, Alex Veloso

lgrahl commented 5 years ago

What is a modem?

AlexVeloso commented 5 years ago

Hi Lennart,

It is a Cellular MODEM.

Not sure if that helps.

Best Regards,

Alex Veloso, MSc Sr. Telematics Architecture Engineer GM North America Car Group 29427 Louis Chevrolet Rd. – Warren – MI – 48093-2350 – MI - USA Warren Technical Center - VEC Podium – Floor 01 - Office 1YA-LT08 Office: +1 586 459 6052 Mobile: +1 586 429 6302 Skype Mesip:alex.veloso@gm.com| alex.veloso@gm.commailto:alex.veloso@gm.com

From: Lennart Grahl [mailto:notifications@github.com] Sent: Thursday, November 01, 2018 2:00 PM To: sctplab/usrsctp usrsctp@noreply.github.com Cc: Alex Veloso alex.veloso@gm.com; Author author@noreply.github.com Subject: [EXTERNAL] Re: [sctplab/usrsctp] SCTP (#272)

What is a modem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sctplab/usrsctp/issues/272#issuecomment-435126347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqY0TcOO5emIA8tHz1UneTzqoPp4G2uyks5uqza9gaJpZM4X4pFO.

Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.

lgrahl commented 5 years ago

I don't have any data but it seems you want Concurrent Multipath Transfer.

woongjin1204 commented 5 years ago

Our HW platform for this project is multi-homed Client and single-homed Server. With this HW platform, How can we get CMT benefits in "Client to server uploading" use case? If we turned on CMT in client side then can we have enhanced uploading throughput?

lgrahl commented 5 years ago

I don't see a reason why it should not work.

woongjin1204 commented 5 years ago

As updated to you we had used these two APIs on both client and server to see if CMT gets enabled . The expectation was that both client IPs are used in parallel for data upload to server, but it was not happening.

usrsctp_sysctl_set_sctp_cmt_on_off()

To turn CMT on, this parameter has to be set to 1.

usrsctp_sysctl_set_sctp_buffer_splitting()

For CMT it makes sense to split the send and receive buffer to have shares for each path. By default buffer splitting is turned off.

lgrahl commented 5 years ago

:man_shrugging: Not an area of usrsctp I have worked with. @tuexen may be able to shed some light on this.