Bug 1656348
Summary: | Commit c9bde3021202f1d5c5a2d19ac05a510fc1f788ac causes ls slowdown | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Nithya Balachandran <nbalacha> |
Component: | unclassified | Assignee: | Raghavendra G <rgowdapp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | atumball, bugs, rgowdapp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-6.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-07 08:07:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nithya Balachandran
2018-12-05 10:08:20 UTC
readdir-ahead stores that writes have happened to make sure to handle in-progress prefetch and writes concurrent with that prefetching. But the problem is that information is never cleared or stats updated with new values and hence causing this regression. concurrent writes need more intelligent handling than the current logic. REVIEW: https://review.gluster.org/21811 (performance/readdir-ahead: update stats from prefetched dentries) posted (#1) for review on master by Raghavendra G with fix [1]: ============= [root@rgowdapp mnt]# rm -rf * [root@rgowdapp mnt]# for i in {1..4000}; do echo "test" > $i ; done [root@rgowdapp mnt]# time ls -l > /dev/null real 0m0.162s user 0m0.012s sys 0m0.033s [root@rgowdapp mnt]# cd without fix [1]: ================ [root@rgowdapp ~]# umount /mnt/ [root@rgowdapp ~]# mount -t glusterfs localhost:ptop /mnt [root@rgowdapp ~]# cd /mnt [root@rgowdapp mnt]# rm -rf * [root@rgowdapp mnt]# for i in {1..4000}; do echo "test" > $i ; done [root@rgowdapp mnt]# time ls -l > /dev/null real 0m0.789s user 0m0.019s sys 0m0.062s [1] https://review.gluster.org/21811 REVIEW: https://review.gluster.org/21811 (performance/readdir-ahead: update stats from prefetched dentries) posted (#4) for review on master by Raghavendra G This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report. glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html [2] https://www.gluster.org/pipermail/gluster-users/ |