multipath-tcp / mptcp

⚠️⚠️⚠️ Deprecated 🚫 Out-of-tree Linux Kernel implementation of MultiPath TCP. 👉 Use https://github.com/multipath-tcp/mptcp_net-next repo instead ⚠️⚠️⚠️
https://github.com/multipath-tcp/mptcp_net-next
Other
887 stars 334 forks source link

Redundant schechuler doesn't duplicate all packet on each subflow. #476

Open ken32293355 opened 2 years ago

ken32293355 commented 2 years ago

Hello,

I am using the MPTCP v0.94.8.

My setting: kernel.osrelease = 4.14.271.mptcp net.mptcp.mptcp_checksum = 1 net.mptcp.mptcp_debug = 0 net.mptcp.mptcp_enabled = 2 net.mptcp.mptcp_path_manager = fullmesh net.mptcp.mptcp_scheduler = redundant net.mptcp.mptcp_syn_retries = 3 net.mptcp.mptcp_version = 0

And I wrote a simple socket program and set this in my C program,

int enable = 1; setsockopt(server_fd, SOL_TCP, 42, &enable, sizeof(int)); char scheduler[] = "redundant"; setsockopt(server_fd, SOL_TCP, 43, scheduler, sizeof(scheduler));

I find that the MPTCP only duplicate the packet at the begin time. No matter my throughput is, most of my packets are not duplicated.

matttbe commented 2 years ago

Hi,

Thank you for the bug report.

May you please check if you can reproduce this issue with MPTCP v0.95 + the modification suggested there: #474 ?

ken32293355 commented 2 years ago

Thank you, I will try the new modification.