Re: NFS server bottlenecks

2012-10-15 Thread Rick Macklem
Ivan Voras wrote: > On 15 October 2012 22:58, Rick Macklem wrote: > > > The problem is that UDP entries very seldom time out (unless the > > NFS server isn't seeing hardly any load) and are mostly trimmed > > because the size exceeds the highwater mark. > > > > With your code, it will clear out a

Re: NFS server bottlenecks

2012-10-15 Thread Ivan Voras
On 15 October 2012 22:58, Rick Macklem wrote: > The problem is that UDP entries very seldom time out (unless the > NFS server isn't seeing hardly any load) and are mostly trimmed > because the size exceeds the highwater mark. > > With your code, it will clear out all of the entries in the first >

Re: NFS server bottlenecks

2012-10-15 Thread Rick Macklem
Ivan Voras wrote: > On 13/10/2012 17:22, Nikolay Denev wrote: > > > drc3.patch applied and build cleanly and shows nice improvement! > > > > I've done a quick benchmark using iozone over the NFS mount from the > > Linux host. > > > > Hi, > > If you are already testing, could you please also test

Re: NFS server bottlenecks

2012-10-15 Thread John Baldwin
On Saturday, October 13, 2012 9:03:22 am Rick Macklem wrote: > rick > ps: I hope John doesn't mind being added to the cc list yet again. It's > just that I suspect he knows a fair bit about mutex implementation > and possible hardware cache line effects. Currently mtx_pool just uses a simp

Re: NFS server bottlenecks

2012-10-15 Thread Ivan Voras
On 15 October 2012 16:31, Nikolay Denev wrote: > > On Oct 15, 2012, at 2:52 PM, Ivan Voras wrote: >> http://people.freebsd.org/~ivoras/diffs/nfscache_lock.patch >> >> It should apply to HEAD without Rick's patches. >> >> It's a bit different approach than Rick's, breaking down locks even more. >

Re: NFS server bottlenecks

2012-10-15 Thread Nikolay Denev
On Oct 15, 2012, at 2:52 PM, Ivan Voras wrote: > On 13/10/2012 17:22, Nikolay Denev wrote: > >> drc3.patch applied and build cleanly and shows nice improvement! >> >> I've done a quick benchmark using iozone over the NFS mount from the Linux >> host. >> > > Hi, > > If you are already testi

Re: NFS server bottlenecks

2012-10-15 Thread Nikolay Denev
On Oct 15, 2012, at 2:52 PM, Ivan Voras wrote: > On 13/10/2012 17:22, Nikolay Denev wrote: > >> drc3.patch applied and build cleanly and shows nice improvement! >> >> I've done a quick benchmark using iozone over the NFS mount from the Linux >> host. >> > > Hi, > > If you are already testi

Re: NFS server bottlenecks

2012-10-15 Thread Ivan Voras
On 13/10/2012 17:22, Nikolay Denev wrote: > drc3.patch applied and build cleanly and shows nice improvement! > > I've done a quick benchmark using iozone over the NFS mount from the Linux > host. > Hi, If you are already testing, could you please also test this patch: http://people.freebsd.o