Dual core processors
lists at webtent.net
Tue Nov 14 23:45:10 UTC 2006
On Tue, 2006-11-14 at 15:04 -0800, Josh Carroll wrote:
> > up in the 'C' column of top after I've rebooted with the newly compiled
> > kernel.
> Run top with the -S argument. You should then see two "idle"
> processes, one for each CPU:
> 11 root 1 171 52 0K 8K CPU0 0 72.1H 91.70% idle: cpu0
> 10 root 1 171 52 0K 8K RUN 1 72.2H 90.97% idle: cpu1
> Can you confirm whether you see that or not? I do not have APIC_IO in
> my kernel either, and it is showing both cores in top (Core 2 Duo
Thanks, yes, I see both cpu0 and cpu1 and cpu1 is 100% idle compared to
cpu0 only 45-50% idle at this time. I did some googling for
hyperthreadin after reading Bill's response and checked sysctl to find
esmtp# sysctl machdep.hlt_logical_cpus
esmtp# sysctl machdep.smp_cpus
sysctl: unknown oid 'machdep.smp_cpus'
esmtp# sysctl machdep.hlt_cpus
Looks like my hyperthreading is enabled and it is in the BIOS. I was
told there was a dual-core in the machine, but not confirmed. But there
should be two with HT anyway as seen, correct?
More information about the freebsd-questions