From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EF1D138330 for ; Wed, 21 Sep 2016 20:39:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D578E085C; Wed, 21 Sep 2016 20:39:09 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6203FE081C for ; Wed, 21 Sep 2016 20:39:08 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bmoIB-0000ot-Ks for gentoo-user@lists.gentoo.org; Wed, 21 Sep 2016 22:38:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Kai Krakow Subject: [gentoo-user] Re: TCP Queuing problem Date: Wed, 21 Sep 2016 22:28:49 +0200 Message-ID: <20160921222849.197de361@jupiter.sol.kaishome.de> References: <20160921060118.759d94ba@jupiter.sol.kaishome.de> <20160921212913.352eae72@jupiter.sol.kaishome.de> <20160921220637.1e83edf3@jupiter.sol.kaishome.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org X-Newsreader: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-Archives-Salt: 4041a2ca-17b3-45ca-8138-ae93b02eff0f X-Archives-Hash: ff96165a6937a9916ded39d65ef6bc5f Am Wed, 21 Sep 2016 22:06:37 +0200 schrieb Kai Krakow : > Am Wed, 21 Sep 2016 12:37:51 -0700 > schrieb Grant : > > > [...] > > [...] > [...] > > > > > > You may want to set the default congestion control to fq-codel > > > (it's in the kernel) if you're using DSL links. This may help your > > > problem a little bit. It is most effective if you deploy traffic > > > shaping at the same time. There was once something like > > > wondershaper. Trick is to get the TCP queuing back inside your > > > router (that is where you deployed pppoe) as otherwise packets > > > will queue up in the modem (dsl modems use huge queues by > > > default). This works by lowering the uplink bandwith to 80-90% of > > > measured maximum upload (the excess bandwidth is for short bursts > > > of traffic). Traffic shaping now re-orders the packets. It should > > > send ACK and small packets first. This should solve your queuing > > > problem. > > > > > > We're talking about optimizing the DSL connection at my office but > > the server is located in a data center. I can't imagine optimizing > > that office DSL connection is the way to solve this even though the > > http response slowdowns do correlate to office hours. As a note, > > the slowdowns are recorded by my third-party monitoring service. > > Ah I didn't correctly get this... So as the problem correlates with > office hours the first step of solving your traffic flow problems > (timeouts, drops etc) should be sufficient to further work on problems > of the other side. I'd probably try iperf at this stage to test if this problem occurs with application stacks only or also occurs using only raw tcp streams. Try upload, download, and bidirectional. Do your tests again after modifying some parameters, maybe access the http server in parallel, test at different times of day (off-hours and office hours). See if you can isolate it around specific settings or tasks. -- Regards, Kai Replies to list-only preferred.