Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64 system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
infinitezero
n00b
n00b


Joined: 25 Oct 2004
Posts: 68

PostPosted: Sun Nov 07, 2004 12:10 am    Post subject: AMD64 system Reply with quote

I have an AMD64 system, but I don’t wan to use the AMD64 version. Which of the others would be the best to use with an AMD64: x86, i686, or athlon-xp?

Thanks,
IZ
Back to top
View user's profile Send private message
La`res
Arch/Herd Tester
Arch/Herd Tester


Joined: 11 Aug 2003
Posts: 79
Location: ::0

PostPosted: Sun Nov 07, 2004 12:20 am    Post subject: Reply with quote

For amd64, you can run x86 in 32bit mode. in terms of the best optimization for this arch in 32bit mode, Choose pentium4.

Run from a x86 install.
_________________
Lares Moreau <lares.moreau@gmail.com>
LRU: 400755 http://counter.li.org
lares/irc.freenode.net
Back to top
View user's profile Send private message
infinitezero
n00b
n00b


Joined: 25 Oct 2004
Posts: 68

PostPosted: Sun Nov 07, 2004 12:25 am    Post subject: Reply with quote

Thanks.
I have more question for you if you don't mind. I noticed that you have a Geforce FX 5700 256MB how is it for gaming on Gentoo, if you game?
Back to top
View user's profile Send private message
Zamorate
n00b
n00b


Joined: 29 Oct 2004
Posts: 21
Location: Gasteiz

PostPosted: Sun Nov 07, 2004 12:35 am    Post subject: Reply with quote

Hi!

This is my make.conf for an amd64 but in 32bits:
Code:

CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow 3dnowext mmx mmx2 sse sse2 nptl gtk gtk2 acpi alsa -apm arts cdr dvd -esd gpm kde mozilla net nls spell audiofile dvdr aalib cdparanoia java scanner samba tcltk tiff usb X qt cups gnome xvid dvdread divx4linux -xine gphoto2"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com"


La`res, why pentium4? AMD64 isn´t like an amd-xp but with extension of 64 bits?


AGur!!
Back to top
View user's profile Send private message
Swatinem
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2004
Posts: 89
Location: Bad Reicnehall, Germany

PostPosted: Sun Nov 07, 2004 11:07 am    Post subject: Reply with quote

But Athlon64 has SSE2 which Athlon XP doesnt have.
I think pentium4 would enable that.
Back to top
View user's profile Send private message
barry
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 170
Location: UK

PostPosted: Sun Nov 07, 2004 12:06 pm    Post subject: Reply with quote

Quote:
in terms of the best optimization for this arch in 32bit mode, Choose pentium4.


That would not be a good idea. Use '-march=athlon-xp -msse2' or '-march=k8'
Back to top
View user's profile Send private message
La`res
Arch/Herd Tester
Arch/Herd Tester


Joined: 11 Aug 2003
Posts: 79
Location: ::0

PostPosted: Sun Nov 07, 2004 2:45 pm    Post subject: Reply with quote

I love my GeForce for gaming. It runs every FPS I play quite smoothly.
_________________
Lares Moreau <lares.moreau@gmail.com>
LRU: 400755 http://counter.li.org
lares/irc.freenode.net
Back to top
View user's profile Send private message
jthompson
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 159
Location: Pompano Beach, FL

PostPosted: Sat Dec 04, 2004 1:42 am    Post subject: Reply with quote

Everybody has a different opinion, but I think you should stick with

Code:
march="athlon-xp" -m3dnow -mmmx -msse -msse2 -O3 -pipe


The reason you do not want to use march="pentium 4" is because the pentium 4 and amd64 chips are two totally different architectures and work very differently. The old athlon xp's are more similar in architecture than a pentium 4 when it comes to amd64's.

And of course feel free to change -O3 to -O2.
_________________
I can't remember from noon to lunchtime!
Back to top
View user's profile Send private message
zinion
Guru
Guru


Joined: 27 Oct 2004
Posts: 541
Location: Ruhgebietshausen

PostPosted: Sat Dec 04, 2004 12:35 pm    Post subject: Reply with quote

La`res wrote:
I love my GeForce for gaming. It runs every FPS I play quite smoothly.


Me too....but wasn't this a little bit OT? :D
_________________
Es ist schön und warm
hier im Gentoo-Land
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Sat Dec 04, 2004 7:46 pm    Post subject: Reply with quote

La`res wrote:
For amd64, you can run x86 in 32bit mode. in terms of the best optimization for this arch in 32bit mode, Choose pentium4.

Run from a x86 install.


No offense, but this is not correct. If you are compiling your system with a 32-bit version of gcc which targets i686-pc-linux-gnu by default, then you can specify march=k8 and it will then generate 32-bit code optimized for the Athlon64, along with all supported instruction sets.

I speak from experience. I had a pentium4 system up and running for about a year. I just upgraded it to an Athlon64. Before changing the motherboard, I compiled a new kernel specifically for the Athlon64 and mobo hardware - using gcc 3.4.3. I specified the Opteron/Athlon64 architechture in make menuconfig.

Everything ran perfectly this way. Please note: the kernel was compiled with a 32-bit version of gcc, generating regular i686-pc-linux-gnu code. Furthermore, I recompiled a number of packages with -march=k8, including mplayer, xine, and all the open source codecs they support. Again, everything ran perfectly: 32-bit code on a 32-bit kernel optimized for the Athlon64.

So, the short answer: Use a regular x86 2004.3 LiveCD, use the latest stable gcc-3.4.x, set -march=k8, compile your kernel specifying Opteron/Athlon64 as your subarchitecture type.
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum