Re: SSL encryption makes bytea transfer slow - Mailing list pgsql-performance

From Albe Laurenz
Subject Re: SSL encryption makes bytea transfer slow
Date
Msg-id D960CB61B694CF459DCFB4B0128514C20713EBB0@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: SSL encryption makes bytea transfer slow  (Marti Raudsepp <marti@juffo.org>)
Responses Re: SSL encryption makes bytea transfer slow
List 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

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Blocking excessively in FOR UPDATE
Next
From: Bhakti Ghatkar
Date:
Subject: Error while vacuuming