public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] My take on prelink
@ 2003-01-07 13:10 lakicsv
  2003-01-07 13:32 ` Stefan Jones
  0 siblings, 1 reply; 6+ messages in thread
From: lakicsv @ 2003-01-07 13:10 UTC (permalink / raw
  To: gentoo-dev

Dear Devs,

I was very excited about prelink, since on my Athlon 1800 XP machine with 512 DDR, KDE startup times still bother me...(I guess the faster machine you have the more you expect:-))

So I looked at the (otherwise clear and well written) prelink guide. I was very unhappy with what I found there:

In the era of fast PC-s, one only need to have a couple of programs prelinked: to me this is kde (konqi mainly but others as well), wine, winex and probably (if prelink would help it) openoffice...(I do not run gnome). All the rest of my programs startup like flash, so there is no practical advantage to prelink them time to time...

Those of you familiar with the prelinking guide already figured where I am getting at:

- wine and winex cannot be prelinked (yet)
- since I have nvidia graphics, all my kde stuff is linked to that so I cannot prelink any KDE apps...

Yes, I could switch to nv driver, but then I would loose my TV-out for watching dvds, and I cannot start any movie in fullscreen with xvideo under mplayer (trust me I tried hard) not to mention games...

Is there any hope to remedy these problems? How other distros handle the nvidia probs? Red hat and mandrake supposedly prelinked, and they use nvidia rpms...

What about wine? Even running calc.exe can take a good ten seconds to start up...

It is not supposed to be a flame just wrote this in the hope that someone might be able to help...

Cheers:  Viktor


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] My take on prelink
  2003-01-07 13:10 [gentoo-dev] My take on prelink lakicsv
@ 2003-01-07 13:32 ` Stefan Jones
  2003-01-07 21:19   ` Viktor Lakics
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Jones @ 2003-01-07 13:32 UTC (permalink / raw
  To: gentoo-dev

> Yes, I could switch to nv driver, but then I would loose my TV-out for
> watching dvds, and I cannot start any movie in fullscreen with xvideo
> under mplayer (trust me I tried hard) not to mention games...
>

You can still use the nvidia xfree driver, but you cannot use the nvidia
libGL.so library (opengl-update xfree). So the XFree non-openGL bits work
fine.I have such a card and unless I want to use 3D stuff it works fine.
If you want to play a game, run opengl-update nvidia, and then play.

> Is there any hope to remedy these problems? How other distros handle
> the nvidia probs? Red hat and mandrake supposedly prelinked, and they
> use nvidia rpms...

Well in there case, any use of the nvidia shared librarys will make
prelink not produce quicker dynamic symbol resolution (startup times). In
fact binary distrobutions lose the prelink benefits everytime you upgrade
a library. Prelinking only help you there if you use the EXACT packages
they provide. (not a later or earier version)
>
> What about wine? Even running calc.exe can take a good ten seconds to
> start up...

MS executables running under wine do not use ld-linux.so.2 as their
linker, wine does that for them, and so prelink cannot do anything. It
links dlls not ELF files.




--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] My take on prelink
  2003-01-07 13:32 ` Stefan Jones
@ 2003-01-07 21:19   ` Viktor Lakics
  2003-01-09 15:12     ` Paul de Vrieze
  0 siblings, 1 reply; 6+ messages in thread
