[Bugs] [Bug 1322237] glusterd pmap scan wastes time scanning for not relevant ports

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 30 19:44:27 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1322237



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13841 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit d5b583be1e677637015fabeaac81994f382f14bc
Author: Raghavendra Talur <rtalur at redhat.com>
Date:   Tue Mar 29 13:46:07 2016 +0530

    glusterd: scan for open ports only in required range

    It does not make sense to keep track of free ports from 0 to base_port
    if we are not going to use them.

    glusterd start times without this patch
    2.622
    2.478
    2.455
    2.590
    2.400

    glusterd start times with this patch
    1.9
    1.9
    1.9
    2.0
    2.0
    1.8

    We save around half a second for every glusterd start.

    BUG: 1322237
    Change-Id: I0456689d0afad50dd068f2325ebfca9bdeffe01a
    Signed-off-by: Raghavendra Talur <rtalur at redhat.com>
    Reviewed-on: http://review.gluster.org/13841
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

-- 
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=23PZOzun29&a=cc_unsubscribe


More information about the Bugs mailing list