Bug 1398859

Summary: tier: performance improvement with multi-threaded brick processing
Product: [Community] GlusterFS Reporter: Milind Changire <mchangir>
Component: tieringAssignee: Milind Changire <mchangir>
Status: CLOSED WONTFIX QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-02 08:15:27 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 Milind Changire 2016-11-26 17:49:26 UTC
Description of problem:
Tier sequentially processes brick heat databases for promotions as well as demotions.


Expected results:
Promotions and demotions at multiple bricks can be performed in parallel to improve performance.

Comment 1 Worker Ant 2016-11-26 17:59:25 UTC
REVIEW: http://review.gluster.org/15931 (cluster/tier: multithreaded promotion and demotion) posted (#1) for review on master by Milind Changire (mchangir)

Comment 2 Worker Ant 2016-11-27 14:01:14 UTC
REVIEW: http://review.gluster.org/15931 (cluster/tier: multithreaded promotion and demotion) posted (#2) for review on master by Milind Changire (mchangir)

Comment 3 Worker Ant 2016-11-27 16:37:13 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#3) for review on master by Milind Changire (mchangir)

Comment 4 Worker Ant 2016-11-28 16:14:46 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#4) for review on master by Milind Changire (mchangir)

Comment 5 Worker Ant 2016-11-29 15:43:55 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#5) for review on master by Milind Changire (mchangir)

Comment 6 Worker Ant 2016-12-07 13:22:50 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#6) for review on master by Milind Changire (mchangir)

Comment 7 Worker Ant 2016-12-07 14:41:49 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#7) for review on master by Milind Changire (mchangir)

Comment 8 Worker Ant 2016-12-08 07:58:59 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#8) for review on master by Milind Changire (mchangir)

Comment 9 Worker Ant 2016-12-16 09:14:11 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#9) for review on master by Milind Changire (mchangir)

Comment 10 Worker Ant 2016-12-16 09:22:15 UTC
REVIEW: http://review.gluster.org/15931 ([wip] cluster/tier: multithreaded promotion and demotion) posted (#10) for review on master by Milind Changire (mchangir)

Comment 11 Amar Tumballi 2018-11-02 08:15:27 UTC
Patch https://review.gluster.org/#/c/glusterfs/+/21331/ removes tier functionality from GlusterFS. 

https://bugzilla.redhat.com/show_bug.cgi?id=1642807 is used as the tracking bug for this. Recommendation is to convert your tier volume to regular volume (either replicate, ec, or plain distribute) with "tier detach" command before upgrade, and use backend features like dm-cache etc to utilize the caching from backend to provide better performance and functionality.