[Bugs] [Bug 1169320] New: rmtab file is a bottleneck when lot of clients are accessing a volume through NFS
bugzilla at redhat.com
bugzilla at redhat.com
Mon Dec 1 10:35:53 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1169320
Bug ID: 1169320
Summary: rmtab file is a bottleneck when lot of clients are
accessing a volume through NFS
Product: GlusterFS
Version: 3.6.1
Component: nfs
Keywords: Triaged
Severity: urgent
Assignee: bugs at gluster.org
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Depends On: 1169317
Blocks: 1163723 (glusterfs-3.6.2)
+++ This bug was initially created as a clone of Bug #1166862 +++
Description of problem:
This feature: http://review.gluster.org/#/c/4430/
Create bottleneck when several clients are accessing a nfs volume.
On our setup:
Gluster 3.5.2 under centos7.
Hardware:
dual Xeon® CPU E5-2640
64GB RAM
SSD for rootfs
10Gb NIC
Context:
Around 700 nfs clients for small file or vm images.
Version-Release number of selected component (if applicable):
3.5.2
How reproducible:
Always as long as you have enough NFS clients
Steps to Reproduce:
1. Create a volume accessible through gluster nfs
2. Make it accessible for 700 clients
3. See how it hangs
Actual results:
NFS client got intermittent hang (every minutes / for 10s each time). Even an
“rpcinfo -t server nfs 3" will hang.
Gluster nfs process literally eat the CPU of the server
Expected results:
No hanging
Additional info:
The cause:
the rmtab file located in /var/lib/glusterd/nfs/ is flushed from memory to
/var/lib/glusterd/nfs/rmtab.tmp. During this time, NFS server hang literraly.
Workaroud:
Move the file to memory for faster I/O using this option:
set nfs.mount-rmtab: /dev/shm/glusterfs.rmtab
Result:
We still have some hang but for ~300ms now, the load average of the server is
WAY better.
Personal thought:
This feature is not usable and should be disabled by default.
You can find attached load average and Disk usage before and after using SHM
for rmtab.
--- Additional comment from Cyril Peponnet on 2014-11-21 19:53:50 CET ---
--- Additional comment from Anand Avati on 2014-12-01 11:29:51 CET ---
REVIEW: http://review.gluster.org/9223 (nfs: make it possible to disable
nfs.mount-rmtab) posted (#1) for review on master by Niels de Vos
(ndevos at redhat.com)
--- Additional comment from Niels de Vos on 2014-12-01 11:34:37 CET ---
Note that the proposed change in comment #2 is actually for the master branch,
not for release-3.5. When it has been merged in the master branch, we can
backport the fix to release-3.5 and release-3.6.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1163723
[Bug 1163723] GlusterFS 3.6.2 tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1169317
[Bug 1169317] rmtab file is a bottleneck when lot of clients are accessing
a volume through NFS
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list