Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC5xz-0004jI-SX for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2019 17:15:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hC5xy-0007qP-KT for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2019 17:15:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC5xy-0007qH-8c for pgsql-hackers@lists.postgresql.org; Thu, 04 Apr 2019 17:15:54 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC5xv-0006Io-FX for pgsql-hackers@postgresql.org; Thu, 04 Apr 2019 17:15:53 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 371A83169B39; Thu, 4 Apr 2019 17:15:50 +0000 (UTC) Received: from localhost (ovpn-112-46.rdu2.redhat.com [10.10.112.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id E166D5D9C4; Thu, 4 Apr 2019 17:15:49 +0000 (UTC) From: Robbie Harwood To: Tom Lane , Stephen Frost Cc: Peter Eisentraut , Alvaro Herrera , David Steele , Joe Conway , Magnus Hagander , Michael Paquier , Nico Williams , PostgreSQL-development Subject: Re: [PATCH v20] GSSAPI encryption support In-Reply-To: <15827.1554394584@sss.pgh.pa.us> References: <500b1be7-d0aa-96a2-9982-d748609faff5@joeconway.com> <20190403144332.GD6197@tamriel.snowman.net> <7b7035e0-3691-ca63-0957-25d17dc11514@2ndquadrant.com> <5406.1554388830@sss.pgh.pa.us> <20190404144818.GI6197@tamriel.snowman.net> <5945.1554389568@sss.pgh.pa.us> <20190404150054.GJ6197@tamriel.snowman.net> <7566.1554391003@sss.pgh.pa.us> <20190404152439.GK6197@tamriel.snowman.net> <8476.1554391968@sss.pgh.pa.us> <15827.1554394584@sss.pgh.pa.us> Date: Thu, 04 Apr 2019 13:15:48 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 04 Apr 2019 17:15:50 +0000 (UTC) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-=-= Content-Type: text/plain Tom Lane writes: > I wrote: >> Stephen Frost writes: >>> So I'm a bit surprised that it's taking 4 minutes for you. I wonder if >>> there might be an issue related to the KDC wanting to get some amount of >>> random data and the system you're on isn't producing random bytes very >>> fast..? > >> Not sure. This is my usual development box and it also does mail, DNS, >> etc for my household, so I'd expect it to have plenty of entropy. >> But it's running a pretty old kernel, and old Kerberos too, so maybe >> the explanation is in there somewhere. > > Same test on a laptop running Fedora 28 takes a shade under 5 seconds. > The laptop has a somewhat better geekbench rating than my workstation, > but certainly not 50x better. And I really doubt it's got more entropy > sources than the workstation. Gotta be something about the kernel. > > Watching the test logs, I see that essentially all the time on the RHEL6 > machine is consumed by the two > > # Running: /usr/sbin/kdb5_util create -s -P secret0 > > steps. Is there a case for merging the two scripts so we only have to > do that once? Maybe not, if nobody else sees this. I think that would be a good idea! Unfortunately I don't speak perl well enough to do that, so I'd just copied-and-modified. Thanks, --Robbie --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAlymO8UACgkQJTL5F2qV pEJaNg//QTWkmIwe3yUPoy38HukQcY3nJBsSVadxCrVi/UMUJrFrRK4Uf9lGPk3R uEftJrREOj5hUGOUv5CoVi5aUcjYuH8v6gJbpBYYFpXVhhs9SpF4qsSzyb8qS07h +8hIwwt+9sde6inDccIMj4CCLPjQywMRQPy7c3LTNLFE6xfy/OL3j4KyikaNkwpx nhJoSXokxYpms/JYjIBWX3rr4zrssQpCf7p+3x0DnHcCkaup8321e3oxSUd1f7s0 JSsDve6Mg64b8b7R7IDl6FX04ddIuzX1Q3jIgjA2WvRXFbSBtgPNnEa98+vvhUh0 D8f3KRnD+kzjNKG3vVJ5kQrh/5QWL1/HoG8xsmNXaVCSBPttJ/q3Nb8mmea5Els8 nOfhCS8BQRs2KwZtdTsVqFjpEIYRAyqZS2NRGjYSIohfYxpDydZVkCAaLDwR+Ao6 jxrNZ9P1Yz4BwVKcIfDC5LOc1ywzlbx3CxC8rZQU69SaGn4s+xnwUfG3Ds3rLWV0 pvuQ/o/pDcnYw57vu8rrfyKBjUxN4KdZR0FlJxqGeVrBLaq+GBlaJ8o9Pc1FExvP Wg5tcPiDlcuKuQ/cqeCMimdVdte3MNBs4PGjDgeVUaE5R4NV+yeGDrRYj4gBgdBa ebFtNBerS/SrwBUhuGt5Zw7+UK6YAJaFy84o3Mvwb2FMTNxHlCw= =pZNi -----END PGP SIGNATURE----- --=-=-=--