This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: Brief TLS/PAE/xenbus/AGP/Debian/VCS questions

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Brief TLS/PAE/xenbus/AGP/Debian/VCS questions
From: Nuutti Kotivuori <naked@xxxxxx>
Date: Thu, 30 Jun 2005 19:36:23 +0300
Cache-post-path: aka.i.naked.iki.fi!unknown@xxxxxxxxxxxxxxxxxx
Cancel-lock: sha1:Hp8SEP2r0h+zjfqn1fAlLqaVpFU=
Delivery-date: Thu, 30 Jun 2005 16:37:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Ye 'Ol Disorganized NNTPCache groupie
References: <877jgbanqw.fsf@xxxxxxxxxxxxxxxxxx> <200506301626.05728.mark.williamson@xxxxxxxxxxxx> <Pine.LNX.4.61.0506301127480.21206@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux)
Rik Van Riel wrote:
> On Thu, 30 Jun 2005, Mark Williamson wrote:
>>> What's happending with the TLS issue? Is /lib/tls still harmful? 
>>> There was talk of a glibc patch - did that ever progress anywhere? 
>>> Did making it work require changes to Xen as well as glibc?
>> Not harmful but slower.  There is a glibc patch, which you can
>> apply if you want (the nicest would be for a distro to ship it).
>> The glibc people weren't interested in merging it.
> I think the glibc people just created a new glibc variant,
> which is in Fedora Rawhide already.

I went digging around for the patch and eventually had to a Fedora
glibc source RPM package to find it - is it available in any sane

Compiling with '-mno-tls-direct-seg-refs' is still needed as well I

So, just to clarify the loose ends.

Using TLS is now perfectly safe, only causes a performance loss? Glibc
is the biggest culprit in losing performance - how much is this in

Does the patch given fix most of the performance loss, or the compiler
flag given, or are both needed to avoid most of it?

Why would glibc not take it in the standard version, but only a
variant? Is this variant included in the standard glibc distribution
and can it be enabled by some compile option? I would assume there's a
slight performance degration because of it or something.

Are there any valid reasons for not including that in, say, the
default Debian glibc?

Thanks again, you've been very helpful, as always.

-- Naked

Xen-devel mailing list