Dab tsi yog cache loj hauv CPU?
Dab tsi yog cache loj hauv CPU?

Video: Dab tsi yog cache loj hauv CPU?

Video: Dab tsi yog cache loj hauv CPU?
Video: Playful Kiss - Playful Kiss: Full Episode 1 (Official & HD with subtitles) 2024, Cuaj hlis
Anonim

Qhov ntau cache muaj, cov ntaub ntawv ntau yuav bestored ze rau lub CPU . Cache Qib 1 (L1), Qib 2 (L2) thiab Qib 3 (L3): L1 feem ntau yog ib feem ntawm CPU nti nws tus kheej thiab yog ob qho tib si tsawg tshaj plaws thiab ceev tshaj toaccess. Nws qhov loj feem ntau txwv rau ntawm 8 KB thiab 64 KB.

Yog li ntawd, CPU cache zoo rau dab tsi?

Central processing unit cache ( CPU cache ) yog hom cache nco tias lub computer processor siv los nkag tau cov ntaub ntawv thiab cov kev pab cuam sai dua li ntawm lub cim xeeb ntawm lub cim xeeb lossis kev nkag mus rau lub cim xeeb (RAM). Nws tso cai rau khaws cia thiab muab kev nkag mus rau cov kev pabcuam nquag siv thiab cov ntaub ntawv.

Ib tug kuj nug, cache siv rau dab tsi? Nco Caching Ib lub cim xeeb cache , qee zaum hu ua a cache khw los yog RAM cache , yog ib feem ntawm lub cim xeeb ua los ntawm high-speed static RAM (SRAM) es tsis txhob qeeb thiab pheej yig dua RAM (DRAM) siv rau lub cim xeeb loj. Nco caching muaj txiaj ntsig vim tias feem ntau cov kev pab cuam nkag mus rau tib cov ntaub ntawv lossis cov lus qhia ntau dhau.

Tsis tas li cov lus nug yog, CPU cache cuam tshuam li cas rau kev ua haujlwm?

Qhov loj dua cache loj, qhov ceev cov datatransfer thiab qhov zoo dua qhov CPU kev ua haujlwm . Txawm li cas los xij, cache yog kim heev. Yog vim li cas koj tsis pom 1GB ntawm cache hauv koj qhov system. Qhov raug cache qhov loj me yog nruab nrab ntawm 512KB txog 8MB.

Puas yog RAM hauv CPU?

RAM ua haujlwm ua ke nrog lub hauv paus txheej txheem ( CPU ). Yog RAM yog lub sijhawm nco, koj tuaj yeem xav txog qhov CPU raws li lub hlwb ntawm lub computer. Cov CPU chip retrieves cov ntaub ntawv los ntawm lub RAM.

Pom zoo: