Hi Tushar,

Right, which is lexically inconsistent--but my question was, doesn't Linux 
glibc select the adaptive mutex by default, effectively selecting it?  If not, 
we should prioritize changing this, I agree.

I'm honestly unsure, folks welcome to chime in here.

Matt

----- Original Message -----
> From: "Tushar Shinde" <[email protected]>
> To: "Matt Benjamin" <[email protected]>
> Cc: [email protected]
> Sent: Wednesday, April 6, 2016 2:45:34 AM
> Subject: Re: [Nfs-ganesha-devel] NFSv4 open close operations are slow 
> compared to Linux kernel NFSv4
> 
> Hello Matt,
> 
> The FSAL is written for vxfs.
> 
> The PTHREAD_MUTEX_ADAPTIVE_NP is used in gsh_mutex_init But not in
> PTHREAD_MUTEX_init in Ganesha code.
> 
> Tushar.
> 
> 
> 
> On Tue, Apr 5, 2016 at 8:14 PM, Matt Benjamin <[email protected]> wrote:
> > Hi Tushar,
> >
> > Also relevant, what FSAL are you using, and how is that FSAL provisioned
> > (e.g., if VFS, what is underneath it).
> >
> > Matt
> >
> > ----- Original Message -----
> >> From: "Tushar Shinde" <[email protected]>
> >> To: "Matt Benjamin" <[email protected]>
> >> Cc: [email protected]
> >> Sent: Tuesday, April 5, 2016 10:30:16 AM
> >> Subject: Re: [Nfs-ganesha-devel] NFSv4 open close operations are slow
> >> compared to Linux kernel NFSv4
> >>
> >> Hi Matt,
> >>
> >> The workload is small files creation on specific interval. Create +
> >> write in one thread, Later other thread will read + delete.
> >> Since these are small files there is frequent open and close, To test
> >> this I did just open and close and compared with both Kernel NFSv4 and
> >> Ganesha.
> >> I found overall time taken by Ganesha is more than Kernel nfsv4 for longer
> >> runs.
> >>
> >> I tried to replace PTHREAD_MUTEX_init to use
> >> PTHREAD_MUTEX_ADAPTIVE_NP, It helped a bit, But not considerable
> >> difference.
> >> The performance drop with 2 clients doing open close drops sharply.
> >
> > I'm surprise this has an effect--isn't it the default on (any modern glibc
> > Linux platform)?
> >
> >>
> >> Initially I thought dispatcher is bottleneck, After adding few debugs
> >> I found its multi threaded and not the problem.
> >> I will update you if I found something interesting.
> >
> > Cool, appreciated.
> >
> > Matt
> >
> >>
> >> Tushar.
> >>
> >>
> >>
> >> On Mon, Apr 4, 2016 at 9:23 PM, Matt Benjamin <[email protected]>
> >> wrote:
> >> > Hi Tushar,
> >> >
> >> > There's no one specific thread, no, but as a project, we're interested
> >> > in
> >> > continuous performance improvement.
> >> >
> >> > Can you provide details of your setup and workload for reference?
> >> >
> >> > Matt
> >> >
> >> > ----- Original Message -----
> >> >> From: "Tushar Shinde" <[email protected]>
> >> >> To: [email protected]
> >> >> Sent: Sunday, April 3, 2016 10:10:24 AM
> >> >> Subject: [Nfs-ganesha-devel] NFSv4 open close operations are slow
> >> >> compared
> >> >> to Linux kernel NFSv4
> >> >>
> >> >>
> >> >>
> >> >> Hi,
> >> >>
> >> >> I am facing issue that NFS v4 Ganesha is slower than kernel v4 server.
> >> >> I
> >> >> found it about 20-30 percent slower.
> >> >>
> >> >> Anyone know any patch/mail thread discussing this problem?
> >> >>
> >> >> Thank you,
> >> >> Tushar
> >> >>
> >> >> ------------------------------------------------------------------------------
> >> >>
> >> >> _______________________________________________
> >> >> Nfs-ganesha-devel mailing list
> >> >> [email protected]
> >> >> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> >> >>
> >> >
> >> > --
> >> > Matt Benjamin
> >> > Red Hat, Inc.
> >> > 315 West Huron Street, Suite 140A
> >> > Ann Arbor, Michigan 48103
> >> >
> >> > http://www.redhat.com/en/technologies/storage
> >> >
> >> > tel.  734-707-0660
> >> > fax.  734-769-8938
> >> > cel.  734-216-5309
> >>
> >
> > --
> > Matt Benjamin
> > Red Hat, Inc.
> > 315 West Huron Street, Suite 140A
> > Ann Arbor, Michigan 48103
> >
> > http://www.redhat.com/en/technologies/storage
> >
> > tel.  734-707-0660
> > fax.  734-769-8938
> > cel.  734-216-5309
> 

-- 
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-707-0660
fax.  734-769-8938
cel.  734-216-5309

------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to