Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Re: [SLE] kernel optimization
  • From: Joshua Lee <yid@xxxxxxxxxxxx>
  • Date: Tue, 12 Mar 2002 06:01:04 -0500
  • Message-id: <courier.3C8DE008.00005139@xxxxxxxxxxxx>
On Tuesday 12 March 2002 02:45 am, John Lamb wrote:
The -mcpu=pentiumpro and -march=pentiumpro mean generate code optimised
for a pentium pro and generate code that will only run on pentium pro or
higher (and therefore even more optimised). I don't think there's any
advantage in using both and they may even conflict. For an Athlon, the
flag you want is -march=k6.

Actually, the Athlon is a "K7" device, which likes optimizations more akin to
a Pentium 3 than to a k6 CPU.

If you configure your own kernel with xconfig (and probably menuconfig
too), you get the option of specifying what kind of architecture you
have and the configuration automatically gives you sensible
optimisations. It is unwise to try to do more unless you really know
what you are doing.

Agreed 100%.
Psychiatrists say that one out of four people are mentally ill. Check
three friends. If they're OK, you're it.

< Previous Next >