[sheepdog] [PATCH v2 2/9] sheep: add cmd argument -W to specify a max cache size

Liu Yuan namei.unix at gmail.com
Thu Jul 26 08:06:12 CEST 2012


On 07/26/2012 11:45 AM, MORITA Kazutaka wrote:
>> Probably we more need automatic detection of best reclaim size. For e.g,
>> >  -w auto means automatic detection
>> >  -w user 10G means manual setting.
> Looks good to me, but do you have any ideas about how to determine the
> best reclaim size?

I am thinking of a dynamic object cache, similar to page cache, that
shrink itself at high watermark, monitored by a flush daemon.

For now, we can implement a -w user size interface and leave the dynamic
monitoring a future feature.

Thanks,
Yuan



More information about the sheepdog mailing list