| From: | "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu> | 
|---|---|
| To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> | 
| 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-03 15:01:53 | 
| Message-ID: | 20111103150153.GD10975@staff-mud-56-27.rice.edu | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-performance | 
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mario Weilguni | 2011-11-03 15:02:07 | Re: Performance Problem with postgresql 9.03, 8GB RAM,Quadcore Processor Server--Need help!!!!!!! | 
| Previous Message | Albe Laurenz | 2011-11-03 14:48:11 | Re: SSL encryption makes bytea transfer slow |