34 ms·
We're trying to get there! Plan is to make a user-space process that uses Linux network namespaces to intercept the outgoing TCP connections of a subsidiary pro
by keithwinstein 12y ago
We're trying to get there! Plan is to make a user-space process that uses Linux network namespaces to intercept the outgoing TCP connections of a subsidiary process (using DNAT) and then send datagrams according to whatever congestion-control mechanism you'd like.
But not there yet -- stay tuned.
- ultramancool 12y agoAny reason you're trying to do this in usermode instead of using the existing framework for pluggable congestion control already present in the kernel? Changing your algorithm is already as simple as echoing into a /proc file.
- signa11 12y ago> Any reason you're trying to do this in usermode instead of using the existing framework my guess would be that doing this in userland is way more forgiving than the kernel. once the basics are in place, moving it to kernel using the aforementioned pluggable congestion control f/w would be more or less 'mechanical'
- justincormack 12y agoYou can run the NetBSD network stack in userspace (over real links), see http://rumpkernel.org/ http://rumpkernel.org/ which is an easy way of experimenting.