Date: Tue, 25 Feb 2003 10:30:54 -0500 From: Mike Tancsa <mike@sentex.net> To: "Jacques A. Vidrine" <nectar@FreeBSD.ORG> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: HEADS UP: OpenSSL 0.9.7 in -STABLE Message-ID: <5.2.0.9.0.20030225102526.05852540@marble.sentex.ca> In-Reply-To: <20030225133248.GC95282@madman.celabo.org> References: <5.2.0.9.0.20030224145408.05edb800@marble.sentex.ca> <20030214223844.GA96059@madman.celabo.org> <5.2.0.9.0.20030224145408.05edb800@marble.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
At 07:32 AM 25/02/2003 -0600, Jacques A. Vidrine wrote:
>On Mon, Feb 24, 2003 at 03:12:33PM -0500, Mike Tancsa wrote:
> > and I have
> > device crypto
> > device hifn
> > in the kernel.
>
>I believe you also need `device cryptodev', else when your application
>tries to open /dev/crypto it will get ENXIO (use truss or ktrace to
>see if this is what is happening).
That was it, Thanks!
There is now a VERY noticeable difference in the amount of CPU that sshd
takes. The backup server is a PIII800. When doing a dump from a fast
client, with 3des I was looking at close to 40%-50% of CPU going to sshd on
the server. Now I see about 3%-5%.
The stats are increasing now as well.
# sysctl -A -x | grep -i cryp
kern.usercrypto: 1
kern.userasymcrypto: 1
kern.cryptodevallowsoft: 0
kern.crypto_stats: Format:S,cryptostats Length:144
Dump:0x74e90900000000000000000000000000000000004ae70900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
cryptodesc: 64, 0, 0, 128, 649588
cryptop: 64, 0, 0, 128, 649588
---Mike
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.0.20030225102526.05852540>
