Evet dediğiniz gibi "-S" parametresi ile görebildim.
Sanırım "top" çıktısı sadece fiziksel CPU ları gösteriyor. "top -S" çıktısı
aşağıdaki şekilde. Linux sunucular ile karıştırıyorum sanırım. Linux
sunucularda top komutunda 00 01 02 şeklinde birden fazla cpu görünmekteydi.

FreeBSD--- "top -S"
last pid: 39273;  load averages:  0.53,  0.35,  0.26    up 0+07:16:40
08:12:08
236 processes: 6 running, 209 sleeping, 1 zombie, 20 waiting
CPU states: 10.6% user,  0.0% nice,  1.2% system,  0.3% interrupt, 87.9%
idle
Mem: 482M Active, 622M Inact, 281M Wired, 1240K Cache, 112M Buf, 1868M Free
Swap: 6144M Total, 6144M Free

  PID USERNAME     THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
   13 root           1 171   52     0K     8K CPU0   0 423:04 94.63% idle:
cpu0
   11 root           1 171   52     0K     8K RUN    2 415:19 93.26% idle:
cpu2
   12 root           1 171   52     0K     8K CPU1   1 415:48 91.70% idle:
cpu1
   10 root           1 171   52     0K     8K RUN    3 350:50 70.56% idle:
cpu3

Linux---"top"
08:31:47  up 40 days, 22:24,  1 user,  load average: 1.00, 1.00, 1.00
51 processes: 49 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total    6.4%    0.0%   45.0%   0.0%     0.0%    0.0%   48.5%
           cpu00    0.9%    0.0%    1.9%   0.0%     0.0%    0.0%   97.0%
           cpu01   11.8%    0.0%   88.1%   0.0%     0.0%    0.0%    0.0%

iyi çalışmalar...

