LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2163|回复: 7

怎样把普通内核换成SMP内核?

[复制链接]
发表于 2008-1-17 17:06:51 | 显示全部楼层 |阅读模式
现在的信息:
uname似乎告诉我安装的是SMP的内核,但grub进入系统的时候只有一个如redhat-release的内核,top命令也只给出一个cpu的信息
irqbalence服务已经启动

问题:

1, 现在装的内核是什么样的?smp or 普通的?

2,如果要把内核换成为smp的,怎么做?

谢谢

=======================================
# cat /etc/redhat-release
CentOS release 5 (Final)

# uname -a
Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux


# top

top - 15:53:07 up 14 min,  2 users,  load average: 0.24, 0.33, 0.24
Tasks: 117 total,   2 running, 114 sleeping,   0 stopped,   1 zombie
Cpu(s):  3.3%us,  4.5%sy,  0.0%ni, 87.6%id,  4.4%wa,  0.2%hi,  0.1%si,  0.0%st
Mem:    775180k total,   526452k used,   248728k free,    80540k buffers
Swap:  1572856k total,        0k used,  1572856k free,   332204k cached
 楼主| 发表于 2008-1-17 17:55:51 | 显示全部楼层
DVD光盘里面没有找到kernel-smp的rpm包
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-17 18:03:34 | 显示全部楼层
make menu configure
发现SMP已经被tick上了 晕了 。。。

  │ │               
  • Symmetric multi-processing support                                                 │ │  
      │ │                    Subarchitecture Type (Generic architecture (Summit, bigsmp, ES7000, default))  --->│ │  
      │ │                    Processor family (Pentium-Pro)  --->                                               │ │  
      │ │               
  • Generic x86 support                                                                │ │  
      │ │               
  • HPET Timer Support                                                                 │ │  
      │ │               
  • Support clock division                                                             │ │  
      │ │                (32) Maximum number of CPUs (2-255)                                                    │ │  
      │ │               
  • SMT (Hyperthreading) scheduler support                                             │ │  
      │ │               
  • Multi-core scheduler support                                                       │ │  
      │ │                    Preemption Model (Voluntary Kernel Preemption (Desktop))  --->                     │ │  
      │ │               
  • Preempt The Big Kernel Lock                                                        │ │  
      │ │               
  • Machine Check Exception                                                            │ │  
      │ │                < >   Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4                 
      │ │               
  •    check for P4 thermal throttling interrupt.                                       │ │  
      │ │                <M> Toshiba Laptop support                                                             │ │  
      │ │                <M> Dell laptop support                                                                │ │  
      │ │                [ ] Enable X86 board specific fixups for reboot                                        │ │  
      │ │                <M> /dev/cpu/microcode - Intel IA32 CPU microcode support                              │ │  
      │ │                <M> /dev/cpu/*/msr - Model-specific register support                                   │ │  
      │ │                <M> /dev/cpu/*/cpuid - CPU information support                                         │ │  
      │ │                    Firmware Drivers  --->                                                             │ │  
      │ │                    High Memory Support (4GB)  --->                                                    │ │  
      │ │                    Memory model (Flat Memory)  --->                                                   │ │  
      │ │               
  • 64 bit Memory and IO resources (EXPERIMENTAL)                                      │ │  
      │ │               
  • Allocate 3rd-level pagetables from highmem
  • 回复 支持 反对

    使用道具 举报

    发表于 2008-1-17 18:19:39 | 显示全部楼层
    top,然后按下1 看看,
    用的什么U啊?
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2008-1-17 18:23:45 | 显示全部楼层
    t2250


    tiezi taiduan
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2008-1-17 18:27:11 | 显示全部楼层
    Post by maitr;1808313
    top,然后按下1 看看,
    用的什么U啊?


    原来如此 谢谢了
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2008-1-18 11:10:46 | 显示全部楼层
    嗯 嗯 好像安装的时候 自动支持双核或多cpu
    我在一个p4的机器上装centos5 menu config也是一样
    但是top 1的话 只有一个cpu信息
    回复 支持 反对

    使用道具 举报

    发表于 2008-1-19 13:25:42 | 显示全部楼层
    我的印象中,从 2.6.x 内核起,就不再区分 smp/single 内核了。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表