Cov txheej txheem:

Hom RAM twg siv hauv CPUs cache?
Hom RAM twg siv hauv CPUs cache?

Video: Hom RAM twg siv hauv CPUs cache?

Video: Hom RAM twg siv hauv CPUs cache?
Video: Playful Kiss - Playful Kiss: Full Episode 1 (Official & HD with subtitles) 2024, Kaum ib hlis
Anonim

Lub cim xeeb cache, qee zaum hu ua lub khw cache lossis RAM cache, yog ib feem ntawm lub cim xeeb ua los ntawm kev kub ceev zoo li qub RAM (SRAM) es tsis txhob qeeb thiab pheej yig dua dynamic RAM (DRAM) siv rau. lub ntsiab nco . Nco caching yog qhov zoo vim tias feem ntau cov kev pab cuam nkag mus rau tib cov ntaub ntawv lossis cov lus qhia ntau dhau.

Tib neeg kuj nug, hom cache twg siv hauv CPU?

Ob hom caching feem ntau siv nyob rau hauv tus kheej computers: nco caching thiab disk caching . Ib lub cim xeeb cache (qee zaum hu ua a cache khaws cia, nco tsis tau, lossis 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 dynamic RAM (DRAM).

Ib yam li ntawd, Qib 1 thiab Qib 2 cache yog dab tsi? L1 yog " qib - 1 " cache nco, feem ntau ua rau ntawm microprocessor nti nws tus kheej. L2 (uas yog, qib - 2 ) cache nco yog nyob rau ntawm ib tug nyias nyias (tejzaum nws yog nyob rau hauv ib tug expansion card) uas yuav nkag tau sai tshaj qhov loj "lub ntsiab" nco. Ib tug nrov L2 cache nco loj yog 1,024 kilobytes (ib megabyte).

Kuj paub, dab tsi yog 3 hom cache nco?

Muaj peb hom lossis theem ntawm cache nco,

  • Qib 1 cache.
  • Qib 2 cache.
  • Qib 3 cache.

Qhov txawv ntawm l1 l2 thiab l3 cache yog dab tsi?

L2 cache tuav cov ntaub ntawv uas zoo li yuav nkag tau los ntawm CPU tom ntej. Nyob rau hauv feem ntau niaj hnub CPUs, lub L1 thiab L2 caches muaj nyob rau ntawm CPU cores lawv tus kheej, nrog txhua tus tub ntxhais tau txais nws tus kheej cache . L3 (Qib 3) cache yog qhov loj tshaj plaws cache lub cim xeeb, thiab kuj yog qhov qeeb tshaj plaws. Nws tuaj yeem muaj ntau yam nruab nrab 4MB mus txog 50MB.

Pom zoo: