Koozali.org: home of the SME Server

SME Server with 2 CPUs…???

Offline mgic_box

  • ***
  • 52
  • +0/-0
SME Server with 2 CPUs…???
« on: May 13, 2008, 01:25:11 PM »


Hello everybody.

Good day.

I have recently installed a second CPU on a running SME server.
The second (so I have now 2) CPU is correctly detected on the bios, and I have even installed a version of windows on this machine, and the window detects the 2 cup’s.

On the SME server, when I run htop (nice toll!!!) I only (still) see (only) one (1) CPU. So, I ask, if there is need to run any hardware detection routine, or whatever… to detect and use the second CPU on SME Server?

Thanks in advance.


Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: SME Server with 2 CPUs…???
« Reply #1 on: May 13, 2008, 01:29:37 PM »
You should reboot your server AND while in GRUB screen choose a kernel with SMP in his name (latest version is better) from list.

This way SME will show you two CPUs on htop.

...

Offline byte

  • *
  • 2,183
  • +2/-0
Re: SME Server with 2 CPUs…???
« Reply #2 on: May 13, 2008, 02:03:33 PM »
What CPU's are they ?

Try typing:

cat /proc/cpuinfo

this will tell you more infor :)
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #3 on: May 13, 2008, 06:02:04 PM »
What CPU's are they ?

Try typing:

cat /proc/cpuinfo

this will tell you more infor :)

Code: [Select]


