Re: geom_raid5 inclusion in HEAD?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: John Nielsen <john@...>, fluffles.net <bsd@...>
Cc: <freebsd-current@...>
Date: Tuesday, November 6, 2007 - 3:33 pm

--- John Nielsen <john@jnielsen.net> wrote:
http://wgboome.homepage.t-online.de./geom_raid5.tbz
  aka TOS (the original *ah*eh*... maybe B4 would be a nice name, too)
  the most stable version
  but slower than TNG/PP, if there r many requests within a short time,
    that could be combined...
http://wgboome.homepage.t-online.de./geom_raid5-eff.tbz
  aka TNG
  quite memory hungry, but faster than without any "-..."
http://wgboome.homepage.t-online.de./geom_raid5-pp.tbz
  pp = double-plus (I have a little thing with "1984" (by Orwell or so))
  not as memory hungry as "-tng" and possibly not so fast...
  but more memory hungry than without any "-..."
  I like PP's code best (it's the cleanest of all three)...

TNG was just for fun, because we wanted to know, if "bcopy" causes a big
performance penalty (that is why TNG has a big memory appetite - we chose a
quick and dirty approach in order to eliminate most bcopy-calls)...

I personally like "-pp" best and I think it should be as stable as TOS...

But the only often tested version is TOS...
The test was: Several GB (from my TV cards) every day for several months...
There were just minor things, that are fixed now... I tested PP in this way,
too, but not so long (today I use *cough* another *cough* OS, that supports my
TV cards better for CO2 output minimization reasons)...

In the perforce repository is the TOS version...

Just that real life test...
I did a consitency test with TOS according to Pawel's recommendation:
1. create this: gmirror (graid5 (3 disks), graid3 (3 disks))
2. write some random data with raidtest(I dont know if it can do?) or with
UFS+dd
3. wait for the gmirror device to enter state "SYNC-ED" (or how it is
called)...
4. compare contents of the graid5 and graid3 device (they should be equal)...

Hmm... I dont know... I never saw one of them... And I am not a developer in
the FreeNAS project...

I think, they use TOS, because they like to run on low memory boxes...

They did some HOWTOs (removing a disk and then running in "degraded" mode and
such things)...
But no real long-term test or correctness test...
I wonder myself, what would happen, if it writes a lot in "degraded" mode...

They have a knowledge base with some performance graphs, but I dont remember
the URL...

I wanted to see, if I can still write programs... And so I tried to write a
RAID5 kernel module and took the structure from gstripe and gmirror (Pawel J.'s
sources)...
Then I sent some emails to the -geom list and then "fluffles" told me, that I
uploaded a non-working version of graid5... Since then "fluffles" is graid5's
testing officer and makes recommendations about more time efficient
algorithms...
I personally would find it cool, if graid5 would become part of FreeBSD, but if
FreeBSD thinks, that ZFS suffices, it would be OK for me...

Psychologically I personally would say, that I have ambivalent feelings about
this, because some silly error in graid5 might cause some unhappiness... We
have to judge, if the possible use of graid5 exceeds the risks plus the
effort...

I dont remember what it says...

Spare disk management, automatic disorder alarms, periodic consistency checks
(linux's md (raid5) does that from time to time) are currently not
implemented... Every admin would have to do this with his own scripts...

I would say correctness has not been tested as much as necessary...
Pawel's test with gmirror on top of a graid5 device and some trustworthy device
would be quite good for the first...
But maybe fluffles did that test already... I was somehow not so interested in
graid5 in the last weeks...

Not recently... And: "No"...
IIRC they believed, that it is too much code and too complex code... Maybe that
was the polite form of "chaotic/un-maintain-able code"... :-))

-Arne

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
geom_raid5 inclusion in HEAD?, fluffles.net, (Tue Nov 6, 10:16 am)
Re: geom_raid5 inclusion in HEAD?, Oliver Fromme, (Wed Nov 14, 2:53 pm)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Wed Nov 14, 3:10 pm)
Re: geom_raid5 inclusion in HEAD?, Oliver Fromme, (Thu Nov 15, 11:14 am)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Thu Nov 15, 12:05 pm)
Re: geom_raid5 inclusion in HEAD?, John Nielsen, (Tue Nov 6, 2:17 pm)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Tue Nov 6, 3:33 pm)
Re: geom_raid5 inclusion in HEAD?, Ulf Lilleengen, (Wed Nov 7, 1:09 pm)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Wed Nov 7, 2:57 pm)
Re: geom_raid5 inclusion in HEAD?, Ulf Lilleengen, (Wed Nov 7, 5:06 pm)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Wed Nov 7, 6:16 pm)
Re: geom_raid5 inclusion in HEAD?, Ivan Voras, (Wed Nov 7, 6:48 am)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Wed Nov 7, 8:17 am)
Re: geom_raid5 inclusion in HEAD?, Ivan Voras, (Wed Nov 7, 8:50 am)
Re: geom_raid5 inclusion in HEAD?, 韓家標 Bill Hacker, (Wed Nov 7, 9:08 am)
Re: geom_raid5 inclusion in HEAD?, Ivan Voras, (Wed Nov 7, 9:23 am)
Re: geom_raid5 inclusion in HEAD?, 韓家標 Bill Hacker, (Wed Nov 7, 10:01 am)
Re: geom_raid5 inclusion in HEAD?, Arne W, (Wed Nov 7, 8:56 am)
Re: geom_raid5 inclusion in HEAD?, Nikolay Pavlov, (Tue Nov 6, 5:00 pm)