Re: SMP detection



Skylar Thompson wrote:
Michal Mertl wrote:
No! Kernel threads (e.g. handling interrupts) aren't that much different
to normal processes.

Logical CPUs on a single HTT capable CPU share most of the CPU logic,
especially all the external stuff (handling interrupts). Scheduling
handling of interrupts on the "secondary/logical" core wouldn't
probably help performance at all (if that is at all possible).


Could you clarify note 20031022 in /usr/src/UPDATING? It states that HTT
CPUs are used for interrupts if they are detected, even if they aren't
used by regular processes. Was this something that just showed up in
pre-6.x releases?


I think it means that if an interrupt would for some reason be signalled
to the unused logical core it wouldn't be lost or something.

Michal

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: CONFIG_IRQBALANCE for AMD64?
    ... balance irqs across CPUs. ... It achieves a high-level long term balance of irqs ... For fine grained balancing of interrupts, ...
    (Linux-Kernel)
  • Re: IRQ handling difference between i386 and x86_64
    ... In my Dell PowerEdge 1950 is it possible to enable interrupts spreading ... Even on dual/quadro core CPUs with shared cache? ... Hardware does automatic balancing in lowest-priority logical delivery mode. ... All balancing must be done in software in flat physical delivery mode. ...
    (Linux-Kernel)
  • Re: Unnecessary warnings in smp_send_stop on i386 arch.
    ... There is a real potential deadlock if you call ... deadlock and will allow bad code to creep back into the kernel. ... where interrupts are disabled. ... If it works for ia64 with 1,024 cpus ...
    (Linux-Kernel)
  • Re: Dual Core Or Dual CPU - Whats the real difference in performance?
    ... way except external interrupts, e.g. I/O ... Chips in which there are two dual core CPUs on the same ... other work rather than spinning its wheels polling. ... interupts are used. ...
    (freebsd-questions)
  • Re: IRQ handling difference between i386 and x86_64
    ... In my Dell PowerEdge 1950 is it possible to enable interrupts spreading ... Yes, I'm aware about this useful tool, but in some situations it cannot help much as it keeps three cpus idle. ... In fact, because of the locking, it will probably scale negatively with the number of CPUs, if your workload is mostly TCP/IP processing. ... If you have multiple NICs and use 802.3ad bonding with layer3+4 hashing, header prediction will work fine, and you don't have to disable irqbalance, because it will do the right thing. ...
    (Linux-Kernel)