cpu,memory info - issues ( newbie)

saravanan ganapathy sarav_gsa at yahoo.com
Mon Jan 24 01:11:30 PST 2005


Hai 

I 've installed freebsd5.3 Rel on my dual processor.
I'm not sure that my OS detected dual cpu. Sysctl &
dmesg output just confused me.

dmesg Output
--------------

#dmesg | grep -i cpu

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz
686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: <ACPI CPU> on acpi0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%),
currently 100.0%

Sysctl Output
--------------

#sysctl -a | grep -i cpu

kern.threads.virtual_cpu: 1
kern.ccpu: 1948
kern.smp.maxcpus: 1
kern.smp.cpus: 1
hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
hw.ncpu: 1
hw.acpi.cpu.throttle_max: 8
hw.acpi.cpu.throttle_state: 8
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0

Memory info also looks different in both as 

dmesg Output
-------------
#dmesg | grep -i memory

real memory  = 2147418112 (2047 MB)
avail memory = 2095939584 (1998 MB)

Sysctl Output
-------------  
#sysctl -a | grep -i memory

Virtual Memory:         (Total: 767K, Active 91556K)
Real Memory:            (Total: 1049000K Active
35396K)
Shared Virtual Memory:  (Total: 6168K Active: 3748K)
Shared Real Memory:     (Total: 5684K Active: 3524K)
Free Memory Pages:      1001152K
hw.cbb.start_memory: 2281701376
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 1


Which one should I follow?

Sarav


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



More information about the freebsd-questions mailing list