Re: geom_raid5 inclusion in HEAD?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ulf Lilleengen <lulf@...>
Cc: John Nielsen <john@...>, <freebsd-current@...>, fluffles.net <bsd@...>
Date: Wednesday, November 7, 2007 - 2:57 pm

--- Ulf Lilleengen <lulf@stud.ntnu.no> wrote:
Hmm... Would "cb" help? R some function too long? I tried to comply to Pawel's
style, but obviously I deviated from it after some weeks... :)
Could give me an example of the worst issue?

Hmm... Yup...

There r interface functions to the GEOM system: ..._start(), ..._done(),
..._create(), and so on...
Then there r 2 worker threads (one for the graid5 start queue (...worker()) and
one for the graid5 done queue (...workerD()).
The other functions r helper functions...
I could add the function-purpose-comment in PP and then try to merge it to TNG
and TOS...

Hmm... if I understood correctly, FreeBSD's kernel memory suffers under
fragmentation, if many big mem areas r needed... There might be even a dead
lock, if UFS uses 64kb block size... So I thought it would be a good idea to
avoid those sleeps but "hamster-ing" the big chunks... :) But I am not sure
anymore, that it improved performance (but performance was the reason for
it)...

Hmm... I think so... At least on MP boxes, since both threads do some XOR-ing
(worker() uses XOR for writing "full-stripes" (where no read is necessary) and
bcopy; and workerD() uses XOR after the old data/parity has been read)...

OK... review sounds good... maybe we should concentrate on PP then (it is quite
space (in comparison to TNG but not TOS)+time (in comparison to TOS; maybe in
comparison to TNG, too?) efficient and has a read cache)? Although fluffles
favors TNG, although it is quite nasty (a write request of size 4KB costs 3
full stripes ((<number of disks>-1)*<stripe size>) plus 2*128KB... *giggle*)...

-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)