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

Adding the modified scheduler to the list of schedulers #1 #520

Open rezapoorzare1 opened 7 months ago

rezapoorzare1 commented 7 months ago

Hello there,

I hope you are doing well.

I have two questions:

How can I see the available MPTCP scheduler in Linux?

How can a newly created scheduler be added to the schedulers lists and set by using:
sudo sysctl net.mptcp.mptcp_scheduler

Is there a procedure like: cc=$(< /proc/sys/net/ipv4/tcp_allowed_congestion_control) cc="$mptcp_wvegas" sudo sysctl net.ipv4.tcp_allowed_congestion_control=$cc Which is for congestion control?

Thanks a lot

matttbe commented 7 months ago

Hello,

It is similar: all MPTCP packet schedulers should be listed under net.mptcp.mptcp_scheduler.

If the one you want is not listed there, it means it has not been compiled or the kernel module has not been loaded (sudo modprobe -v mptcp_XXX or sudo insmod <full path>). Similar to what you did in #500.

rezapoorzare commented 7 months ago

Thanks a lot for the response. I added the module, but it is not working. I think I can handle it if it is the way.

One more question: I have a couple of clients connecting to a proxy server that handles the flows. Is it possible for you to guide me to find out which subflow belongs to which client in the .c code? For example, when the scheduler is redundant, how can it detect subflows belonging to different ones?

Thanks a lot