Re: AMD XP compatibility??
From: Måns Rullgård (mru_at_kth.se)
Date: Sat, 05 Jun 2004 17:45:17 +0200
email@example.com (Rod Smith) writes:
> In article <firstname.lastname@example.org>,
> email@example.com (Del) writes:
>> I had RedHat on my old machine and I want to put it on my new AMD
>> Athalon XP 2500 but I can't find an AMD solution that is 32 bit. All
>> I can find is the new 64 bit ones.
> AMD's 32-bit Athlon chips (note the spelling -- there's only one "a"),
> including the Athlon XP, are x86 architecture; they run most programs and
> OSs designed for any 32-bit x86 CPU, including Windows and most x86
> versions of Linux. In particular, Red Hat runs just fine on these CPUs.
> That said, you *CAN* use CPU-specific features when you compile programs.
> Depending on the precise compiler options you use and which CPUs are
> under discussion, moving a binary from one system to another might not
> work. For instance, if you recompiled your kernel with Pentium 4
> optimizations, I can't guarantee that it'd boot on your Athlon. (Of
> course, non-CPU hardware differences, such as the hard disk controller,
> will also cause problems with that.) If you use the stock binaries,
> including the stock kernel, provided by Red Hat, though, you should be
> able to swap disks and be fine, or re-install the OS from the original
I've moved a disk with a Gentoo installation optimized for P3 between
a P3 and an AMD Duron machine without any problems. Of course, I
compiled the kernel with appropriate hardware support in advance.
> If you want to fully optimize your software for your hardware, you might
> want to look into Gentoo Linux (http://www.gentoo.org). It lets you set
> compiler options and recompile everything so that it makes the best use of
> the hardware. At least, that's the theory -- how much of an improvement in
> performance it'll make is uncertain, at least in my mind. I suspect the
> difference is pretty small, though.
Most distribution ship binaries that will run on a 486, but are often
scheduled for P2 or P3. I have seen optimization for P4 make programs
up to twice as fast in certain cases, when compared to gcc defaults.
-- Måns Rullgård firstname.lastname@example.org