Hi Iam running the latest Xen 3.x on FC5. As per the wiki and the message displayed during boot up, I have renamed /lib/tls to /lib/tls.disabled However on subsequent boots I still get the warning and Xen is slow. Any hints on what else I need to do to disable tls ? Regards Srini -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Srinivasan S wrote:> Hi > > Iam running the latest Xen 3.x on FC5. As per the wiki and the message displayed during boot up, I have renamed /lib/tls to /lib/tls.disabled > > However on subsequent boots I still get the warning and Xen is slow. > > Any hints on what else I need to do to disable tls ? > > Regards > Srini > >What''s the version of Glibc? Starting from version 2.4, Glibc only ships with NPTL. I am not sure whether this is the reason. William Zhou _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In case you are using a initrd you might have to recreate it after /lib/tls was moved to /lib/tls.disabled. -- Seneca You wrote at Samstag, 15. April 2006 16:13: SS> Hi SS> Iam running the latest Xen 3.x on FC5. As per the wiki and the message displayed during boot up, I have renamed /lib/tls to /lib/tls.disabled SS> However on subsequent boots I still get the warning and Xen is slow. SS> Any hints on what else I need to do to disable tls ? SS> Regards SS> Srini _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, a new initrd will not help. Have a look a this: *************************************************************** *************************************************************** ** WARNING: Currently emulating unsupported memory accesses ** ** in /lib/tls glibc libraries. The emulation is ** ** slow. To ensure full performance you should ** ** install a ''xen-friendly'' (nosegneg) version of ** ** the library, or disable tls support by executing ** ** the following as root: ** ** mv /lib/tls /lib/tls.disabled ** ** Offending process: hotplug (pid=276) ** *************************************************************** *************************************************************** This message comes from "hotplug" ... so I have to compile hotplug without tls support to get rid of this boot message. Move /lib/tls to /ib/tls.disabled and ignore these messages. -ralf- Seneca wrote:> In case you are using a initrd you might have to recreate it after > /lib/tls was moved to /lib/tls.disabled. >-- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ralf Schmitt wrote:> Hi, > > a new initrd will not help. Have a look a this: > > *************************************************************** > *************************************************************** > ** WARNING: Currently emulating unsupported memory accesses ** > ** in /lib/tls glibc libraries. The emulation is ** > ** slow. To ensure full performance you should ** > ** install a ''xen-friendly'' (nosegneg) version of ** > ** the library, or disable tls support by executing ** > ** the following as root: ** > ** mv /lib/tls /lib/tls.disabled ** > ** Offending process: hotplug (pid=276) ** > *************************************************************** > *************************************************************** > > This message comes from "hotplug" ... so I have to compile hotplug > without tls support to get rid of this boot message. > > Move /lib/tls to /ib/tls.disabled and ignore these messages. > > -ralf- >Every package built without -mno-tls-direct-seg-refs has this problem, including Glibc. Gentoo chooses to rebuild the whole tree to get rid of this problem. Taken from Gentoo Wiki: "Some software, in particular the glibc TLS library, performs poorly whilst carrying out certain operations under Xen. This will result in a ~50% performance penalty running multi-threaded applications. To fix this, you must compile your system with the ''-mno-tls-direct-seg-refs'' flag. Rebuild every package with your new CFLAGS." Gentoo also choose to use Glibc with NPTL only, without Linuxthread. This eliminates the use of directory /lib/tls. William Zhou _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Ralf, Well, rebuilding initrd is what solved exactly that problem in my case, but of cause it might be different for other setups. (I have xen 3.0.2-2, compiled from source with PAE switch and running on debian etch). Just in case you want to try it anyway, this is what I did after renaming the tls directory: depmod 2.6.16-xen mkinitrd -o /boot/initrd.img-2.6.16-xen 2.6.16-xen -- Seneca You wrote at Samstag, 15. April 2006 21:50: RS> Hi, RS> a new initrd will not help. Have a look a this: RS> *************************************************************** RS> *************************************************************** RS> ** WARNING: Currently emulating unsupported memory accesses ** RS> ** in /lib/tls glibc libraries. The emulation is ** RS> ** slow. To ensure full performance you should ** RS> ** install a ''xen-friendly'' (nosegneg) version of ** RS> ** the library, or disable tls support by executing ** RS> ** the following as root: ** RS> ** mv /lib/tls /lib/tls.disabled ** RS> ** Offending process: hotplug (pid=276) ** RS> *************************************************************** RS> *************************************************************** RS> This message comes from "hotplug" ... so I have to compile hotplug RS> without tls support to get rid of this boot message. RS> Move /lib/tls to /ib/tls.disabled and ignore these messages. RS> -ralf- RS> Seneca wrote:>> In case you are using a initrd you might have to recreate it after >> /lib/tls was moved to /lib/tls.disabled. >>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I recreated initrd after renaming and booted .. still does not help and the warning reappears .. The offending process in my case is init (pid=1) Also glibc is v 2.4 Hope this info helps to provide some more hints Regards Srini> ----- Original Message ----- > From: Seneca <acenes@gmx.net> > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] /lib/tls.disabled does not work > Date: Sun, 16 Apr 2006 11:25:29 +0200 > > > Hello Ralf, > > Well, rebuilding initrd is what solved exactly that problem in my > case, but of cause it might be different for other setups. (I have xen > 3.0.2-2, compiled from source with PAE switch and running on debian > etch). Just in case you want to try it anyway, this is what I did after > renaming the tls directory: > > depmod 2.6.16-xen > mkinitrd -o /boot/initrd.img-2.6.16-xen 2.6.16-xen > > -- > Seneca > > > > You wrote at Samstag, 15. April 2006 21:50: > > RS> Hi, > > RS> a new initrd will not help. Have a look a this: > > RS> *************************************************************** > RS> *************************************************************** > RS> ** WARNING: Currently emulating unsupported memory accesses ** > RS> ** in /lib/tls glibc libraries. The emulation is ** > RS> ** slow. To ensure full performance you should ** > RS> ** install a ''xen-friendly'' (nosegneg) version of ** > RS> ** the library, or disable tls support by executing ** > RS> ** the following as root: ** > RS> ** mv /lib/tls /lib/tls.disabled ** > RS> ** Offending process: hotplug (pid=276) ** > RS> *************************************************************** > RS> *************************************************************** > > RS> This message comes from "hotplug" ... so I have to compile hotplug > RS> without tls support to get rid of this boot message. > > RS> Move /lib/tls to /ib/tls.disabled and ignore these messages. > > > RS> -ralf- > > RS> Seneca wrote: > >> In case you are using a initrd you might have to recreate it after > >> /lib/tls was moved to /lib/tls.disabled. > >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users>-- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 15 Apr 2006, Srinivasan S wrote:> Iam running the latest Xen 3.x on FC5. As per the wiki and the message > displayed during boot up, I have renamed /lib/tls to /lib/tls.disabled > > However on subsequent boots I still get the warning and Xen is slow. > > Any hints on what else I need to do to disable tls ?FC5 has a glibc library with the nosegneg patches included. To enable it, create a file in /etc/ld.so.conf.d/ (I named mine nosegneg.com), with the following: hwcap 0 nosegneg The errors should go away, and everything should work nicely. ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you had a type-o:> To enable it, create a file in /etc/ld.so.conf.d/ (I named mine > nosegneg.com), with the following:I think it should be nosegneg.conf, right? Steven Nate Carlson wrote:> On Sat, 15 Apr 2006, Srinivasan S wrote: > >> Iam running the latest Xen 3.x on FC5. As per the wiki and the >> message displayed during boot up, I have renamed /lib/tls to >> /lib/tls.disabled >> >> However on subsequent boots I still get the warning and Xen is slow. >> >> Any hints on what else I need to do to disable tls ? > > > FC5 has a glibc library with the nosegneg patches included. > > To enable it, create a file in /etc/ld.so.conf.d/ (I named mine > nosegneg.com), with the following: > > hwcap 0 nosegneg > > The errors should go away, and everything should work nicely. > > ------------------------------------------------------------------------ > | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | > | depriving some poor village of its idiot since 1981 | > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Nate, Steven I created the file as explained and it worked like a charm. Warnings gone Regards Srini> ----- Original Message ----- > From: "Steven Yelton" <steveny@missiondata.com> > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] /lib/tls.disabled does not work > Date: Mon, 17 Apr 2006 14:25:21 -0400 > > > I think you had a type-o: > > > To enable it, create a file in /etc/ld.so.conf.d/ (I named mine > > nosegneg.com), with the following: > > I think it should be nosegneg.conf, right? > > > Steven > > Nate Carlson wrote: > > > On Sat, 15 Apr 2006, Srinivasan S wrote: > > > >> Iam running the latest Xen 3.x on FC5. As per the wiki and the > >> message displayed during boot up, I have renamed /lib/tls to > >> /lib/tls.disabled > >> > >> However on subsequent boots I still get the warning and Xen is slow. > >> > >> Any hints on what else I need to do to disable tls ? > > > > > > FC5 has a glibc library with the nosegneg patches included. > > > > To enable it, create a file in /etc/ld.so.conf.d/ (I named mine > > nosegneg.com), with the following: > > > > hwcap 0 nosegneg > > > > The errors should go away, and everything should work nicely. > > > > ------------------------------------------------------------------------ > > | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | > > | depriving some poor village of its idiot since 1981 | > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users>-- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users