[Bugs] [Bug 1421938] systemic testing: seeing lot of ping time outs which would lead to splitbrains
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jul 18 10:45:33 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1421938
--- Comment #26 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17105 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit 2e72b24707f1886833db0b09e48b3f48b8d68d37
Author: Raghavendra G <rgowdapp at redhat.com>
Date: Tue Apr 25 10:43:07 2017 +0530
program/GF-DUMP: Shield ping processing from traffic to Glusterfs
Program
Since poller thread bears the brunt of execution till the request is
handed over to io-threads, poller thread experiencies lock
contention(s) in the control flow till io-threads, which slows it
down. This delay invariably affects reading ping requests from network
and responding to them, resulting in increased ping latencies, which
sometimes results in a ping-timer-expiry on client leading to
disconnect of transport. So, this patch aims to free up poller thread
from executing code of Glusterfs Program. We do this by making
* Glusterfs Program registering itself asking rpcsvc to execute its
actors in its own threads.
* GF-DUMP Program registering itself asking rpcsvc to _NOT_ execute
its actors in its own threads. Otherwise program's ownthreads become
bottleneck in processing ping traffic. This means that poller thread
reads a ping packet, invokes its actor and hands the response msg to
transport queue.
Change-Id: I526268c10bdd5ef93f322a4f95385137550a6a49
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
BUG: 1421938
Reviewed-on: https://review.gluster.org/17105
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Amar Tumballi <amarts at redhat.com>
Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=E8kMV15pJV&a=cc_unsubscribe
More information about the Bugs
mailing list