cpu usage - Making sense of cpu info -


i know more number of processors more processes (watching movie, playing game, running firefox youtube playing simpson's episode, simultaneously) can have simultaneously going without computer slowing down. want know how make sense of linux commands cpuinfo , lscpu.

lscpu architecture:          x86_64 cpu op-mode(s):        32-bit, 64-bit byte order:            little endian cpu(s):                8 on-line cpu(s) list:   0-7 thread(s) per core:    2 core(s) per socket:    4 socket(s):             1 numa node(s):          1 vendor id:             genuineintel cpu family:            6 model:                 42 stepping:              7 cpu mhz:               1600.000 bogomips:              6800.18 virtualization:        vt-x l1d cache:             32k l1i cache:             32k l2 cache:              256k l3 cache:              8192k numa node0 cpu(s):     0-7 

and cpuinfo:

=====  processor composition  ===== processor name    : quad-core amd opteron(tm) processor 2354   packages(sockets) : 2 cores             : 8 processors(cpus)  : 8 cores per package : 4 threads per core  : 1  =====  processor identification  ===== processor   thread id.  core id.    package id. 0           0           0           0    1           0           1           0    2           0           2           0    3           0           3           0    4           0           0           1    5           0           1           1    6           0           2           1    7           0           3           1    =====  placement on packages  ===== package id. core id.    processors 0           0,1,2,3     0,1,2,3 1           0,1,2,3     4,5,6,7 

what telling me. dual core me means 2 core per processor. can see 8 cpu(s) listed. difference between thread , cores. can see 2 thread(s) per core. , socket? not google place things explained there plenty of places tell use cpuinfo/lscpu.

what call "core" technically "physical core", aka socket aka package.

a physical core "virtually splitted" logical cores (listed "core(s)" cpuinfo/lscpu.

so system has 2 physical cores, each 1 divided 4 logical cores. sums 8 logical cores.

a similar question on tomshw: http://www.tomshardware.co.uk/answers/id-1850932/difference-physical-core-logical-core.html

hyperthreading: http://en.m.wikipedia.org/wiki/hyper-threading


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -