Re: SMP detection



Jordi Carrillo wrote:
I've read that SMP should be disabled for performance issues (I did
not know
that before installing freebsd). I have a P4 3GHz with hyperthreading
technology. I have the SMP-GENERIC kernel and it only launches one
cpu. So,
I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a
Smp enabled kernel? or should I install one without smp? If so, is
there a
way to install one already precompiled?
Thanks in advance

I believe that HTT was disabled in FreeBSD per security report
FreeBSD-SA-05:09.htt
(http://security.freebsd.org/advisories/FreeBSD-SA-05:09.htt.asc). If
you want to enable, I believe you can set the loader.conf option
machdep.hlt_logical_cpus to 2.

Having SMP enabled on a uniprocessor box shouldn't give you any
stability problems, but SMP does use a different locking mechanism that
can affect performance. You will probably get slightly better
performance if you run with an SMP-disabled kernel.

--
-- Skylar Thompson (skylar@xxxxxxxxxxxxxx)
-- http://www.cs.earlham.edu/~skylar/


Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: SMP detection
    ... I have the SMP-GENERIC kernel ... I've decided to disable SMP from BIOS. ... way to install one already precompiled? ... cpu and the system monitor only features one ...
    (freebsd-questions)
  • Re: SMP detection
    ... I have the SMP-GENERIC kernel and it ... only launches one cpu. ... I've decided to disable SMP from BIOS. ... way to install one already precompiled? ...
    (freebsd-questions)
  • My wish list for 6.1
    ... working kbdmux. ... SMP kernels for install. ... We should be able to package both a UP and SMP ... kernel into the release bits, ...
    (freebsd-hackers)
  • Re: SMP detection
    ... that before installing freebsd). ... I have the SMP-GENERIC kernel and it ... I've decided to disable SMP from BIOS. ... way to install one already precompiled? ...
    (freebsd-questions)
  • Re: dual processors
    ... You can complete the install and install an smp kernel ... I usually do a standard install and upgrade the kernel afterwards. ...
    (Debian-User)