gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Possible Performance Tweak for unfsd Users


From: Shehjar Tikoo
Subject: Re: [Gluster-devel] Possible Performance Tweak for unfsd Users
Date: Wed, 06 Jan 2010 21:16:03 +0530
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Gordan Bobic wrote:
I can't figure out why this might be the case, but it would appear
that when unfsd is bound to a custom port and not registered with
portmap, the performance is massively improved.

I changed my init.d/unfsd script as follows, in the start option:

- /usr/sbin/unfsd -i ${pidfile} + /usr/sbin/unfsd -e /etc/uexports
-i ${pidfile} -m 12049 -n 12049 -p

How was your experience with LD_PRELOADed booster instead of going
through a FUSE mountpoint?


cat /etc/uexports /home           10.2.0.0/16(rw,insecure)

On the client side I am mounting with:

server:/home /home nfs defaults,nolock,hard,noatime,proto=udp,rsize=32768,wsize=32768,port=12049,mountport=12049
 0 0


You're using UDP. Are you sure NFS client did not default to TCP
earlier when you were not specifying non-default ports?

All of the horrible latency and laggyness is completely gone! Could
it be that it is unfsd's interraction with rpc/portmap/mountd that
is the cause of a lot of the performance issues?

unfsd only needs to register with portmap once when it starts so I
dont think that is the reason.


-Shehjar

I only did this to improve the performance of my non-glfs exports
by running knfsd for those, and only running unfsd for the glfs
exports, but this speed boost is quite a boon. :)

Note: know for a fact that knfsd isn't exporting the glfs mounted
/home because I'm not using the patched fuse kernel module that
allows nfs exports, even if the fact that /home wasn't listed in
/etc/exports wasn't enough (using /etc/uexports for unfsd, as per
the startup option).

Can anybody confirm similar behaviour on their setup?

Gordan


_______________________________________________ Gluster-devel
mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/gluster-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]