WARNING - OLD ARCHIVES

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/
Xen

xen-users

[Top] [All Lists]

Re: [Xen-users] 64bit processors and TLS warning message

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 64bit processors and TLS warning message
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: 2006年1月30日 16:13:38 +0000
Cc: Molle Bestefich <molle.bestefich@xxxxxxxxx>
Delivery-date: 2006年1月30日 16:25:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <62b0912f0601300803o16d6d67elf98d149848547bda@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E4D4F968E9F97F45B21B72BDCAD8E1B8017E1F73@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200601231858.06153.mark.williamson@xxxxxxxxxxxx> <62b0912f0601300803o16d6d67elf98d149848547bda@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
> > > I am running an AMD64 Debian system and I noticed that the warning
> > > message about /lib/tls like on my other 32bit systems does not appear
> > > on this one. Does that mean that AM64 Linux archs aren't TLS enabled ?
> >
> > It's just not an issue like it is on 32-bit - the TLS implementation
> > doesn't conflict with the way Xen enforces protection.
>
> If by "different implementation" you mean that "different TLS
> implementations in Xen are used for different hardware architecures",
> that makes me wonder:
I rather suspected they might have implemented glibc's TLS support in a 
slightly more conventional way on x86_64 (i.e. not using the cunning segment 
trick). This is apparently not the case, so the only difference is in the 
way Xen protects itself from the guest. It's still the case that glibc's TLS 
on x86-64 should be perfectly safe and performant under Xen.
> If I do *not* use -mno-tls-direct-seg-refs or gcc patches on my x86-64
> system, will I actually enjoy a performance benefit from the GCC
> compiler's TLS optimizations, at least for 32bit userland apps?
In theory, yes, this might speed things up since it'll improve the efficiency 
of access to TLS data. In practice, it's likely to be difficult or 
impossible to measure the speedup for many apps (on x86-32, SuSE don't ship 
code that uses direct seg refs because they measured negligible 
improvements).
There shouldn't be any performance harm in allowing direct seg refs on x86-64, 
though, since they don't need to be emulated as they do on x86-32.
Cheers,
Mark
-- 
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] 64bit processors and TLS warning message , Molle Bestefich
Next by Date: [Xen-users] ERROR: Kernel image does not have a a.out9 header , xen
Previous by Thread: Re: [Xen-users] 64bit processors and TLS warning message , Molle Bestefich
Next by Thread: [Xen-users] Backend device not found!!. , Lamia M.Youseff
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /