General Networking/Lan/Wan/TCP window Size
I understand selection of window size should match with BDP (Bandwidth Delay Product), if window size is less, link will be under utilized and if window size is more, link will have saw tooth effect….
Now my query is…..
If I have a VSAT link of 10Mbps with 600msec then required window size will be 750Kbytes….
Now link is having UDP strumming (say 5Mbps) then FTP traffic will it have saw tooth effect????
If udp traffic is changing randomly, how do I adjust TCP window sizes dynamically???
Well I'll HELP YOU ... but I'm not going to answer the question, since it's homework - Ok? Next time - please provide YOUR ANSWERS and I'll guide them along.
>> I understand selection of window size should match with BDP (Bandwidth Delay Product), if window size is less, link will be under utilized and if window size is more, link will have saw tooth effect….
Well not really. It is a "contributing factor" perhaps but not usually the root cause. The saw tooth pattern is really the result of TCP congestion detection, and then the speed ramping back up again. It can also be caused by retransmissions / packet loss.
Here are some things worth reading
>> If I have a VSAT link of 10Mbps with 600msec then required window size will be 750Kbytes….
Oh? But the end stations have NO IDEA that the VSAT is in the middle. They would need to be manually configured. Better yet - instead of doing that, there are very specific technologies for Satellite links
>> Now link is having UDP strumming (say 5Mbps) then FTP traffic will it have saw tooth effect????
UDP strumming? I have never heard of "udp strumming". Do you mean Streaming?
Anyway what you are saying is "hey there is a lot of UDP traffic clogging up the link and IF it causes congestion then the TCP traffic will be affected by Congestion Control.
So ... WILL 5 Mbps of UDP clog up that link ... or ... NOT? Hmmmm ... I'm not here to answer that FOR YOU. So why don't you work up the numbers? How fast will a bursty streamlined tcp application like FTP be able to go on a link with 600 ms of latency?
Here are some links to help you ... but you'll still need to do the work, ok? Oh ... and packet loss really really hurts stuff at high latency!
>> If udp traffic is changing randomly, how do I adjust TCP window sizes dynamically???
End stations won't do this, since you have already manually set them. So ... this question assumes that you are NOT manually setting them, but rather using a specialized device on each side to handle that stuff.
If you don't set tcp to use those manual settings then it will "adjust dynamically". BUT - it will not do it WELL - not on high latency links like that.