On Mon, Apr 11, 2016 at 06:57:19PM +0530, Tushar Shinde wrote:
> I had used async with kernel

By that you mean the async export option, not the async mount option,
right?

knfsd's "async" export option is almost always a bad idea--it's off by
default, and I'd remove it completely if I thought we could get away
with it.

> and NFS_Commit = FALSE; with Ganesha.

>From some quick greps of the source code: it appears that turning on
NFS_Commit makes writes synchronous even if the client doesn't request
that.  With NFS_Commit off it looks like the behavior is still safe and
standards-compliant, and in particular will still require a sync to disk
on metadata operations (such as file creates).

> Do you think still it will be unfair comparison?

So if I'm understanding everything correctly, yes, that's an unfair
comparison, and the fact that knfsd with async is faster on a workload
with lots of file creates is unsurprising.

I definitely recommend sticking with the defaults wherever possible.
That's what most users will (and should) be using, so if performance
differs significantly between the two under default options then there's
likely something worth investigating.

--b.

> 
> On Sat, Apr 9, 2016 at 2:45 AM, J. Bruce Fields <[email protected]> wrote:
> > On Sun, Apr 03, 2016 at 07:40:24PM +0530, Tushar Shinde wrote:
> >> I am facing issue that NFS v4 Ganesha is slower than kernel v4 server. I
> >> found it about 20-30 percent slower.
> >
> > What are you export options in the kernel case?
> >
> > (We just want to make sure that you're not exporting with "async", which
> > is not recommended, and would give the kernel and unfair advantage on
> > create.)
> >
> > --b.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to