Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 12:27:02 +0100
From:      Lars Engels <lme@FreeBSD.org>
To:        Patrick =?iso-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Backport of glxsb(4) to RELENG_6
Message-ID:  <20090221112702.GW30761@e.0x20.net>
In-Reply-To: <20090213210516.3667403a@baby-jane.lamaiziere.net>
References:  <20090210134421.350f40b8@baby-jane.lamaiziere.net> <20090212213443.GM30761@e.0x20.net> <20090213154333.18f0bf13@baby-jane.lamaiziere.net> <20090213210516.3667403a@baby-jane.lamaiziere.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Z9t8O/5YJLB6LEUl
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 13, 2009 at 09:05:16PM +0100, Patrick Lamaizi=E8re wrote:
> Le Fri, 13 Feb 2009 15:43:33 +0100,
> Patrick Lamaizi=E8re <patfbsd@davenulle.org>:
>=20
> > Le Thu, 12 Feb 2009 22:34:43 +0100,
> > Lars Engels <lme@FreeBSD.org>:
> >=20
> > Hi,
> >=20
> > > I just tried it, but I get this message:=20
> > > glxsb0: <AMD Geode LX Security Block (AES-128-CBC, RNG)> mem
> > > 0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0=20
> >=20
> > > glxsb0: cannot allocate DMA memory of 32768 bytes (12)
> >=20
> > I think you are very low on memory and the driver cannot allocate his
> > DMA-able buffer (error 12=3DENOMEM)
> >=20
> > This is not really a bug.=20
>=20
> To Lars: Yes it should work at bootime. You must also load the module
> cryptodev.ko to use it with openssl.
>=20
> > But i've found another problem related to
> > the taskqueue.=20
> >=20
> > I'm doing a fake driver to be able to test on a vmware machine.
>=20
> I've tested most of the driver and I think (hope) this is ok.
>=20
> http://user.lamaiziere.net/patrick/glxsb-6-130209.tar.gz
>=20
> Let me know how it works.

Sorry for the late reply. I just tried the new version (thanks for
compiling, stas :) ) and it works now:
glxsb0: <AMD Geode LX Security Block (AES-128-CBC, RNG)> mem 0xefff4000-0xe=
fff7fff irq 9 at device 1.2 on pci0

moe:~# geli list
Geom name: mirror/dataraid1.eli
EncryptionAlgorithm: AES-CBC
KeyLength: 128
Crypto: hardware
[...]

But the speed is the same. I still only get ~1.2MB/s transfer speed over
the net.
However, this doesn't seem to be related to geli. The cpu is pretty much
idling:
last pid:  2769;  load averages:  0.06,  0.10,  0.08 up 0+00:18:04  12:23:07
39 processes:  1 running, 38 sleeping
CPU:  0.8% user,  0.0% nice, 16.7% system,  9.3% interrupt, 73.2% idle
Mem: 25M Active, 100M Inact, 35M Wired, 6192K Cache, 27M Buf, 588K Free


Anyways, thank you for your work on backporting the driver, Patrick! :)

Lars

--Z9t8O/5YJLB6LEUl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkmf5QYACgkQKc512sD3afjLkgCfQ1msHoIjCNxsqpM23ha5OPwi
/IkAnR+nMoLHn50vfHnGNKNmlO+tcVjf
=yXhr
-----END PGP SIGNATURE-----

--Z9t8O/5YJLB6LEUl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090221112702.GW30761>