JF Linux Kernel 2.2 Documentation: /usr/src/linux/Documentation/smp.txt

smp.txt

Linux で SMP を使う方法 [プレインテキスト版]


To set up SMP

Configure the kernel and answer Y to CONFIG_SMP.

SMP を使えるようにするには、カーネルを config し CONFIG_SMP に Y を
設定してください。

If you are using LILO, it is handy to have both SMP and non-SMP
kernel images on hand. Edit /etc/lilo.conf to create an entry
for another kernel image called "linux-smp" or something.

LILO を使っている場合、SMP と 非 SMP のカーネルイメージの両方を置いてお
くと便利です。/etc/lilo.conf を編集して、"linux-smp" のような名前を
つけたもう一つの(訳注:つまり SMP 対応の)カーネルイメージへのエントリー
を作成してください。

The next time you compile the kernel, when running a SMP kernel,
edit linux/Makefile and change "MAKE=make" to "MAKE=make -jN"
(where N = number of CPU + 1, or if you have tons of memory/swap
 you can just use "-j" without a number). Feel free to experiment
with this one.

次にカーネルをコンパイルするときは、SMP カーネルを実行している場合、
linux/Makefile を編集して "MAKE=make" を "MAKE=make -jN"(N は CPU 数 +1
ですが、たくさんのメモリ/スワップがある場合は数字無しの"-j"だけにするこ
ともできます)にしてください。気楽にいきましょう。

Of course you should time how long each build takes :-)
Example:
   make config
   time -v sh -c 'make dep ; make clean install modules modules_install'

もちろんビルドするのにどれぐらいの時間がかかったのかを測定した方が
よいでしょう :-)
例:
   make config
   time -v sh -c 'make dep ; make clean install modules modules_install'

If you are using some Compaq MP compliant machines you will need to set
the operating system in the BIOS settings to "Unixware" - don't ask me
why Compaqs don't work otherwise.

Compaq MP 準拠のマシンを使用している場合、BIOS にある OS の設定を 
"Unixware" にする必要があるでしょう − Compaq のマシンは他の設定だとなぜ
動作しないかを私に聞かないでくださいね。
---------------
日本語訳:早川 仁 (1999/04/13)

Linux カーネル 2.2 付属文書一覧へ戻る