[root@alas ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 7
model name      : Pentium III (Katmai)
stepping        : 3
cpu MHz         : 498.673
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 998.02

[root@alaska ~]#

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME Server with 2 CPUs…???
« Reply #4 on: May 13, 2008, 06:12:46 PM »
Quote
You should reboot your server AND while in GRUB screen choose a kernel with SMP

mgic_box,

Had you completed the above before running Byte's code?

You are still only seeing one and the non SMP version of the kernel will not see (or use) more then that.

Code: [Select]
uname -a
should return something like this:

Linux pifc-mercy 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686 i686 i386 GNU/Linux

« Last Edit: May 13, 2008, 06:14:58 PM by mercyh »

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #5 on: May 14, 2008, 10:55:48 AM »
You should reboot your server AND while in GRUB screen choose a kernel with SMP in his name (latest version is better) from list.

This way SME will show you two CPUs on htop.




  One more reboot, got the falw. options:

  - SME Server (2.69.55.0.6.ELsmp)
  - SME Server (2.69.55.0.6.EL)
  - SME Server (2.69.55.0.2.ELsmp)
  - SME Server-up (2.69.55.0.2.EL)

 Which one should I chose?

 Thanks.

 


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #6 on: May 14, 2008, 11:01:46 AM »
mgic_box

  - SME Server (2.69.55.0.6.ELsmp)

Is the most recent on your list, BUT all of those are older kernels now, so you should upgrade your server and when done select (if not already selected for you)

SME Server (2.6.9-67.0.7.ELsmp)
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline josempinto

  • **
  • 24
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #7 on: May 14, 2008, 11:14:51 AM »
.
« Last Edit: May 14, 2008, 11:17:42 AM by josempinto »

Offline mgic_box

  • ***
  • 52
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #8 on: May 14, 2008, 11:36:35 AM »

mgic_box

  - SME Server (2.69.55.0.6.ELsmp)

Is the most recent on your list, BUT all of those are older kernels now, so you should upgrade your server and when done select (if not already selected for you)

SME Server (2.6.9-67.0.7.ELsmp)





Code: [Select]
login as: root
root@mail's password:
Last login: Wed May 14 10:49:35 2008
[root@alas ~]# uname -a
Linux alas 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4 21:36:00 EDT 2007 i686 i686 i386 GNU/Linux
[root@alas ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 7
model name      : Pentium III (Katmai)
stepping        : 3
cpu MHz         : 498.628
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 998.18

[root@alas ~]# top
top - 11:09:09 up 23 min,  2 users,  load average: 2.27, 2.20, 1.67
Tasks: 186 total,   3 running, 183 sleeping,   0 stopped,   0 zombie
Cpu(s): 76.0% us, 14.3% sy,  0.0% ni,  7.3% id,  2.1% wa,  0.4% hi,  0.0% si
Mem:   1034632k total,   705908k used,   328724k free,    68372k buffers
Swap:  1572856k total,        0k used,  1572856k free,   294068k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4502 spamd     18   0 44560  36m 1948 R 33.8  3.7   1:11.54 spamd
 5645 root      16   0  2760  928  684 R  3.7  0.1   0:00.10 top
 3732 qmailr    15   0  3236  528  436 S  1.5  0.1   0:02.79 qmail-remote
 5369 qmailr    15   0  2472  528  432 S  0.7  0.1   0:01.38 qmail-remote
    1 root      16   0  2176  620  532 S  0.0  0.1   0:01.07 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root       5 -10     0    0    0 S  0.0  0.0   0:00.01 events/0
    5 root       5 -10     0    0    0 S  0.0  0.0   0:00.05 khelper
    6 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
    7 root      25   0     0    0    0 S  0.0  0.0   0:00.00 khubd
   37 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
   38 root      15   0     0    0    0 S  0.0  0.0   0:00.88 pdflush
   39 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
   40 root       9 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
  184 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
  420 root      20   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
[root@alas ~]# htop

  CPU[||||||||||||||||||||||||100.0%]     Tasks: 174 total, 3 running
  Mem[||||||||||||||||||||335/1010MB]     Load average: 2.58 2.28 1.74
  Swp[                      0/1535MB]     Uptime: 00:24:27

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 4502 spamd     25   0 44648 38072  1948 R 43.1  3.7  1:45.64 spamd child
 5408 qpsmtpd   25   0 15788 13840  1736 R 43.1  1.3  1:24.47 /usr/bin/qpsmtpd-f
 5730 root      17   0  3028  1020   832 R  5.0  0.1  0:00.48 htop
 5535 qmailr    15   0  2724   528   436 S  1.2  0.1  0:00.89 qmail-remote csvno
 3708 qmailr    15   0  1832   532   436 S  0.6  0.1  0:02.93 qmail-remote hotma
 3711 qmailr    15   0  2548   528   436 S  0.0  0.1  0:03.27 qmail-remote gmail
 5216 qmailr    15   0  2544   532   436 S  0.0  0.1  0:01.45 qmail-remote hotma
 5369 qmailr    15   0  2472   528   432 S  1.2  0.1  0:01.82 qmail-remote mail.
 5464 qmailr    15   0  2724   532   440 S  0.0  0.1  0:01.11 qmail-remote sapo.
 5534 qmailr    15   0  1976   532   436 S  0.0  0.1  0:00.41 qmail-remote gmail
 3720 qmailr    15   0  2988   528   436 S  0.6  0.1  0:03.07 qmail-remote gmail
 5132 qmailr    15   0  2180   528   436 S  1.2  0.1  0:02.04 qmail-remote gmail
    1 root      16   0  2176   620   532 S  0.0  0.1  0:01.06 init [7]
 1652 root       6 -10  2880   420   352 S  0.0  0.0  0:00.02 udevd
 2295 root      18   0  2788   388   332 S  0.0  0.0  0:00.00 /sbin/mingetty tty
 2340 root      18   0  2756   388   332 S  0.0  0.0  0:00.00 /sbin/mingetty tty
 2341 root      16   0    72    28    12 S  0.0  0.0  0:00.02 runsvdir -P /servi
F1Help  F2Setup F3SearchF4InvertF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit


Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME Server with 2 CPUs…???
« Reply #9 on: May 14, 2008, 03:02:16 PM »
oops, I think it is time for a bug report. You have the correct kernel running now but you still are not using the second processor.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: SME Server with 2 CPUs…???
« Reply #10 on: May 14, 2008, 03:42:32 PM »
mgic_box

When there are major hardware changes in a box, such as adding a second CPU, you should do a install/upgrade from the CD, so the OS correctly detects the hardware and installs correct drivers etc.

You should really upgrade your server, as you are running an old version of sme.

So download a sme 7.3 CD, do a upgrade install from the CD, and then run yum update, to get the latest updates.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME Server with 2 CPUs…???
« Reply #11 on: May 14, 2008, 03:47:03 PM »
mary,

You are right (as usual).

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME Server with 2 CPUs…???
« Reply #12 on: May 14, 2008, 04:32:38 PM »
When there are major hardware changes in a box, such as adding a second CPU, you should do a install/upgrade from the CD, so the OS correctly detects the hardware and installs correct drivers etc.

No, that is not correct for SME server. All drivers are bundled with the kernel rpm, so all systems already have the full complement of provided drivers.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME Server with 2 CPUs…???
« Reply #13 on: May 14, 2008, 04:33:51 PM »
You have the correct kernel running now but you still are not using the second processor.

That is a hardware and/or BIOS issue. There's nothing SME server software can do to fix that.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME Server with 2 CPUs…???
« Reply #14 on: May 14, 2008, 04:55:44 PM »
Quote from Mgic_bx
Quote
The second (so I have now 2) CPU is correctly detected on the bios


CharlieBrady
What about this?