DragonFly BSD
DragonFly bugs List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Machine unresponsive with cache_lock: blocked on... message

From: Francois Tigeot <ftigeot@xxxxxxxxxxxx>
Date: Sat, 20 Mar 2010 21:10:58 +0100

On Sat, Mar 20, 2010 at 12:52:28PM -0700, Matthew Dillon wrote:
> :This machine was really fine running the same workload with 2.4.
> :
> :With 2.5, simple hammer cleanup or rsync commands are enough to make
> :PCs with 2GB or 3GB memory swap.
>     The kernel can't really tell the difference between the desire to
>     cache a lot of data and a single-scan operation such as rdist or
>     hammer cleanup (and even then it has no idea whether the rdist
>     represents a data set small enough to be cached or not).
>     So its like half dozen of this or a half dozen of that... there is
>     no right answer.  We would need something like an ARC cache for our
>     VM pages and vnodes to distinguish between the cases.

Okay. Since this is not really something which can be resolved automatically,
is there a way for the administrator to set a hard limit to the memory used
by disk activity ?
A sysctl such as kern.max_disk_cache or so ?

Francois Tigeot

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]