Date: Sat, 21 Feb 2009 13:31:34 +0100 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org> To: Lars Engels <lme@FreeBSD.org> Cc: freebsd-stable@freebsd.org Subject: Re: Backport of glxsb(4) to RELENG_6 Message-ID: <20090221133134.231ade65@baby-jane.lamaiziere.net> In-Reply-To: <20090221112702.GW30761@e.0x20.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> <20090221112702.GW30761@e.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Sat, 21 Feb 2009 12:27:02 +0100, Lars Engels <lme@FreeBSD.org>: > > I've tested most of the driver and I think (hope) this is ok. > > > > http://user.lamaiziere.net/patrick/glxsb-6-130209.tar.gz > > > > 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-0xefff7fff 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. With my Soekris net5501, without the driver I've got around 3MB/s with sftp and around 5MB/s with the driver. On 7.X you need to patch openssl to make it use the crypto framework by default, don't know for 6.X > However, this doesn't seem to be related to geli. The cpu is pretty > much idling: I tested with geli (on an usb drive) and I didn't notice any improvement too. I think that the crypto stuff is not the limiting factor but the drive's speed. Anyway the driver should save some load on the CPU. > 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 You can see the driver's CPU usage with top S H (the glxsb0 taskq entry) > Anyways, thank you for your work on backporting the driver, > Patrick! :) Enjoy :) Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090221133134.231ade65>