Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 06-22-2003, 04:13 PM   #1
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, 12:42 PM   #2
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'

Performance gain? Hmmmm... not sure. I've always used these flags. :-)
Old 07-08-2003, 01:11 PM   #3
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


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 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
performance gain when dsl modem off jwgorman Linux - Newbie 0 07-06-2005 08:44 AM
Athlon 64 performance gain for custom FPU-intensive app? Entropius Linux - Hardware 2 08-15-2004 05:30 AM
Athlon 64 floating-point performance gain? Entropius Linux - Hardware 1 07-19-2004 05:37 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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