[FS#44] Ath9k - TX performance regression on greater coverage settings

LEDE Bugs lede-bugs at lists.infradead.org
Mon Oct 23 00:50:29 PDT 2017


The following task has a new comment added:

FS#44 - Ath9k - TX performance regression on greater coverage settings
User who did this - Koen Vandeputte (xback)

----------
For archival reasons, I'll post my custom patch below which fixes single-stream TCP performance issues on greater coverage distances. [1]
It allows to enlarge the TCP TX buffer on completion delays as the completion delay will easily be >1ms.

Also, a nice discussion can be found here: [2]

After this post, I'll request for closure as this is not a LEDE issue.


[1]

--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2065,7 +2065,7 @@ static bool tcp_small_queue_check(struct
 	unsigned int limit;
 
 	limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 10);
-	limit = min_t(u32, limit, sysctl_tcp_limit_output_bytes);
+	limit = max_t(u32, limit, sysctl_tcp_limit_output_bytes);
 	limit  limit) {



[2]

https://patchwork.kernel.org/patch/5779661/
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=44#comment3670



More information about the lede-bugs mailing list