Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: TCP Queuing problem
Date: Wed, 21 Sep 2016 20:07:25
Message-Id: 20160921220637.1e83edf3@jupiter.sol.kaishome.de
In Reply to: Re: [gentoo-user] Re: TCP Queuing problem by Grant
1 Am Wed, 21 Sep 2016 12:37:51 -0700
2 schrieb Grant <emailgrant@×××××.com>:
3
4 > [...]
5 > [...]
6 > >>
7 > >>
8 > >> Hi Kai, yesterday I switched my Gentoo router over to handling
9 > >> PPPoE and pings seem to be working properly now. The AT&T device
10 > >> is now functioning as a modem only and passing everything
11 > >> through. Today I'll find out if it helps with TCP Queuing and
12 > >> (supposedly) related http response slowdowns.
13 > >
14 > > You may want to set the default congestion control to fq-codel
15 > > (it's in the kernel) if you're using DSL links. This may help your
16 > > problem a little bit. It is most effective if you deploy traffic
17 > > shaping at the same time. There was once something like
18 > > wondershaper. Trick is to get the TCP queuing back inside your
19 > > router (that is where you deployed pppoe) as otherwise packets will
20 > > queue up in the modem (dsl modems use huge queues by default). This
21 > > works by lowering the uplink bandwith to 80-90% of measured maximum
22 > > upload (the excess bandwidth is for short bursts of traffic).
23 > > Traffic shaping now re-orders the packets. It should send ACK and
24 > > small packets first. This should solve your queuing problem.
25 >
26 >
27 > We're talking about optimizing the DSL connection at my office but the
28 > server is located in a data center. I can't imagine optimizing that
29 > office DSL connection is the way to solve this even though the http
30 > response slowdowns do correlate to office hours. As a note, the
31 > slowdowns are recorded by my third-party monitoring service.
32
33 Ah I didn't correctly get this... So as the problem correlates with
34 office hours the first step of solving your traffic flow problems
35 (timeouts, drops etc) should be sufficient to further work on problems
36 of the other side.
37
38
39 --
40 Regards,
41 Kai
42
43 Replies to list-only preferred.

Replies

Subject Author
[gentoo-user] Re: TCP Queuing problem Kai Krakow <hurikhan77@×××××.com>