View previous topic :: View next topic |
Author |
Message |
infinitezero n00b
Joined: 25 Oct 2004 Posts: 68
|
Posted: Sun Nov 07, 2004 12:10 am Post subject: AMD64 system |
|
|
I have an AMD64 system, but I dont 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 |
|
|
La`res Arch/Herd Tester
Joined: 11 Aug 2003 Posts: 79 Location: ::0
|
Posted: Sun Nov 07, 2004 12:20 am Post subject: |
|
|
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 |
|
|
infinitezero n00b
Joined: 25 Oct 2004 Posts: 68
|
Posted: Sun Nov 07, 2004 12:25 am Post subject: |
|
|
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 |
|
|
Zamorate n00b
Joined: 29 Oct 2004 Posts: 21 Location: Gasteiz
|
Posted: Sun Nov 07, 2004 12:35 am Post subject: |
|
|
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 |
|
|
Swatinem Tux's lil' helper
Joined: 27 Oct 2004 Posts: 89 Location: Bad Reicnehall, Germany
|
Posted: Sun Nov 07, 2004 11:07 am Post subject: |
|
|
But Athlon64 has SSE2 which Athlon XP doesnt have.
I think pentium4 would enable that. |
|
Back to top |
|
|
barry Apprentice
Joined: 01 May 2002 Posts: 170 Location: UK
|
Posted: Sun Nov 07, 2004 12:06 pm Post subject: |
|
|
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 |
|
|
La`res Arch/Herd Tester
Joined: 11 Aug 2003 Posts: 79 Location: ::0
|
Posted: Sun Nov 07, 2004 2:45 pm Post subject: |
|
|
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 |
|
|
jthompson Apprentice
Joined: 24 Apr 2004 Posts: 159 Location: Pompano Beach, FL
|
Posted: Sat Dec 04, 2004 1:42 am Post subject: |
|
|
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 |
|
|
zinion Guru
Joined: 27 Oct 2004 Posts: 541 Location: Ruhgebietshausen
|
Posted: Sat Dec 04, 2004 12:35 pm Post subject: |
|
|
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? _________________ Es ist schön und warm
hier im Gentoo-Land |
|
Back to top |
|
|
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Sat Dec 04, 2004 7:46 pm Post subject: |
|
|
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 |
|
|
|