-----Original Message-----
From: Murat Balaban [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2008 11:25 PM
To: Mesut GULNAZ
Subject: Re[4]: [FreeBSD] 4 çekirdekli CPU ve FreeBSD

Merhaba Mesut,

top -S

komutu ile bakar misin? Orada

  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
   11 root        1 171   52     0K    16K RUN    0 121.4H 59.86% idle: cpu0
   10 root        1 171   52     0K    16K RUN    1  36.0H 25.88% idle: cpu1

seklinde idle: kelimesinin karsisinde cpu0, dan cpu7'ye kadar gormen
lazim. Degilse, acpi desteginin aktif olup olmadigini kontrol et.


-- 
Murat,
http://www.enderunix.org/murat/





Tuesday, March 25, 2008, 10:55:37 PM, you wrote:

> SMP ile derledim ve yükledim ancak olmadı. normalde diğer
> sunucularımda bu şekilde yaptığımda SMP çalışmıştı.
>  acaba sorun ne olabilir? WWW iel GENERIC aynı. cp ile kopyalayıp ismini
değiştirmiştim...
>   
>  # uname -i
> WWW-SMP
> # more /usr/src/sys/i386/conf/WWW-SMP
> include WWW
>  ident           WWW-SMP
>  options         SMP                     # Symmetric MultiProcessor Kernel
>   
> # top
>  
> last pid:  2551;  load averages:  0.54,  0.37,  0.17                up
0+00:03:15  22:55:08
> 321 processes: 2 running, 318 sleeping, 1 zombie
> CPU states:  9.6% user,  0.0% nice,  1.7% system,  0.7% interrupt, 88.0%
idle
> Mem: 560M Active, 28M Inact, 115M Wired, 32K Cache, 32M Buf, 2551M Free
> Swap: 6144M Total, 6144M Free
>  

>  
>  26.03.2008 tarihinde Mesut GULNAZ <[EMAIL PROTECTED]> yazmış: 
>  
> SMP ye bakmak hiç aklıma gelmemişti. neden bilmiyorum SMP desteği default
da var diye düşünmüştüm.
>  
> acaba hangi GENERIC dosyasında vardı. neyse konuyu hallediyorum. az
> bir işi kaldı zaten. make install dan sonra reboot ile bitecek.
>  
>  
>  
> sunucum IBM olmasına karşın FreeBSD nin tanımadığı donanımı
> kalmaması çok güzel bir olay. IBM in Linux dünyasına yaptığı
> katkılar sanırım, dolaylı olarak BSD dünyasını da etkiliyor.
>  
>  
>  
> iyi çalışmalar...

>  
>  
>  
> 26.03.2008 tarihinde Ismail YENIGUL <[EMAIL PROTECTED]> yazmış:  
>  
>  
> Merhaba Mesut,
>  

>  
> tabiiki.
>  
> İlle de SMP ile derleneme gerek yok zaten SMP dosyasında sadece
> options SMP yazar. Geri kalan değişkenler GENERIC dosyasından
>  
> alınır.
>  
>  

>  
> Tuesday, March 25, 2008, 9:44:41 PM, you wrote:
>  

>  
>      
>>
>   
> şu şekilde. yani yok. SMP dosyası ile derlemem halinde sorunun
hallolacağını düşünüyorum.
>  
> bu sisteme 4 çekirdek bir CPU daha eklediğimde yine aynı şekilde 8 adet
görülebilir mi? 
>  
>  
>  
> # uname -i
>  
> WWW
>  
> # egrep SMP WWW 
>  
> # egrep SMP *
>  
> NOTES:# SMP OPTIONS:
>  
> NOTES:# The apic device can be used in both UP and SMP kernels, but is
required
>  
> NOTES:# for SMP kernels.  Thus, the apic device is not strictly an SMP
option,
>  
> NOTES:# but it is a prerequisite for SMP.
>  
> NOTES:# Enabling this with an SMP kernel will cause the kernel to be
unusable.
>  
> NOTES:options   I4B_SMP_WORKAROUND
>  
> SMP:# SMP -- Generic kernel configuration file for FreeBSD/i386 SMP
>  
> SMP:# $FreeBSD: src/sys/i386/conf/SMP,v 1.5.6.1 2005/09/18 03:37:58 scottl
Exp $
>  
> SMP:ident               SMP-GENERIC
>  
> SMP:# To make an SMP kernel, the next line is needed
>  
> SMP:options     SMP                     # Symmetric MultiProcessor Kernel
>  
> # 
>  

>  
>  
>  
> 26.03.2008 tarihinde Ismail YENIGUL <[EMAIL PROTECTED]> yazmış: 
>   
> Merhaba Mesut,
>  

>  

>  
> kernel dosyasında options SMP var mı?
>  
> Yoksa tek cpu görürsün.
>  

>  
> kolay gelsin.
>  

>  
> Tuesday, March 25, 2008, 9:02:56 PM, you wrote:
>  

>  
>      
>>
>   
> 4 çekirdekli bir CPU'yu FreeBSD 6.3 kaç CPU olarak görmelidir.
>  
> normalde windows 4 CPU olarak görür. kernel i GENERIC ile derlenip
yüklendi.
>  
> benim bildiğim freebsd 6.2 de quad-core desteği var. ancak inceledim. tam
emin olamadım.
>  
>  
>  
> #egrep CPU dmesg.boot 
>  
> CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2500.02-MHz
686-class CPU)
>  
> cpu0: <ACPI CPU> on acpi0
>  
> #
>  
>  
>  
> last pid: 69961;  load averages: 79.17, 74.86, 60.08                up
4+08:45:01  21:05:01
>  
> 631 processes: 94 running, 515 sleeping, 22 lock
>  
> CPU states: 87.9% user,  0.0% nice,  7.7% system,  4.4% interrupt,  0.0%
idle
>  
> Mem: 1644M Active, 883M Inact, 331M Wired, 139M Cache, 112M Buf, 257M Free
>  
> Swap: 6144M Total, 24K Used, 6144M Free
>  
>  
>  
> iyi çalışmalar...
>  
> -- 
>  
> İyi çalışmalar...
>  
> Mesut GÜLNAZ 
>  

>  

>  

>  

>  
> -- 
>  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  
> + http://www.enderunix.org/ismail  http://www.endersys.com.tr       +
>   
> + EnderUNIX SDT @ Tr               Endersys Consultancy Ltd.        +
>  
> + ismail ~ enderunix.org           ismail.yenigul ~ endersys.com.tr +
>   
> + Volunteer, Core Team Member      Project Manager                  +
>  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  

>  
> TCP/IP ve Ağ güvenliği kitabının 2. baskısı çıktı!
>  
> http://dukkan.acikakademi.com
>  

>  

>  

>  
> -- 
>  
> İyi çalışmalar...
>  
> Mesut GÜLNAZ 
>  

>  

>  

>  

>  
> -- 
>  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  
> + http://www.enderunix.org/ismail  http://www.endersys.com.tr       +
>   
> + EnderUNIX SDT @ Tr               Endersys Consultancy Ltd.        +
>  
> + ismail ~ enderunix.org           ismail.yenigul ~ endersys.com.tr +
>   
> + Volunteer, Core Team Member      Project Manager                  +
>  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  

>  
> TCP/IP ve Ağ güvenliği kitabının 2. baskısı çıktı!
>  
> http://dukkan.acikakademi.com




>  -- 
> İyi çalışmalar...
> Mesut GÜLNAZ 







FreeBSD 6 kitabi: http://www.acikakademi.com/catalog/freebsd6
---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine
bakiniz.

Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey




FreeBSD 6 kitabi: http://www.acikakademi.com/catalog/freebsd6
---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.

Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey


Cevap