LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 06-22-2003, 05:13 PM   #1
vonPulex
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9 , getting ready for SuSE 8.2
Posts: 7

Rep: Reputation: 0
LFS performance gain?


Hello ppl !

What is the performance gain from a LFS aptimized for Athlon ?
What CFLAGS , CXXFLAGS do you suggest ?

thx , bye
 
Old 07-06-2003, 01:42 PM   #2
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
I'm using an AMD T-bird 1.13 GHz, and I always use the following optimizations:

CFLAGS='-O3 -march=athlon-tbird -fomit-frame-pointer'
CXXFLAGS=$CFLAGS

Performance gain? Hmmmm... not sure. I've always used these flags. :-)
 
Old 07-08-2003, 02:11 PM   #3
citro
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 1
the performance gain surely depends on the applications you use. Some will be faster, some will stay as fast / slow as they are. I myself have a Pentium3, and therefore compiled almost everything with CFLAGS="-O3 -march=pentium3 -mcpu=pentium3"

"Almost" because I did not get some packages to compile when optimizations were set, especially glibc was problematic.

When the LFS book says "don't use optimizations here" you'll save yourself some trouble and time if you just follow that hint...

CU citro
 
  


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 06:03 AM
performance gain when dsl modem off jwgorman Linux - Newbie 0 07-06-2005 09:44 AM
Athlon 64 performance gain for custom FPU-intensive app? Entropius Linux - Hardware 2 08-15-2004 06:30 AM
Athlon 64 floating-point performance gain? Entropius Linux - Hardware 1 07-19-2004 06:37 AM


All times are GMT -5. The time now is 09:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration