raid10 for softraid(4)

2013-02-19 Thread Dmitry Bogdan
Hi,
I am interested in implementing layered RAID10 for softraid(4) as a
part of my course project in the university.

I have a vast expirience in using software raids in openbsd and other
operating systems and was surpised that softraid(4) does not support
layered RAID10. I know that it is possible to implement raid10
manually (using softraid0 over softraid1), effectively using a lot of
drives for speed access without using CPU intensively (compared to
raidp and raid6). But if you also want to encrypt it via softraid, it
will look like a nightmare to support softraid over softraid over
softraid. Raid10 is not an uncommon solution and is often implemented
as an independent discipline.

Is there any interest in the raid10 independent discipline in openbsd cummunity?



Re: raid10 for softraid(4)

2013-02-20 Thread Jiri B
On Wed, Feb 20, 2013 at 04:48:57PM +1000, Dmitry Bogdan wrote:
> Hi,
> I am interested in implementing layered RAID10 for softraid(4) as a
> part of my course project in the university.
> 
> I have a vast expirience in using software raids in openbsd and other
> operating systems and was surpised that softraid(4) does not support
> layered RAID10. I know that it is possible to implement raid10
> manually (using softraid0 over softraid1), effectively using a lot of
> drives for speed access without using CPU intensively (compared to
> raidp and raid6). But if you also want to encrypt it via softraid, it
> will look like a nightmare to support softraid over softraid over
> softraid. Raid10 is not an uncommon solution and is often implemented
> as an independent discipline.
> 
> Is there any interest in the raid10 independent discipline in openbsd 
> cummunity?

http://marc.info/?l=openbsd-misc&m=136034083308418&w=2

jirib



Re: raid10 for softraid(4)

2013-02-21 Thread Tobias Ulmer
On Wed, Feb 20, 2013 at 04:48:57PM +1000, Dmitry Bogdan wrote:
> Hi,
> I am interested in implementing layered RAID10 for softraid(4) as a
> part of my course project in the university.
> 
> I have a vast expirience in using software raids in openbsd and other
> operating systems and was surpised that softraid(4) does not support
> layered RAID10. I know that it is possible to implement raid10
> manually (using softraid0 over softraid1), effectively using a lot of
> drives for speed access without using CPU intensively (compared to
> raidp and raid6). But if you also want to encrypt it via softraid, it
> will look like a nightmare to support softraid over softraid over
> softraid. Raid10 is not an uncommon solution and is often implemented
> as an independent discipline.
> 
> Is there any interest in the raid10 independent discipline in openbsd 
> cummunity?
> 

Hi Dmitry,

softraid(4) could certainly use some work, including RAID10 support.
You're welcome to try and add another discipline, and maybe fix a bug
here or there while doing so :-)
I can't help you with the details as this is not my area, but feel free
to contact me on irc or via email for pointers in the right direction.

Tobias



Re: raid10 for softraid(4)

2013-02-21 Thread Alexey E. Suslikov
Dmitry Bogdan  gmail.com> writes:

> Is there any interest in the raid10 independent discipline
> in openbsd community?

With hardware based RAID-controllers our company
prefer RAID10 for better write speeds (because
RAID5 needs parity calculations, for instance).

We also use softraid(4) mirroring a lot. And, yes,
having RAID10 with softraid(4) would be nice.

We'll be checking tech@ for your diffs ;) and will
be glad to test them.

Cheers,
Alexey