DragonFly BSD
DragonFly users List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: copying pkgsrc tree around jails on beefy machine - fast on 2nd iteration, a bit slower than first on 3rd iteration


From: joerg@xxxxxxxxxxxxxxxxx
Date: Mon, 2 Jan 2006 18:06:41 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Mon, Jan 02, 2006 at 08:46:03AM -0800, Matthew Dillon wrote:
> :Basically I was copying 357MB pkgsrc dir from master to jails in a row. I manually re-edited destination each time. All 
> :in a row, but you can see that 3rd copy did not benefit at all from first two copies. Since this machine is waiting for 
> :those jails to actually do something I was under impression that 4GB RAM that this machine sees will benefit a lot in 
> :copying - something like in 2nd case, but I was surprised that caching did not help at all in third case even though 
> :things were being copied in a row - usually few seconds apart. Isn't DFly one of so called lazy-swappers where things do 
> :not go out of memory if memory needs for programs are low?
> 
>     This is likely just the vnode cache getting blown out.  /usr/pkgsrc has
>     over 100,000 files and directories in it.

I also suspect that some parts of the kernel tune badly for very much
memory. I have seen a bunch of problems with my machine and 3 GB of
memory, which would make a lot more sense when the kernel is hitting
such limits.

Joerg



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