Re: [PATCH] tcp: Socket option to set congestion window

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, May 27, 2010 - 12:57 am

> Then all the app does is say "I'am in peer id foo" right?  Is that really 

The worst case with peer id would be app using an own peer id
for each connection. So each connection would have an own cwnd,
just like today. So the worst case is the same as today.

If it shares connections between peer ids the real effective cwnd
of all those connections would be also never be "worse" (that is
larger) than it could be on single connection. 

So this limits the cwnds effectively with peer ids, although it also 
gives a nice way to reuse an already existing cwnd for a new
connection (this does not make things worse because in theory
the app could have reused the same connection too) 

So overall peer ids don't allow to enlarge cwnds over today.

If the cwnd is fully application controlled all these limits
are not there and a bittorrent client could just always set 
it to 1 million.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] tcp: Socket option to set congestion window, Tom Herbert, (Tue May 25, 10:01 pm)
Re: [PATCH] tcp: Socket option to set congestion window, Stephen Hemminger, (Tue May 25, 10:08 pm)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Tue May 25, 10:52 pm)
Re: [PATCH] tcp: Socket option to set congestion window, Tom Herbert, (Wed May 26, 12:06 am)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Wed May 26, 12:33 am)
Re: [PATCH] tcp: Socket option to set congestion window, Denys Fedorysychenko, (Wed May 26, 10:41 am)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Wed May 26, 2:08 pm)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Wed May 26, 3:10 pm)
Re: [PATCH] tcp: Socket option to set congestion window, Hagen Paul Pfeifer, (Wed May 26, 4:15 pm)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Wed May 26, 8:04 pm)
Re: [PATCH] tcp: Socket option to set congestion window, Hagen Paul Pfeifer, (Thu May 27, 12:08 am)
Re: [PATCH] tcp: Socket option to set congestion window, David Miller, (Thu May 27, 12:28 am)
Re: [PATCH] tcp: Socket option to set congestion window, Hagen Paul Pfeifer, (Thu May 27, 12:46 am)
Re: [PATCH] tcp: Socket option to set congestion window, Andi Kleen, (Thu May 27, 12:57 am)
Re: [PATCH] tcp: Socket option to set congestion window, Hagen Paul Pfeifer, (Thu May 27, 12:19 pm)