[sheepdog] [PATCH v4 0/5] work: implement a dynamically changing thread pool

Liu Yuan namei.unix at gmail.com
Mon Mar 4 04:11:11 CET 2013


On 03/04/2013 08:08 AM, MORITA Kazutaka wrote:
> This removes a short thread feature, and adds a worker thread pool
> again with support of dymanic pool size.  The reasons we need this
> series are:
> 
>  - Currently, sheep calls a pthread_create for every I/O request, but
>    the overhead is not so cheap especially when the underlying disk is
>    fast (e.g. the disk has non-volatile cache).
> 
>  - Some operations (e.g. object cache pusher) consumes too many
>    threads and causes a problem.  To control the maximum number of
>    threads, a thread pool model is better for us.

Applied, thanks.

Yuan



More information about the sheepdog mailing list