Re: SSL encryption makes bytea transfer slow

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Marti Raudsepp *EXTERN*" <marti(at)juffo(dot)org>
Cc: "Merlin Moncure *EXTERN*" <mmoncure(at)gmail(dot)com>, "Heikki Linnakangas *EXTERN*" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: SSL encryption makes bytea transfer slow
Date: 2011-11-04 08:43:47
Message-ID: D960CB61B694CF459DCFB4B0128514C20713EBB0@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Marti Raudsepp wrote:
>> Disabling OpenSSL compression in the source (which
>> is possible since OpenSSL 1.0.0) does not give me any performance
>> improvement.
>
> If it doesn't give you any performance improvement then you haven't
> disabled compression. Modern CPUs can easily saturate 1 GbitE with
> AES256-encrypted connections. Compression is usually the bottleneck,
> at 20-30 MB/s.

Hmm, my knowledge of OpenSSL is so little that it is well possible that
I did it wrong. I have attached the small patch I used; can you see
where I went wrong?

Yours,
Laurenz Albe

Attachment Content-Type Size
ssl.patch application/octet-stream 620 bytes

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Bhakti Ghatkar 2011-11-04 12:14:21 Error while vacuuming
Previous Message Tom Lane 2011-11-03 23:45:46 Re: Blocking excessively in FOR UPDATE