The _gf(c|m)alloc and __gf_free memory allocation api calls gf_mem_set_acct_info function to save memory accounting on xlator and to update the record it takes lock.During testing we have observed the mem_acct mutex has contention. Solution: To avoid contention make it lock free and the performance data is available at github issue #2771(https://github.com/gluster/glusterfs/issues/2771)
The upstream patch is to resolve the same https://github.com/gluster/glusterfs/pull/2797
Can we get a QE ack on this?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glusterfs bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:4840