Bacula-users

Re: [Bacula-users] [Bacula-devel] Possibility of parallelising encryption?

2010-04-08 10:04:15
Subject: Re: [Bacula-users] [Bacula-devel] Possibility of parallelising encryption?
From: Craig Ringer <craig AT postnewspapers.com DOT au>
To: Steve Polyack <korvus AT comcast DOT net>
Date: Thu, 08 Apr 2010 22:02:09 +0800
On 8/04/2010 9:56 PM, Steve Polyack wrote:
> On 04/08/10 09:34, Craig Ringer wrote:
>> On 8/04/2010 8:03 PM, Phil Stracchino wrote:
>>> On 04/08/10 02:16, Craig Ringer wrote:
>>>> Bacula should probably work with Intel's hardware crypto out of the
>>>> box.
>>>> If it doesn't, most likely all that'd be required would be to call:
>>>>
>>>> ENGINE_load_builtin_engines();
>>>> ENGINE_register_all_complete();
>>> Sounds like a good idea to me. Want to write up a patch?
>> I will, at that. I even have some Via C3 machines to test it on, though
>> they're thin clients so I'll need to take one out of service for a bit
>> and chuck a disk in it.
>>
>>
> I've tried the above (loading and registering engines, specifically
> selecting various hardware engines) twice in the past and did not come
> up with anything useful. Bacula would crash after the first write to a
> EVP cipher context that was using an engine other than the default
> software one. I can dig up some more details if you like.

Ouch. That'd be really good. Do you remember finding any useful backtraces?

> Nonetheless, I would be glad to test any patches you come up with. I
> have a handful of different HW crypto cards at my disposal including Via
> C3, Hifn cards, and Broadcom cards. Unfortunately, I should note, none
> of them produce speeds comparable to a modern CPU, especially when
> operations are performed with small blocksizes - however, they are still
> useful for offloading the crypto load and freeing up the CPU.

Yep. The added instructions on the new Intel chips should make a dent 
though :-)

--
Craig Ringer

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users