LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2004, 08:22 AM   #1
claudiup
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
How does the compile affect performance


Hi! How does the compile of the entire system using specific machine options affect performance? I saw some distro being i386 and others i586 or even i686. That means if I have a i386 distro I have a slower system than one with a i586? What are the key pakages to compile on my own machine to improve performance.

Thanks!

PS: I'm using Fedora Core 3 and I've noticed it is a bit slower than Mandrake 10.1 Community - the boot time and the speed in Tux Racer.
 
Old 12-11-2004, 08:35 AM   #2
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,

I strongly suggests that you read this book : (if you're not afraid of door-blockers : more than 800 pages)

Linux Power Tools
by Roderick Smith at Sybex Inc.

Easily found at amazon.com

Cheers
 
Old 12-11-2004, 08:43 AM   #3
claudiup
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very much, but.. I'm from Romania and I cannot buy things at Amazon I understand that because of some hackers and credit card frauds in my country Amazon and other e-shops prohibit any buy from Romania.

Instead, an online documentation could be helpful. By then, I'll google it.

Bye!
 
Old 12-11-2004, 12:21 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
the difference in performance from various compile options can be quite striking and are somewhat different for different programs.

the most important thing to optimize is the kernel (change the Makefile).

i suggest using
http://www.unix.com/source/unix_linux_bench.tar.gz
test with various comiler flags in the Makefile til you figure out what is best for your machine
what kind of CPU do you have -- perhaps we can offer suggestions

a word of caution -- lots of the information you will find in the Linux community online concerning compiler flags falls into the catagory of gcc mythology so test for yourself instead of believing others

another word of caution -- some compiler flags break certain applications either at runtime or break their build

it is very important NOT to try to optimize either gcc itself or glibc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile apps to achieve maximum performance? kornerr Linux - General 14 06-20-2005 02:00 PM
Compile from source - increase in performance? csvke Linux - Software 15 01-18-2005 10:08 PM
How does the IP address affect nslookup? hello321_1999 Linux - Networking 7 11-30-2004 04:21 PM
Does loadkeys affect X? Golovko Linux - General 1 07-30-2004 10:22 PM
Changes in resolution only affect root lasalsademuerte Slackware 0 11-21-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration