土曜日, 2月 16, 2008

Windowsカーネルの変更 ユニプロセッサからマルチプロセッサーへ

[概要]
VMWareなどでCPUをシングルからデュアルに変えた時に、
Windowsから追加したCPUを認識させる方法を説明してます。
[詳細]
Windowsは、シングルCPUで動作している時には、ユニプロセッサー・カーネルで動作しています。
そのため、VMWareなどで、CPUをシングルからデュアルに変更しても、
そのままでは2つ目のCPUが認識されません。

マルチプロセッサー・カーネルへの変更することで、2つ目以降のCPUを認識させます。

  1. コンピュータの管理を開き、デバイスマネージャを選択します。

  2. [コンピュータ]→[APCIユニプロセッサPC]を選択します。


  3. 右クリックで、ドライバの更新を選びます。

  4. [一覧または特定の場所からインストールする]を選び、次へ進みます。


  5. [検索しないでインストールするドライバを選択する]を選び、次へ進みます。


  6. [ACPIマルチプロセッサPC]を選択して、次へ進みます。



あとは画面の指示に従い、ドライバのインストールを進め、
マシンのリブートを行います。


リブート後、タスクマネージャやデバイスマネージャで、
CPUが増えていることを確認してください。




なお、元に戻すには、同様の手順で[APCIユニプロセッサ]を選択してください。

金曜日, 12月 29, 2006

debian 3.1で、タイムゾーンを変更する方法

tzconfigを使い、タイムゾーンを変更します。
わたしの自宅があるアメリカの太平洋時間に、あわせました。
GLANTANK:/etc/apache2# tzconfig
Your current time zone is set to Asia/Tokyo
Do you want to change that? [n]: y ←変更するので"y"とします。
Please enter the number of the geographic area in which you live:


1) Africa 7) Australia

2) America 8) Europe

3) US time zones 9) Indian Ocean

4) Canada time zones 10) Pacific Ocean

5) Asia 11) Use System V style time zones

6) Atlantic Ocean 12) None of the above


Then you will be shown a list of cities which represent the time zone
in which they are located. You should choose a city in your time zone.

Number: 3←アメリカなので、3を選びました。日本なら、Asia 5)を

Alaska Aleutian Arizona Central East-Indiana Eastern Hawaii Indiana-Starke
Michigan Mountain Pacific Samoa

Please enter the name of one of these cities or zones
You just need to type enough letters to resolve ambiguities
Press Enter to view all of them again
Name: [] Pacific←西海岸なので、"Pacific"
Your default time zone is set to 'US/Pacific'.
Local time is now: Thu Dec 28 17:00:00 PST 2006.←正しく設定されたことを確認。
Universal Time is now: Fri Dec 29 01:00:00 UTC 2006.