Mik*_*e B 0 linux centos linux-kernel centos5
CentOS 5.8 | 虚拟机
我有一台运行强化版 CentOS 5.8 的服务器。我一直在使用一个 CPU,并计划添加另一个(通过 vmware)。
当我运行 uname 时,我看到 SMP 这让我相信系统已经在使用多 CPU 内核:
[root@foobox ~]# uname -a
Linux box.foo.int 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:17:30 EST
2012 i686 i686 i386 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
但是,如果我检查, /boot/grub/grub.conf 我看到:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-308.1.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-308.1.1.el5 ro root=LABEL=/ clocksource=tsc noapic nolapic
initrd /initrd-2.6.18-308.1.1.el5.img
title CentOS (2.6.18-308.1.1.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-308.1.1.el5PAE ro root=LABEL=/ clocksource=tsc noapic nolapic
initrd /initrd-2.6.18-308.1.1.el5PAE.img
title CentOS-base (2.6.18-308.1.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-308.1.1.el5 ro root=LABEL=/ clocksource=tsc noapic nolapic
initrd /initrd-2.6.18-308.1.1.el5.img
Run Code Online (Sandbox Code Playgroud)
我应该在 grub.conf 文件中的某处看到 SMP 吗?这是否意味着服务器正在运行不支持多个 CPU 的内核?
单独的 SMP 内核已成为过去。现在所有这些都是在库存中编译的。在vmware中添加cpu并运行以下命令
cat /proc/cpuinfo
Run Code Online (Sandbox Code Playgroud)
添加后重新启动后,它将列出第二个CPU。
归档时间: |
|
查看次数: |
2644 次 |
最近记录: |