Re: Detecting CPUs and cores
- From: Lew <lew@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 21:20:28 -0400
Daniel Dyer wrote:
What's slightly less helpful is that my Windows PC at work returns 2 from availableProcessors() despite the fact that it is single-core, albeit with Intel's Hyper-Threading.
That's not Window's nor Java's fault. The HT processor is electrically equivalent to two CPUs to the rest of the system. So are multi-core CPUs.
Here's the $64,000 question - what is the value of knowing the number of dies on which the cores reside? A "core" /is/ a CPU as far as any practical use of it goes; same for the two virtual cores seen in a HyperThreaded processor. You program them in every respect as if they were completely separate; the fact that they happen to share some real estate couldn't be less relevant.
A difference that makes no difference is no difference.
--
Lew
.
- Follow-Ups:
- Re: Detecting CPUs and cores
- From: David Gourley
- Re: Detecting CPUs and cores
- From: Eric Sosman
- Re: Detecting CPUs and cores
- References:
- Detecting CPUs and cores
- From: Chris
- Re: Detecting CPUs and cores
- From: Joshua Cranmer
- Re: Detecting CPUs and cores
- From: Daniel Dyer
- Detecting CPUs and cores
- Prev by Date: Re: Problem reading " & apos; " from XML using SAX Parser
- Next by Date: asdfasdf
- Previous by thread: Re: Detecting CPUs and cores
- Next by thread: Re: Detecting CPUs and cores
- Index(es):
Relevant Pages
|
|