Thursday, June 18, 2009

Today I learned about TCP

I just read the TCP segment of my computer networks book and it's amazing how much more you can learn by re-reading something. I learned about TCP congestion control and TCP fairness. I think the most important thing that I learned is that TCP is not really fair after all. Since TCP fairness is based on TCP connections not hosts. What does that mean? It simply means that if my computer has 5 concurrent TCP connections and your computer has one and the bandwidth is evenly shared across the six connection, meaning I get 5 times more TCP bandwidth than your computer. This explain why torrent downloads slows down Web browsing traffic because these clients usually have 20 to 30 simultaneous TCP connections being shared by the bandwidth. The other thing is that UDP has no concept of fairness, so it can consume all of your bandwidth and not leave any space for TCP. I'm glad I read today, I hope I can read some more tomorrow.

1 comment: