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

From Albe Laurenz
Subject SSL encryption makes bytea transfer slow
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2070C3E84@exadv11.host.magwien.gv.at
Whole thread Raw
Responses Re: SSL encryption makes bytea transfer slow
List pgsql-performance
We selected a 30MB bytea with psql connected with
"-h localhost" and found that it makes a huge
difference whether we have SSL encryption on or off.

Without SSL the SELECT finished in about a second,
with SSL it took over 23 seconds (measured with
\timing in psql).
During that time, the CPU is 100% busy.
All data are cached in memory.

Is this difference as expected?

Yours,
Laurenz Albe

pgsql-performance by date:

Previous
From: Mohamed Hashim
Date:
Subject: Re: Performance Problem with postgresql 9.03, 8GB RAM,Quadcore Processor Server--Need help!!!!!!!
Next
From: David Boreham
Date:
Subject: Re: Choosing between Intel 320, Intel 510 or OCZ Vertex 3 SSD for db server