[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCHES] convert dm-thin to use dm-bufio
- From: Joe Thornber <thornber redhat com>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: dm-devel redhat com, "Alasdair G. Kergon" <agk redhat com>
- Subject: Re: [dm-devel] [PATCHES] convert dm-thin to use dm-bufio
- Date: Wed, 17 Aug 2011 09:26:57 +0100
On Tue, Aug 16, 2011 at 06:03:00PM -0400, Mikulas Patocka wrote:
> The working set is 2% of memory or 1/4 of vmalloc space (whichever is
> smaller). This can be changed in
> "/sys/module/dm_bufio/parameters/dm_bufio_cache_size".
>
> Buffers are freed when they are unused for 60 seconds (can be changed in
> "/sys/module/dm_bufio/parameters/dm_bufio_max_age").
>
> Total size is divided by the number of active clients using dm-bufio. So
> that each client gets a fair share.
>
> Writeback is done on commit. When 3/4 of the cache size is used,
> background writeback is started.
This all sounds good; get the locking interface in and I'll switch to
bufio straight away.
- Joe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]