* chunkd thread work
@ 2009-11-02 4:21 Jeff Garzik
2009-11-02 4:26 ` Pete Zaitcev
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2009-11-02 4:21 UTC (permalink / raw)
To: Project Hail
I removed libevent support from chunkd, because I felt it was blocking
the multi-threading of chunkd to an unfortunate degree. libevent does
not provide any protection for multiple threads adding and removing
themselves to a single poll-set.
Multi-threading chunkd should enable us to reach our full I/O throughput
potential through parallelization. It will also enable useful
administrative tasks such as background checksum verification.
Jeff
commit 47a916242eb795b27ca86cb68a25135a14741b5f
Author: Jeff Garzik <jeff@garzik.org>
Date: Sun Nov 1 23:11:18 2009 -0500
chunkd: drop libevent support, due to lack of thread-friendliness
libevent does not support a single poll-set being manipulated
simultaneously by multiple threads, so it is replaced with a
poll(2)-based mechanism highly similar to cld's.
An epoll mechanism would be a logical next-step.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
commit 441eb192ef5d68e6d563f045a3c061d9bc403684
Author: Jeff Garzik <jeff@garzik.org>
Date: Sun Nov 1 20:39:09 2009 -0500
chunkd: add cli_wr_set_poll() to isolate libevent usage
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: chunkd thread work
2009-11-02 4:21 chunkd thread work Jeff Garzik
@ 2009-11-02 4:26 ` Pete Zaitcev
0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2009-11-02 4:26 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Project Hail
On Sun, 01 Nov 2009 23:21:55 -0500, Jeff Garzik <jeff@garzik.org> wrote:
> Multi-threading chunkd should enable us to reach our full I/O throughput
> potential through parallelization. It will also enable useful
> administrative tasks such as background checksum verification.
I'll get to it Real Soon Now.
-- Pete
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-02 4:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02 4:21 chunkd thread work Jeff Garzik
2009-11-02 4:26 ` Pete Zaitcev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.