CCID2: Tell DCCP to quickly check whether cwnd is available
PATCH 7/11 CCID2: Tell DCCP to quickly check whether cwnd is available
If not enough cwnd is available, tell the sender to check again as soon as possible. This will increase CPU utilization (polling frequently for cwnd) but will improve network performance. That is, the sender will need to wait less before detecting the increase of cwnd. A better architecture would be for the CCID to call-back (or dequeue) from DCCP when it is able to transmit traffic---not the other way around as it currently occurs.
---
net/dccp/ccids/ccid2.c +1 -1
@@ -160,7 +160,7 @@ static int ccid2_hc_tx_send_packet(struc } } -return 100 ;/* XXX */ +return 1 ;/* XXX CCID should dequeue when ready instead of polling */ }static void ccid2_change_l_ack_ratio (struct sock *sk,int val)
I'm trying to get my tx buffering code in a good shape for merging again at the moment... this will help solve this.
Quoted 29 lines · Andrea Bittau
If not enough cwnd is available, tell the sender to check again as soon as possible. This will increase CPU utilization (polling frequently for cwnd) but will improve network performance. That is, the sender will need to wait less before detecting the increase of cwnd. A better architecture would be for the CCID to call-back (or dequeue) from DCCP when it is able to transmit traffic---not the other way around as it currently occurs.
Signed-off-by Andrea Bittau <[email protected]>---
net/dccp/ccids/ccid2.c +1
-2@@ -160,7 +160,7 @@ static int ccid2_hc_tx_send_packet(struc } } -return 100 ;/* XXX */ +return 1 ;/* XXX CCID should dequeue when ready instead of polling */ }static void ccid2_change_l_ack_ratio (struct sock *sk,int val) -To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 7 lines
Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand