Re: Debian hyperthreading support



On Sat, 02 Oct 2010 20:42:01 -0500, Mark wrote in message
<4CA7DF69.7040306@xxxxxxxxxx>:

On 10/2/2010 6:08 PM, Nathen wrote:
Pretty simple question really, does Debian i.e. the current Linux
Kernel handle hyperthreading well? I have a server running on an
Intel Atom D510, should I have HT enabled or disabled to get the
best performance?
Thanks. :)




Recently (kernel 2.6.31 or so) there has been a separate kernel
configuration option to optimize for SMT (Intel's word for it is
"hyperthreading"). Separate from SMP (multiple processor). Under
SMT, a single core running two threads looks like two cores to most
of the kernel itself and to user programs. This has been true for a
long time. Only now, there is more support and optimization for it.
If your kernel has it enabled, some workloads won't see any
difference, but some will benefit a lot. I think it is enabled by
default in the most recent stock kernels (please correct me if I'm
wrong.)

Note, you may need to enable hyperthreading in your BIOS, as well.

I would enable it for Core i7 and Atom. P4-era machines could
sometimes have software compatibility issues with it enabled,

..details, please, I'm trying to figure out what I did wrong in
my X|dri|etc setup on my FlightGear P4.

but I think Debian and Atoms are good.

--
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20101024210729.5a6f663d@xxxxxxxxxx



Relevant Pages

  • Freeing unused kernel memory
    ... We have a server running AS 2.1 which stops booting after saying ... The last time the server ran under it's own steam we saw a kernel panic ...
    (RedHat)
  • RE: Freeing unused kernel memory
    ... General Red Hat Linux discussion list ... > We have a server running AS 2.1 which stops booting after ... > kernel panic with a message about an error on cpu1, ... > Linux System Administrator ...
    (RedHat)
  • Re: NFS-mounted, read-only /dev unusable in 2.6
    ... > Which matches the fact the it works with server running 2.6 and ... maintainer - see the file MAINTAINERS in the kernel source. ... I can open devices on that read-only mount just fine. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: 2.6.19-rc6: irq 48: nobody cared
    ... opteron server running 64bit kernel, and the network card gets disabled. ... PCI Interrupt Link enabled at IRQ 19 ...
    (Linux-Kernel)
  • SCSI Probe Problem
    ... I have a server running 4.9-STABLE that I updated to 4.10 so that I could ... Prior to the upgrade, the Promise controller and disks were installed, ... kernel didn't recognize it, hence the reboot. ... the boot sequence hung at the SCSI reset ...
    (freebsd-stable)