Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Recent refining to make things faster... but need some help

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Brazil
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 117
Joined: Tue Apr 08, 2003 7:44 am
Location: Los Angeles, California

Recent refining to make things faster... but need some help

  • Quote

Post by Brazil » Tue Jul 01, 2003 9:26 pm

I was just reading the forums to see what people to to fine tune their systems, and recently have added some cflag options and have been trying prelinking...

Question about my new cflag options:
I understand that previous things I have installed have not been compiled with the new flags, but should I redo everything now, or should I just let it get better over time? This is gentoo, so I'm updating something everyday. Can I do an "emerge system" and "emerge world" after I have installed everything? Will that be a pain because config files will most likely have to be changed again?

Question about prelinking:
I have a nvidia card, and there is the issue that you can't prelink with the nvidia opengl library. So there is a tip on the forums that says to do "opengl-update xfree" then prelink. After I prelink, do I then want to do "opengl-update nvidia" and go back to using the nvidia driver? I don't understand why I have to prelink everything. Can you prelink somethings and not try to prelink everything... I understand that it has errors and says it can't prelink everything when I run the command, but why do I have to do the "opengl-update" trick? Isn't there a way to just skip a library or why wouldn't the prelink just move on? Am I missing some underlining concept?

One more question about prelinking:
In make.conf I made sure I have "prelink" in my FUNCTIONS variable, but what does that do? Should I run prelink once in a while or after every time I install or update something?

Last question:
Any other suggestions you have done to increase performance all-around?

-Brazil
Top
CoronaLover
Retired Dev
Retired Dev
User avatar
Posts: 163
Joined: Thu Jun 20, 2002 9:30 pm
Location: Rosh-ha'ayin, Israel

  • Quote

Post by CoronaLover » Wed Jul 02, 2003 4:01 pm

for prelink to work it needs to prelink the binary file and all of libs the bin is linked against (to see the libs run ldd /usr/bin/foo).
example: Qt is linked agains libGL.so but nvidia's libGL.so can't be prelinked so you use the opengl-update xfree and prelink your system, thus you get better performance. if you want to run a game or a 3d app you opengl-update nvidia and run it to get good 3d performance.
Top
Brazil
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 117
Joined: Tue Apr 08, 2003 7:44 am
Location: Los Angeles, California

Are my questions no good?

  • Quote

Post by Brazil » Thu Jul 10, 2003 3:27 am

Is there some reason no answers my questions? Atleast tell me if they are lame... I didn't think they were...

!!!!!
Top
snipingkills
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Sun May 11, 2003 6:29 am
Location: Denham Springs, La.

  • Quote

Post by snipingkills » Thu Jul 10, 2003 7:01 am

Well i dont know anything about the prelinking, but if you really want to recompile everything with your new CFLAGS, I think the option to do so is emerge -e world. I'm not an expert, so I could be wrong.
When the Illusions of Reality fade,
Which is more deceptive; the Illusion or Reality?
Top
balk
n00b
n00b
Posts: 62
Joined: Wed Apr 10, 2002 6:28 am
Location: Olanda
Contact:
Contact balk
Website

Re: Are my questions no good?

  • Quote

Post by balk » Thu Jul 10, 2003 9:08 am

Brazil wrote:Is there some reason no answers my questions? Atleast tell me if they are lame... I didn't think they were...

!!!!!
they are not too lame. No answers can mean "too difficult to answer" or "takes too much time to answer" or "just slipped away before a guru sees the topic" ;) (not that I'm a guru or extremely smart .....)

If you do not mind letting your PC compiling a _long_ time, do a 'emerge -e world', this will recompile almost everything you ever installed on your PC (except glibc and the kernel, if I remember right). As you can imagine, this will take some time, especially of you have kde, mozilla and openoffice installed.

Altough I have a Nvidia card installed, I never experienced problems with prelinking (or did not notice problems ;) ). Did you take a look at this guide?
As far as I understand it, prelinking puts dynamically linked libraries into the binaries so they will run smoother once started.
Powered by Gentoo since 1.0_rc6
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic