Re: Problem with lots of (perhaps too much?) memory

2017-05-17 Thread Paul Goyette
On Wed, 17 May 2017, Paul Goyette wrote: On Wed, 17 May 2017, J. Hannken-Illjes wrote: - What is the size of your vnode cache (sysctl kern.maxvnodes)? kern.maxvnodes = 6706326 What happens if you lower it to 1258268 for example? vdrain kicks in almost immediately. ioflush continues to r

Re: Problem with lots of (perhaps too much?) memory

2017-05-17 Thread Paul Goyette
On Wed, 17 May 2017, J. Hannken-Illjes wrote: - What is the size of your vnode cache (sysctl kern.maxvnodes)? kern.maxvnodes = 6706326 What happens if you lower it to 1258268 for example? vdrain kicks in almost immediately. ioflush continues to run. and I still have only 80MB free memor

Re: Problem with lots of (perhaps too much?) memory

2017-05-17 Thread J. Hannken-Illjes
> On 17. May 2017, at 08:59, Paul Goyette wrote: > > On Wed, 17 May 2017, J. Hannken-Illjes wrote: > Chances are very high that you are hitting the free page lock contention bug. >>> >>> Further observation: >>> >>> 1. A run of lockstat shows that there's lots of activity on >>> mn

Re: Problem with lots of (perhaps too much?) memory

2017-05-17 Thread Paul Goyette
On Wed, 17 May 2017, J. Hannken-Illjes wrote: Chances are very high that you are hitting the free page lock contention bug. Further observation: 1. A run of lockstat shows that there's lots of activity on mntvnode_lock from vfs_insmntque 2. The problem can be triggered simply by running 'd

Re: Problem with lots of (perhaps too much?) memory

2017-05-16 Thread J. Hannken-Illjes
> On 16. May 2017, at 23:25, Paul Goyette wrote: > > On Tue, 16 May 2017, Joerg Sonnenberger wrote: > >> On Tue, May 16, 2017 at 08:12:20AM +0800, Paul Goyette wrote: >>> * xosview frequently reports that the system is running at near-100% >>> in SYS time. >> >> Chances are very high that you

Re: Problem with lots of (perhaps too much?) memory

2017-05-16 Thread Paul Goyette
On Tue, 16 May 2017, Joerg Sonnenberger wrote: On Tue, May 16, 2017 at 08:12:20AM +0800, Paul Goyette wrote: * xosview frequently reports that the system is running at near-100% in SYS time. Chances are very high that you are hitting the free page lock contention bug. Further observation:

Re: Problem with lots of (perhaps too much?) memory

2017-05-15 Thread Joerg Sonnenberger
On Tue, May 16, 2017 at 08:12:20AM +0800, Paul Goyette wrote: > * xosview frequently reports that the system is running at near-100% > in SYS time. Chances are very high that you are hitting the free page lock contention bug. Joerg

Problem with lots of (perhaps too much?) memory

2017-05-15 Thread Paul Goyette
While running a long series of 'build.sh release' for various machines, I noticed that my system, despite having 128GB DRAM, was using some swap space! (Not very much, just 50MB or so, but still, with that much memory, you wouldn't expect to need any swap at all!) According to top(1), there w