Re: Architecture Selection in 2.1.88

Trevor Johnson (trevor@jpj.net)
Wed, 25 Feb 1998 10:16:56 -0800 (PST)


Suggests ketil@infotek.no:

>How about:
>
>Processor family (3-6): ?

Mike Jagdis writes:

> You may be better using "3=386/other" since there used to be several
> early 486 clones around that were best treated as fast 386s.

I've incorporated both your suggestions:

* Processor type and features
*
Processor family (3, 4, 5, 6/?) [5] ?

This information about your CPU is used for optimization. Choosing "3"
here is necessary for the AMD/Intel 386DX/386SX, Cyrix 486DLC/DLC2,
NexGen Nx586 and UMC 486 CPUs. The resulting kernel will also run on
better CPUs, albeit not optimally fast, so it is safest to use "3". For
the AMD/Cyrix/IBM/Intel 486DX/486SX/DX4 or AMD 5x86, choose "4" if you
want the best performance, or "5" for a smaller but slower kernel. For
the AMD K5, Cyrix/IBM 6x86 and Intel Pentium/Pentium MMX, "5" is
recommended. For the AMD K6, Cyrix/IBM 6x86MX or Intel Pentium
II/Pentium Pro, select "6".
If you have a multiple processor machine and want Linux to use all
the processors in parallel, set the SMP variable in the toplevel
kernel Makefile.

Here's the patch (also available at
http://jpj.net/~trevor/linux/m386-v2.diff). This is against 2.1.88.
Further suggestions, corrections and test reports are welcome.

--- linux/arch/i386/config.in Mon Feb 2 15:18:15 1998
+++ linux-2.1.88-local/arch/i386/config.in Wed Feb 25 10:04:23 1998
@@ -12,10 +12,10 @@
mainmenu_option next_comment
comment 'Processor type and features'
choice 'Processor family' \
- "386 CONFIG_M386 \
- 486/Cx486 CONFIG_M486 \
- Pentium/K5/5x86/6x86 CONFIG_M586 \
- PPro/K6/6x86MX CONFIG_M686" Pentium
+ "3 CONFIG_M386 \
+ 4 CONFIG_M486 \
+ 5 CONFIG_M586 \
+ 6/? CONFIG_M686"
bool 'Math emulation' CONFIG_MATH_EMULATION
endmenu

--- linux/Documentation/Configure.help Mon Feb 2 14:51:31 1998
+++ linux-2.1.88-local/Documentation/Configure.help Wed Feb 25 09:52:11 1998
@@ -1136,18 +1136,18 @@

Processor family
CONFIG_M386
- This is the processor type of your CPU. This information is used for
- optimizing purposes. In order to compile a kernel that can run on
- all x86 CPU types (albeit not optimally fast), you can specify
- "386" here. If you specify one of "486" or "Pentium" or "PPro",
- then the kernel will run on all of these CPUs: 486 and Pentium
- (=586) and Pentium Pro (=686). In rare cases, it can make sense to
- specify "Pentium" even if running on a 486: the kernel will be
- smaller but slower.
+ This information about your CPU is used for optimization. Choosing "3"
+ here is necessary for the AMD/Intel 386DX/386SX, Cyrix 486DLC/DLC2,
+ NexGen Nx586 and UMC 486 CPUs. The resulting kernel will also run on
+ better CPUs, albeit not optimally fast, so it is safest to use "3". For
+ the AMD/Cyrix/IBM/Intel 486DX/486SX/DX4 or AMD 5x86, choose "4" if you
+ want the best performance, or "5" for a smaller but slower kernel. For
+ the AMD K5, Cyrix/IBM 6x86 and Intel Pentium/Pentium MMX, "5" is
+ recommended. For the AMD K6, Cyrix/IBM 6x86MX or Intel Pentium
+ II/Pentium Pro, select "6".
If you have a multiple processor machine and want Linux to use all
the processors in parallel, set the SMP variable in the toplevel
kernel Makefile.
- If you don't know what to do, say "386".

Video mode selection support
CONFIG_VIDEO_SELECT
___
Trevor Johnson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu