From owner-freebsd-questions Thu May 10 3:45: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web3103.mail.yahoo.com (web3103.mail.yahoo.com [204.71.202.188]) by hub.freebsd.org (Postfix) with SMTP id 4ADAE37B423 for ; Thu, 10 May 2001 03:44:59 -0700 (PDT) (envelope-from gavinkenny@yahoo.co.uk) Message-ID: <20010510104459.8966.qmail@web3103.mail.yahoo.com> Received: from [193.123.204.66] by web3103.mail.yahoo.com; Thu, 10 May 2001 11:44:59 BST Date: Thu, 10 May 2001 11:44:59 +0100 (BST) From: =?iso-8859-1?q?Gavin=20Kenny?= Subject: IPSec increases performance ??? To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm playing round with an IPSec tunnel between two FreeBSD 4.1 machines and I thought I'd do some simple tests to see what the performance hit was. I just did an ftp transfer of a 1Mb file between the two and looked at the time taken. With normal ftp it varies wildly from 1.58sec to 5.36sec, on average it takes about 2.6 sec. Now if I set up an IPSec tunnel between the two machines and use ftp to transfer the same file the time if far more stable at about 2.4 sec. There are no other users on the system. Why is IPSec faster? Surely the extra processing required for the encryption should slow it down. I've read on the net that usually things take twice as long. Has anyone got any ideas! Is it a priority thing or something? Gavin ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message