From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: how to slow down parts of Pg
Date: Thu, 23 Apr 2020 00:43:32 +0200
Message-ID: <20200422224332.GA4048@hjp.at> (raw)
In-Reply-To: <SA0PR19MB4255B6A94AC2182BB75F15ABA4D50@SA0PR19MB4255.namprd19.prod.outlook.com>
References: <SA0PR19MB425585C98C339C35A4A5343AA4D50@SA0PR19MB4255.namprd19.prod.outlook.com>
<CAHDg04uJ=uxvVfW0bgWOxhzwc4ea417eT-_hHneMPVRNYXhXFA@mail.gmail.com>
<SA0PR19MB4255B6A94AC2182BB75F15ABA4D50@SA0PR19MB4255.namprd19.prod.outlook.com>
On 2020-04-21 21:16:57 +0000, Kevin Brannen wrote:
> From: Michael Loftis <mloftis@wgops.com>
> > drbdsetup allows you to control the sync rates.
>
> I was hoping not to have to do that, but the more I think about this I'm
> realizing that it won't hurt because the network cap is effectively limiting me
> anyway. :)
Alternatively you might consider traffic shaping. DRBD can only set a
fixed limit (because it knows only about its own traffic). Traffic
shaping can adjust the limit depending on other traffic (it can also
prioritize traffic, etc.). However, to be effective, it needs to run on
a router as close to the bottleneck as possible - typically that means
either the border router or the firewall. So it is something the
customer's network guy should set up.
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: hjp-pgsql@hjp.at
Subject: Re: how to slow down parts of Pg
In-Reply-To: <20200422224332.GA4048@hjp.at>
References: <SA0PR19MB425585C98C339C35A4A5343AA4D50@SA0PR19MB4255.namprd19.prod.outlook.com> <CAHDg04uJ=uxvVfW0bgWOxhzwc4ea417eT-_hHneMPVRNYXhXFA@mail.gmail.com> <SA0PR19MB4255B6A94AC2182BB75F15ABA4D50@SA0PR19MB4255.namprd19.prod.outlook.com> <20200422224332.GA4048@hjp.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox