pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: Merlin Moncure *EXTERN* <mmoncure@gmail.com>
Cc: Heikki Linnakangas *EXTERN* <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: SSL encryption makes bytea transfer slow
Date: Thu, 3 Nov 2011 10:01:53 -0500
Message-ID: <20111103150153.GD10975@staff-mud-56-27.rice.edu> (raw)
In-Reply-To: <D960CB61B694CF459DCFB4B0128514C20713EA58@exadv11.host.magwien.gv.at>
References: <D960CB61B694CF459DCFB4B0128514C2070C3E84@exadv11.host.magwien.gv.at>
	<4EABBE7D.9080201@enterprisedb.com>
	<D960CB61B694CF459DCFB4B0128514C2070C413B@exadv11.host.magwien.gv.at>
	<CAHyXU0ySH+Od7QEitDmz-E7WwmnOS6k1ZUt7XFBCeF-X4PUH1A@mail.gmail.com>
	<D960CB61B694CF459DCFB4B0128514C20713EA58@exadv11.host.magwien.gv.at>

On Thu, Nov 03, 2011 at 03:48:11PM +0100, Albe Laurenz wrote:
> 
> I experimented some more on a recent system (RHEL6, OpenSSL 1.0.0-fips),
> and it is as you say. Disabling OpenSSL compression in the source (which
> is possible since OpenSSL 1.0.0) does not give me any performance
> improvement.
> 
> Seems you pretty much have to live with at most 1/4 of the performance
> if you want to SELECT large images using SSL.
> 
> Yours,
> Laurenz Albe
> 

Have you tried different ciphers? RC4 is much lighter weight CPU-wise
then the typically negotiated cipher. AES128 is also not bad if you
have the newer Intel chips with the hardware encryption support. Just
another thing to check.

Regards,
Ken



view thread (13+ messages)  latest in thread

Message-ID: <20111103150153.GD10975@staff-mud-56-27.rice.edu>
Permalink:  ../20111103150153.GD10975@staff-mud-56-27.rice.edu/
Also on:    postgresql.org/message-id/20111103150153.GD10975@staff-mud-56-27.rice.edu

 · 

reply

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-performance@postgresql.org
  Cc: ktm@rice.edu, laurenz.albe@wien.gv.at, mmoncure@gmail.com, heikki.linnakangas@enterprisedb.com
  Subject: Re: SSL encryption makes bytea transfer slow
  In-Reply-To: <20111103150153.GD10975@staff-mud-56-27.rice.edu>
  References: <D960CB61B694CF459DCFB4B0128514C2070C3E84@exadv11.host.magwien.gv.at> <4EABBE7D.9080201@enterprisedb.com> <D960CB61B694CF459DCFB4B0128514C2070C413B@exadv11.host.magwien.gv.at> <CAHyXU0ySH+Od7QEitDmz-E7WwmnOS6k1ZUt7XFBCeF-X4PUH1A@mail.gmail.com> <D960CB61B694CF459DCFB4B0128514C20713EA58@exadv11.host.magwien.gv.at> <20111103150153.GD10975@staff-mud-56-27.rice.edu>

* 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