[SOLVED] SMP and Hyperthreading on single-core processor x86
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.