X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8483CD1C4DC for ; Thu, 24 Jul 2003 21:29:29 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 73908-10 for ; Thu, 24 Jul 2003 18:28:45 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 74CFCD1C4BC for ; Thu, 24 Jul 2003 18:29:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6OLT3Q3020730; Thu, 24 Jul 2003 17:29:03 -0400 (EDT) To: Bruce Momjian Cc: Charles Hornberger , pgsql-admin@postgresql.org Subject: Re: using ssl some of the time In-reply-to: <200307242044.h6OKim627411@candle.pha.pa.us> References: <200307242044.h6OKim627411@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 24 Jul 2003 16:44:48 -0400" Date: Thu, 24 Jul 2003 17:29:03 -0400 Message-ID: <20729.1059082143@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/254 X-Sequence-Number: 9594 > Charles Hornberger wrote: >> Just a quick follow-up to share one (!) data point, which looks to me >> like it indicates that SSL encryption/decryption is pretty expensive on >> one of our Sun Ultra 5 boxes. The following query ("select * from wp") >> generates ~270K of output. When executed via a psql client that's >> connected over a non-encrypted link, it takes 0.7 seconds; over an >> encrypted link, it takes more than 10 times that long. I suspect most of this is from the ridiculously small renegotiation interval we put into 7.3. Try increasing RENEGOTIATION_LIMIT in src/backend/libpq/be-secure.c (we've bumped it to 512 meg for 7.4). regards, tom lane