| Summary: | Using 'du' and 'ls' command, it got slow performance | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Gluster Fan <jaz.cheng> |
| Component: | nfs | Assignee: | Shehjar Tikoo <shehjart> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.1.0 | CC: | gluster-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTP | Mount Type: | nfs |
| Documentation: | DNR | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gluster Fan
2010-10-29 01:58:11 UTC
PATCH: http://patches.gluster.com/patch/5612 in master (socket: avoid check on lowlat for enabling nodelay) How to use this patch to fix the problem? (In reply to comment #1) > PATCH: http://patches.gluster.com/patch/5612 in master (socket: avoid check on > lowlat for enabling nodelay) I have patch it on every node of glusterfs. I tried to run 'du', 'ls' and 'rm' command, it look still slowly performance. Please try mounting with nordirplus mount option. It is known to improve performance for some apps accessing large directories. Use the following command: mount -o nordirplus ......... I try to mount volume with nordirplus option, but its performance is still slow. My environment include 20 datanodes, and I create volume cross the 20 datanode. The command like "gluster volume create xxxx replica 2 172.x.x.1:/gfs ........" This is an inherent problem when dealing with large directories. Dont think Gluster nfs as a server can do anything to fix it if the client caching of directory entries and attributes is not helping. |