Re: cores vs hyperthreads

Jon LaBadie <[email protected]> Thu, 08 Sep 2016 01:14:37 -0400
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Wed, Sep 07, 2016 at 09:08:06PM -0500, Bill Wilson wrote:
> On Wed, 07 Sep 2016 21:41:13 -0400
> Jon LaBadie <[email protected]> wrote:
> 
> > My 6 core processor shows up as 12 CPUs due to
> > Intel's HyperThreading.  Is there a way to tell
> > in gkrellm, which are the hyperthread displays?
> > 
> 
> Gkrellm gets data from /proc/stat and hyperthreaded CPUs aren't
> differentiated there, so you can't tell from inside of gkrellm.  If you
> look at /proc/cpuinfo I think you will find they are paired sequentially.
> That is processor 0 and processor 1 will probably have the same core id and
> so on,
> 
Thanks,
in my case processor 0&6, 1&7, etc are core id paired.

jon
-- 
Jon H. LaBadie                 [email protected]
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)