From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6FBBD3857C61; Thu, 25 Feb 2021 07:31:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FBBD3857C61 From: "cd_songkun at hotmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/19924] TLS performance degradation after dlopen Date: Thu, 25 Feb 2021 07:31:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.23 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cd_songkun at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 07:31:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19924 --- Comment #13 from ksong --- Refer=20 https://sourceware.org/pipermail/libc-alpha/2021-February/122626.html https://patchwork.ozlabs.org/project/glibc/list/?submitter=3D65667&page=3D4 Try backport patch form Szabolcs Nagy. https://patchwork.ozlabs.org/project/glibc/patch/583EBBA0.9060709@arm.com/ https://patchwork.ozlabs.org/project/glibc/patch/583EBB99.8040101@arm.com/ Rebuild glibc. Exec tls_mini test case. [ctu-ksong-d1:tls]$LANG=3DC /home/ksong/work/package/glibc/build/elf/ld-linux-x86-64.so.2 --library-path /home/ksong/work/test/tls:/home/ksong/work/package/glibc/build:/home/ksong/= work/package/glibc/build/math:/home/ksong/work/package/glibc/build/elf:/hom= e/ksong/work/package/glibc/build/dlfcn:/home/ksong/work/package/glibc/build= /nss:/home/ksong/work/package/glibc/build/nis:/home/ksong/work/package/glib= c/build/rt:/home/ksong/work/package/glibc/build/resolv:/home/ksong/work/pac= kage/glibc/build/crypt:/home/ksong/work/package/glibc/build/mathvec:/home/k= song/work/package/glibc/build/nptl:/lib64 ./tls_mini time: 0.583575 time: 1.244377 time: 0.553654 It has some performance improvements, but not as obvious as the previous solution. --=20 You are receiving this mail because: You are on the CC list for the bug.=