- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the attached graphics files that are shown, the screenshots show that I have seven threads, but I only have four cpu cores as shown in the second graphic screenshot.
My cpu is a four core Xeon, with hyperthreading.I am just unsure as to how that converts four cores to seven threads.
Any help appreciated. Thanks in advance.
Both screenshots are of the same screen, one shows the top of the screen and the other shows the bottom of the screen. They are realy just two views of the same screen.
Newport_j
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your second screen shot shows a report listing
"Logical CPU count 4"
This would indicate HyperThreading is disabled.
Your system can have any number of threads (memory permitting) regardless of the number of "Logical CPUs". Usually the standard proceedure of OpenMP, TBB, CilkPlus, etc... is tocreate a thread pool equal to the number of logical CPU's (available to the Process (application)). Some threading models create additional helper threads (e.g. display output, watchdog, etc...). So you could see additional threads in your report. The helper threads will not run any of your application code and should be easily identified by looking at the routines executed by the thread.
HyperThreading is enabled or disabled with a BIOS setting.
Jim Dempsey
"Logical CPU count 4"
This would indicate HyperThreading is disabled.
Your system can have any number of threads (memory permitting) regardless of the number of "Logical CPUs". Usually the standard proceedure of OpenMP, TBB, CilkPlus, etc... is tocreate a thread pool equal to the number of logical CPU's (available to the Process (application)). Some threading models create additional helper threads (e.g. display output, watchdog, etc...). So you could see additional threads in your report. The helper threads will not run any of your application code and should be easily identified by looking at the routines executed by the thread.
HyperThreading is enabled or disabled with a BIOS setting.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your system has four physical cores and if <strong>HT</strong> is enabled you have 8 logical cores(each physical core has two logical cores each with its own set of gp registers and APIC).Number of OS threads can reach hundreds and only as much as 8 can be scheduled to run on your CPU at any moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...In the attached graphics files that are shown, the screenshots show that I have seven threads...
Sorry, I don't see any screenshots.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page