From: Viktor Lakics @ 2003-01-07 21:19 UTC (permalink / raw
  To: gentoo-dev

Thanks Stefan,

Looks better now. I switched to xfree and now prelink -na gives me a
better picture (I can prelink kde now). I still have the win and winex errors though.

When I do the real prelink, can I just disregard the erros what wine
prelinking throws at me? Is it messing up anything? Will my wine be
functional after that?

Thanks in advance. -- Viktor 

On Tue, Jan 07, 2003 at 01:32:54PM -0000, Stefan Jones wrote:
> > Yes, I could switch to nv driver, but then I would loose my TV-out for
> > watching dvds, and I cannot start any movie in fullscreen with xvideo
> > under mplayer (trust me I tried hard) not to mention games...
> >
> 
> You can still use the nvidia xfree driver, but you cannot use the nvidia
> libGL.so library (opengl-update xfree). So the XFree non-openGL bits work
> fine.I have such a card and unless I want to use 3D stuff it works fine.
> If you want to play a game, run opengl-update nvidia, and then play.
> 
> > Is there any hope to remedy these problems? How other distros handle
> > the nvidia probs? Red hat and mandrake supposedly prelinked, and they
> > use nvidia rpms...
> 
> Well in there case, any use of the nvidia shared librarys will make
> prelink not produce quicker dynamic symbol resolution (startup times). In
> fact binary distrobutions lose the prelink benefits everytime you upgrade
> a library. Prelinking only help you there if you use the EXACT packages
> they provide. (not a later or earier version)
> >
> > What about wine? Even running calc.exe can take a good ten seconds to
> > start up...
> 
> MS executables running under wine do not use ld-linux.so.2 as their
> linker, wine does that for them, and so prelink cannot do anything. It
> links dlls not ELF files.
> 
> 
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

-- 
_______________________________________
Viktor Lakics
email: viktor@lakics.net

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] My take on prelink
  2003-01-07 21:19   ` Viktor Lakics
@ 2003-01-09 15:12     ` Paul de Vrieze
  2003-01-10  6:07       ` [gentoo-dev] " Jeff Stuart
  0 siblings, 1 reply; 6+ messages in thread
From: Paul de Vrieze @ 2003-01-09 15:12 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 713 bytes --]

On Tuesday 07 January 2003 22:19, Viktor Lakics wrote:
> Thanks Stefan,
>
> Looks better now. I switched to xfree and now prelink -na gives me a
> better picture (I can prelink kde now). I still have the win and winex
> errors though.
>
> When I do the real prelink, can I just disregard the erros what wine
> prelinking throws at me? Is it messing up anything? Will my wine be
> functional after that?
>

Yes, it will just not be prelinked, and as such not startup faster. Excluding 
the wine folder as in the manual can take care of the error messages, and 
makes that the prelinker will not try anymore.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.cs.kun.nl/~pauldv

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-dev] Re: My take on prelink
  2003-01-09 15:12     ` Paul de Vrieze
@ 2003-01-10  6:07       ` Jeff Stuart
  2003-01-10 22:35         ` Stefan Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Stuart @ 2003-01-10  6:07 UTC (permalink / raw
  To: gentoo-dev

I've gone ahead and installed prelink. And it DID say that it had passed all
14 tests HOWEVER, when it went to test tls1 through tls3, all three had a
core dump almost immediately. However, emerge DID go ahead and install
prelink. And a make test by hand also came back and said all 14 tests are
OK. 
 
I then prelinked phoneix and it SEEMED to work. IE phoenix starts up. :) No
problems there. So is prelink OK on my system? And can I use it? 
 
--  
Jeff Stuart 
jstuart@computer-city.net


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Re: My take on prelink
  2003-01-10  6:07       ` [gentoo-dev] " Jeff Stuart
@ 2003-01-10 22:35         ` Stefan Jones
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Jones @ 2003-01-10 22:35 UTC (permalink / raw
  To: gentoo-dev

On Fri, 2003-01-10 at 06:07, Jeff Stuart wrote:
>  And it DID say that it had passed all
> 14 tests HOWEVER, when it went to test tls1 through tls3, all three had a
> core dump almost immediately. 
Those tests will always do that on most systems, it is just checking via
core dump for some advanced features which are not installed.
Stefan

> --
> gentoo-dev@gentoo.org mailing list
-- 
Stefan Jones <cretin@gentoo.org>
Gentoo Linux


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-10 22:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 13:10 [gentoo-dev] My take on prelink lakicsv
2003-01-07 13:32 ` Stefan Jones
2003-01-07 21:19   ` Viktor Lakics
2003-01-09 15:12     ` Paul de Vrieze
2003-01-10  6:07       ` [gentoo-dev] " Jeff Stuart
2003-01-10 22:35         ` Stefan Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox