All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: chunkd design notes
@ 2009-09-04 15:17 Rick Peralta
  2009-09-04 16:14 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Peralta @ 2009-09-04 15:17 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Project Hail, Pete Zaitcev

Hi Jeff,

After looking at the ChunkD code and related systems it is not clear that multi-threading will be a performance win and may have adverse effects.

The critical issues come down to the storage, network and application.  Given the server cluster application, a Gbe network interface and rotating media storage, it is clear that the disk media speed is the bottleneck and seek time a significant hazard.  The set-up time for a transfer is relatively small compared to the disk time for large transfers.  Allowing multiple threads may cause thrashing of the I/O system, driving seek time into the lead bottleneck.

We need a better model and testing to see what really makes sense in order to proceed intelligently.

Also, there are a wide variety of threading options.  Using Pthreads is probably the most broadly understood and supported.

 - Rick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-04 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 15:17 chunkd design notes Rick Peralta
2009-09-04 16:14 ` Jeff Garzik

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.