Multi-core Processors: Yuav Ua Li Cas Lawv Ua Haujlwm

Cov txheej txheem:

Multi-core Processors: Yuav Ua Li Cas Lawv Ua Haujlwm
Multi-core Processors: Yuav Ua Li Cas Lawv Ua Haujlwm

Video: Multi-core Processors: Yuav Ua Li Cas Lawv Ua Haujlwm

Video: Multi-core Processors: Yuav Ua Li Cas Lawv Ua Haujlwm
Video: Многоядерные процессоры 2024, Tej zaum
Anonim

Nyob rau hauv cov cuab yeej siv tshiab niaj hnub no, ob lossis ntau qhov kev sib piv xaum nyob ntawm ib qho ntawm silicon siv lead ua. Ntxiv mus, txhua cov tub ntxhais muaj peev xwm txhawb nqa kev xam ntawm ob lossis ntau cov xov. Kev siv ntawm ntau tus txheej txheem tuaj yeem ua kom ceev txoj haujlwm ntawm kev ua haujlwm thiab cov ntawv thov uas txhawb nqa multithreading.

Multi-core processors: yuav ua li cas lawv ua haujlwm
Multi-core processors: yuav ua li cas lawv ua haujlwm

Multi-core processors yog cov txheej txheem tsim nruab nrab uas muaj ntau dua ob lub cores. Cov cores tuaj yeem nyob rau ob qho tib si rau ib pob thiab ntawm ib qho khoom tuag.

Dab tsi yog qhov multi-core processor?

Feem ntau, cov txheej txheem multicore tau to taub raws li central processors nyob rau hauv uas ob peb lub compres cores tau muab tso ua ke rau hauv ib microcircuit (uas yog, lawv nyob rau ntawm ib lub silicon siv lead ua).

Feem ntau, lub moos ceev hauv cov txheej txheem ntau tus txheej txheem yog txhob txwm tshaj tawm tsis txaus ntseeg. Qhov no yog ua tiav nyob rau hauv thiaj li yuav txo hwj chim noj thaum tswj cov yuav tsum tau processor kev ua tau zoo. Nyob rau tib lub sijhawm, txhua tus tub ntxhais yog ib qho ua tiav microprocessor, uas yog tus yam ntxwv ntawm txhua tus txheej txheem niaj hnub - nws siv multilevel cache, txhawb kev tawm ntawm cov kev coj ua thiab cov lus qhia vector.

Dib-xov

Cov co nyob rau hauv cov txheej txheem ntau txheej txheem tuaj yeem txhawb nqa SMT, uas tso cai rau ntau cov xov ntawm kev suav kom raug tua thiab ntau cov txheej txheem cov txheej txheem raws li txhua tus tub ntxhais. Ntawm cov txheej txheem tsim los ntawm Intel, cov cuab yeej technology no hu ua "Hyper-threading". Nws tso cai rau koj los ua tus lej ob lub cav coj los sib piv nrog tus lej ntawm lub cev coj mus kuaj. Hauv microprocessors uas txhawb cov thev naus laus zis no, txhua lub cev ua kom muaj peev xwm tswj tau lub xeev ntawm ob txoj xov ib txhij. Txhawm rau kev ua haujlwm, nws yuav zoo li muaj ob lub cav sib thooj. Yog tias muaj lub sijhawm so hauv kev ua haujlwm ntawm ib tus ntawm lawv (piv txwv li, nws tseem tos cov ntaub ntawv yuav tau txais los ntawm lub cim xeeb), lwm tus neeg ua haujlwm hauv cov roj ntsha pib pib nws cov xov.

Cov khoom siv ntawm cov tub ntxhais sib txuam

Multi-core processors tau muab faib ua ntau hom. Lawv tuaj yeem txhawb lossis siv tsis tau siv lub chaw sib qhia. Kev sib txuas lus ntawm cov xaum yog ua tiav siv cov npav sib koom, sib koom ua kom sib kis, network ua ke nrog hloov chaw, lossis sib koom ua ke.

Lub hauv paus ntsiab lus ntawm kev ua haujlwm

Cov khoom siv niaj hnub no feem ntau ua tiav raws li cov txheej txheem hauv qab no. Yog tias daim ntawv thov uas tau khiav txhawb nqa multithreading, nws tuaj yeem yuam tus processor coj los ua ntau txoj haujlwm tib lub sijhawm. Piv txwv, yog tias lub khoos phis tawm siv 4 lub hauv paus nrog lub moos ceev ntawm 1.8 GHz, qhov kev zov me nyuam muaj peev xwm "thauj" tag nrho plaub lub ntsej muag nrog kev ua haujlwm ib zaug, thaum lub sijhawm tso tawm tag nrho yuav yog 7.2 GHz. Yog tias muaj ntau cov haujlwm khiav ib zaug, lawv ib tus tuaj yeem siv ib feem ntawm cov processor cores, uas tseem ua rau muaj kev nce hauv computer nce.

Ntau lub operating system txhawb multithreading, yog li siv cov txheej txheem multicore tuaj yeem ua kom lub computer ceev txawm tias muaj cov ntawv thov uas tsis txhawb nqa multithreading. Yog tias peb xav txog kev ua haujlwm ntawm tsuas yog ib daim ntawv thov, tom qab ntawd kev siv ntau tus tub ntxhais siv tau tsuas yog yuav tsum tau yog tias daim ntawv thov no tau ua kom zoo rau multithreading. Txwv tsis pub, txoj kev nrawm ntawm cov tub ntxhais sib txuam yuav tsis txawv ntawm qhov ntawm cov tshuab ua kom zoo, thiab qee zaus nws yuav ua haujlwm txawm tias qeeb qeeb dua.

Pom zoo: