3 ms·
Can you expand on why "window scaling needs to be OS-global to avoid flapping". I have googled it and a I got to http://en.wikipedia.org/wiki/Route_flapping ht
by fmstephe 11y ago
Can you expand on why "window scaling needs to be OS-global to avoid flapping". I have googled it and a I got to
http://en.wikipedia.org/wiki/Route_flapping http://en.wikipedia.org/wiki/Route_flapping
and I couldn't work out how this related to TCP living in the Kernel.
Not trolling, real question. Thanks in advance.
- KaiserPro 11y agothe TCP stack is controlled entirely by the kernel. so it handles things like requesting dropped packets and rate limiting.(which relates directly to "packets in flight") with UDP, that layer of ACK, ordering and rate limiting is gone. if you want to send a million packets a second to 56k modem, sure the kernel isnt going to stop you. Whilst it might be possible to have per TCP connection windowing parameters, I doubt it'd be very efficient.
- haberman 11y ago> Whilst it might be possible to have per TCP connection windowing parameters, I doubt it'd be very efficient. If you had kept going here and explained why you doubt that, you would have answered the parent's post.
- motoboi 11y agoWell, I suppose he is talking about how the kernel schedule tasks. TCP windows is strongly related to time and buffer capacity and consumption. If you don't control the time, you can't control tcp-windows. I suppose.
- fryguy 11y agoMy guess is that the OS kernel has a better idea of the total bandwidth available than each individual process. If two processes decide to increase their bandwidth at the same time, and both of them would miss a packet falling back. I'm guessing the flapping in this case is processes increasing and decreasing their bandwidth because of no central control of the data rates.