Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 252869FA322 for ; Tue, 11 Sep 2007 11:48:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 15318-10 for ; Tue, 11 Sep 2007 11:47:56 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from ns1.mbigroup.it (ns1.mbigroup.it [84.233.239.71]) by postgresql.org (Postfix) with ESMTP id 67C849FA2E6 for ; Tue, 11 Sep 2007 11:47:55 -0300 (ADT) Received: from mailserver.bo.mbigroup.it (webmail.bo.mbigroup.it [192.168.10.13]) by ns1.mbigroup.it (8.12.10/8.12.10) with ESMTP id l8BEllVR023835 for ; Tue, 11 Sep 2007 16:47:47 +0200 Received: from mfatticcioni.op.mbigroup.it (mfatticcioni.op.mbigroup.it [192.168.12.15]) by mailserver.bo.mbigroup.it (8.12.11/8.12.11) with ESMTP id l8BEllCc031831 for ; Tue, 11 Sep 2007 16:47:47 +0200 Message-ID: <46E6AA8C.8030504@mbigroup.it> Date: Tue, 11 Sep 2007 16:47:40 +0200 From: Maila Fatticcioni Reply-To: mfatticcioni@mbigroup.it Organization: MBI User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: DRBD and Postgres: how to improve the perfomance? References: <46E11BE4.6060500@mbigroup.it> <1189191616.4281.1.camel@ebony.site> In-Reply-To: <1189191616.4281.1.camel@ebony.site> X-Enigmail-Version: 0.95.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4216B71F71D4030965EE0554" X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on ns1.mbigroup.it X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on mailserver.bo.mbigroup.it X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200709/180 X-Sequence-Number: 26725 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4216B71F71D4030965EE0554 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you very much for your ideas. I've tried to change the protocol from C to B and I got an increase in the number of TPS: 64.555763. Now I would like to follow the advice of Mr. Bernd Helmle and change the value of snd-bufsize. The servers are cross connected with a common 100 Mbit/sec Ethernet so I think they have a bandwidth around 80 Mbit/sec (even if I haven't yet done any test on it). A rate of 70Mb seems reasonable to me. The two servers are in two different racks (next to each other) and they have two power supplies connected to two different sets of UPS. Unfortunately we cannot accept a loss of recently committed transactions so we cannot put the synchronous_commit to off. Regards, Maila Fatticcioni Simon Riggs wrote: > On Fri, 2007-09-07 at 11:37 +0200, Maila Fatticcioni wrote: >=20 >> protocol C; >=20 > Try protocol B instead. >=20 --=20 ______________________________________________________________ Maila Fatticcioni ______________________________________________________________ Mediterranean Broadband Infrastructure s.r.l. ITALY ______________________________________________________________ --------------enig4216B71F71D4030965EE0554 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5qqRi2q3wPb3FcMRAgoTAKDjOICYvjdC5/tE+XDmSfJ3nYiwxgCeIV32 FYDHb+q3raS1LaF+L8dWVJc= =2WaD -----END PGP SIGNATURE----- --------------enig4216B71F71D4030965EE0554--