--- 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"
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Artem Bityutskiy | [PATCH 18/44 take 2] [UBI] build unit implementation |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Paul Jackson | [PATCH] cpuset sched_load_balance kmalloc fix |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
