LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   SMP and Hyperthreading on single-core processor x86 (https://www.linuxquestions.org/questions/linux-kernel-70/smp-and-hyperthreading-on-single-core-processor-x86-4175608811/)

adolfoe 07-18-2017 06:43 PM

Hello, I would like to thanks everyone for your input on this thread, it was quite enlightening

Laserbeak 07-18-2017 08:08 PM

Quote:

Originally Posted by Laserbeak (Post 5728718)
As an Apple guy all my life, I'm fairly new to Intel, but as I understand it there are some things hyperthreading can do in parallel and some things it can't. I'm not sure off the top of my head what is what. But I have a MacBook Pro with a single Core i7 processor that shows up as having 8 processors but I think it's not any faster than my older Mac Pro that has two real Xeon processors with two non-hyperthreading cores each and shows up as four processors.

Actually, I was mistaken. The two Xeon processors have four real cores each so the machine does have 8 cores.

Code:

root@sunshine:~/Downloads/llvm-4.0.1.src# psrinfo -v
Status of virtual processor 0 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:30.
  The i386 processor operates at 2793 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 2 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 3 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 4 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 5 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 6 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 7 as of: 07/18/2017 21:07:40
  on-line since 07/15/2017 22:45:33.
  The i386 processor operates at 2800 MHz,
        and has an i387 compatible floating point processor.



All times are GMT -5. The time now is 10:56 AM.