Hello,
Scriu si eu cam cu aceeasi nelamurire.
foghorn#uname -a
FreeBSD foghorn.********* 5.4-RELEASE FreeBSD
Kernel:
GENERIC
+
options SMP # Symmetric MultiProcessor Kernel
foghorn# dmesg | grep -i cpu
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf41 Stepping = 1
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 534708224 (509 MB)
avail memory = 513576960 (489 MB)
ACPI APIC Table: <PTLTD APIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
SMP: AP CPU #1 Launched!
foghorn# sysctl -a | grep -i mach
hw.machine: i386
hw.machine_arch: i386
machdep.adjkerntz: -7200
machdep.disable_rtc_set: 0
machdep.wall_cmos_clock: 1
machdep.conrclk: 1843200
machdep.gdbspeed: 9600
machdep.conspeed: 9600
machdep.enable_panic_key: 0
machdep.disable_mtrrs: 0
machdep.cpu_idle_hlt: 1
machdep.guessed_bootdev: 2686451712
machdep.hlt_cpus: 0
machdep.panic_on_nmi: 1
machdep.tsc_freq: 2992518630
machdep.i8254_freq: 1193182
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1009504
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 2
foghorn# sysctl -a | grep hyper
foghorn#
What's going on? Unde e?
El pare ca foloseste ambele procesoare logice:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 11 99.0 0.0 0 8 ?? RL 2Feb06 14600:27.52 [idle: cpu1]
root 12 99.0 0.0 0 8 ?? RL 2Feb06 14618:40.02 [idle: cpu0]
La un `openssl speed` incepe sa rontaie doar din cpu1 (cam 99%, nu-l
incepe deloc pe CPU1). Daca ii mai dau ceva de facut incepe sa
rontaie si din cpu0. E un comportament normal?
--Adrian.
________________________________________________________
To unsubscribe send a mail to [EMAIL PROTECTED]