cpu - Difference between core and processor? -


what difference between core , processor?

i've looked on google, i'm having multi-core , multi-processor definition, doesn't match looking for.

a core basic computation unit of cpu - can run single program context (or multiple ones if supports hardware threads such hyperthreading on intel cpus), maintaining correct program state, registers, , correct execution order, , performing operations through alus. optimization purposes, core can hold on-core caches copies of used memory chunks.

a cpu may have 1 or more cores perform tasks @ given time. these tasks software processes , threads os schedules. note os may have many threads run, cpu can run x such tasks @ given time, x = number cores * number of hardware threads per core. rest have wait os schedule them whether preempting running tasks or other means.

in addition 1 or many cores, cpu include interconnect connects cores outside world, , large "last-level" shared cache. there multiple other key elements required make cpu work, exact locations may differ according design. you'll need memory controller talk memory, i/o controllers (display, pcie, usb, etc..). in past these elements outside cpu, in complementary "chipset", modern design have integrated them cpu.

in addition cpu may have integrated gpu, , pretty else designer wanted keep close performance, power , manufacturing considerations. cpu design trending in what's called system on chip (soc).

this "classic" design, used modern general-purpose devices (client pc, servers, , tablet , smartphones). can find more elaborate designs, in academy, computations not done in basic "core-like" units.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -