[sheepdog] [PATCH v5] sockfd cache: grow fds count dynamically

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jul 24 07:47:04 CEST 2012


At Tue, 24 Jul 2012 11:19:20 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> This will scale sheep daemon to serve more VMs on one node and do
> it adoptively and automatically.
> 
> - fd count default to 16 instead of previous 8
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
> v5:
>  - open-code fds_size
> 
>  sheep/sheep.c        |    1 +
>  sheep/sheep_priv.h   |    1 +
>  sheep/sockfd_cache.c |  126 +++++++++++++++++++++++++++++++++++++-------------
>  3 files changed, 97 insertions(+), 31 deletions(-)

Applied, thanks!

Kazutaka




More information about the sheepdog mailing list