What is CPU Cache?

Ғылым және технология

CPU cache is among the fastest kinds of memory in your system, but what does it do, and why is it so important?
Thanks to Braintree for supporting our channel. To learn more, and for your first $50,000 in transactions fee-free, go to www.braintreepayments.com/tech...
Follow: / linustech
Join the community: linustechtips.com
License for image used: creativecommons.org/licenses/...

Пікірлер: 1 100

  • @Goabnb94
    @Goabnb948 жыл бұрын

    Imagine memory like a builder with tools. Hard drive is the shop that sells tools. Lots of tools to choose from but a lot slower as he'd have to drive to get them. RAM is like his van. Smaller in size, but a lot faster for him to access and do his work. L3 cache is like his tool belt. Right on him, very small range, but incredibly quick to access, barely slows him down at all. L1 & L2 cache are like the tools in his hand. Even more limited, generally only one tool at a time, but incredibly quick to use as he doesn't need to even grab them, they are stored right there ready for immediate use.

  • @NewLondonMarshall

    @NewLondonMarshall

    5 жыл бұрын

    brilliant dude!

  • @mr.waffentrager4400

    @mr.waffentrager4400

    5 жыл бұрын

    Adolph hitler approves

  • @NewLondonMarshall

    @NewLondonMarshall

    5 жыл бұрын

    Mr. Waffentrager Literally didn’t even notice xD

  • @zurgboy07

    @zurgboy07

    5 жыл бұрын

    This is better than this 4 min video. Thx

  • @mr.waffentrager4400

    @mr.waffentrager4400

    5 жыл бұрын

    HDD is the farthest shop Ssd is nearer And m.2 nvme SSD is the nearest shop

  • @BeastOrGod
    @BeastOrGod8 жыл бұрын

    Woow, Linus hit puberty hard! He is huge!

  • @josiahturner1433

    @josiahturner1433

    8 жыл бұрын

    that's not linus............... AND HES A GROWN MAN what do you mean puberty XD

  • @bowserfromsonic5517

    @bowserfromsonic5517

    7 жыл бұрын

    lel

  • @PcGames88

    @PcGames88

    7 жыл бұрын

    that's what she said

  • @duckseverywhere8119

    @duckseverywhere8119

    7 жыл бұрын

    Solitude *more manly, you mean* ;)

  • @DancingTiger

    @DancingTiger

    6 жыл бұрын

    I don't get it

  • @dapperbrick7516
    @dapperbrick75168 жыл бұрын

    "Cash with an E" So you're talking about Cesh?

  • @mparagames

    @mparagames

    4 жыл бұрын

    No, he means Czech /s

  • @IndellableHatesHandles

    @IndellableHatesHandles

    3 жыл бұрын

    Or Cashe

  • @TheUchihasparky

    @TheUchihasparky

    3 жыл бұрын

    Ke$ha

  • @invictine

    @invictine

    3 жыл бұрын

    or case

  • @stephensnell5707

    @stephensnell5707

    2 ай бұрын

    ​@@mparagamesit is actually spelt Cache

  • @ThePreyBrigade
    @ThePreyBrigade8 жыл бұрын

    "Cache with an 'E'" That is... not the only difference...

  • @at3036

    @at3036

    6 жыл бұрын

    cache with an e and cash with an s, does that mean eash and sash?

  • @benjaminmcintosh857

    @benjaminmcintosh857

    5 жыл бұрын

    Cash with an e and cash with an s are mutually exclusive and only refer to a single word each, not a problem

  • @XorgAdminHappySupport

    @XorgAdminHappySupport

    5 жыл бұрын

    @Arch Linux yeah he should've said with an "h".

  • @FarmYardGaming

    @FarmYardGaming

    4 жыл бұрын

    Cashe

  • @topshicret1962
    @topshicret19628 жыл бұрын

    SRAM in Polish is literally "I'M SHITTING"

  • @TENSE1983videos

    @TENSE1983videos

    5 жыл бұрын

    in my language im shitting is "serem"

  • @SFSAtlas

    @SFSAtlas

    3 жыл бұрын

    No tak

  • @parallaxggyt
    @parallaxggyt8 жыл бұрын

    I'm using a hard drive for my cache it's really fast.

  • @TehIdiotOne

    @TehIdiotOne

    8 жыл бұрын

    I'm using a floppy disk, Works great

  • @dstarr3

    @dstarr3

    8 жыл бұрын

    CD-RW is best cache.

  • @Ccs4646

    @Ccs4646

    8 жыл бұрын

    I use relays and punch cards.

  • @wingracer1614

    @wingracer1614

    8 жыл бұрын

    I just upgraded to punch tape. My old cache was a rope with knots in it.

  • @Ccs4646

    @Ccs4646

    8 жыл бұрын

    ***** I use electrons...

  • @_Zekken
    @_Zekken7 жыл бұрын

    this actually explains so much because I have never had a clue what the CPUs Cache does and how significant it is.

  • @momeningod5402
    @momeningod54027 жыл бұрын

    don't scroll down to the comments its has nothing related to the video subject thank you ... thank me later ;)

  • @AgarFirey

    @AgarFirey

    5 жыл бұрын

    wth you're actually a genius

  • @Jon-nx5ut

    @Jon-nx5ut

    4 жыл бұрын

    Thank (hope I'm not too late)

  • @4CiiD3
    @4CiiD38 жыл бұрын

    Where can i download more cache ?

  • @_ben.

    @_ben.

    8 жыл бұрын

    You gotta have high quality pixels first

  • @tromino2598

    @tromino2598

    8 жыл бұрын

    Can I use high quality rips instead?

  • @skyr8449

    @skyr8449

    8 жыл бұрын

    I'm almost afraid you are serious lol

  • @Fredjoe5

    @Fredjoe5

    8 жыл бұрын

    The process for doing that is very...MESI... :)

  • @alex_ta_8563

    @alex_ta_8563

    8 жыл бұрын

    You can't download cache! You only can download RAM. stupid kid

  • @darianalexander5503
    @darianalexander55038 жыл бұрын

    More cash, more cashe.

  • @darianalexander5503

    @darianalexander5503

    8 жыл бұрын

    +Christopher Tan Well, honestly no. Accidental typo... but let go with that.

  • @jeremyaxel

    @jeremyaxel

    8 жыл бұрын

    +Christopher Tan Let me guess, spelled "spelled" wrong on purpose

  • @aljerbench

    @aljerbench

    8 жыл бұрын

    +Snoop “MLG” Doge It isn't wrong though... He spelt "spelt" correctly. Spelled/spelt are both correct :)

  • @aljerbench

    @aljerbench

    8 жыл бұрын

    +Christopher Tan ahahah yeah :)

  • @MacMcLinn

    @MacMcLinn

    8 жыл бұрын

    lol.....................,......,.....................................,...............

  • @DeadockedlEdiTz
    @DeadockedlEdiTz8 жыл бұрын

    I learned about caching in my CS classes and this was a great simplistic overview of what the cache is/does!

  • @Funnydudderdude
    @Funnydudderdude7 жыл бұрын

    Our ICT teacher showed us this today and i got a bit too excited it was a techquickie video

  • @Narwaro
    @Narwaro8 жыл бұрын

    Registers are also a type of memory and they are even faster! But very small at the same time. (512 byte per core on Intel) As the processor can only process data that are stored in registers (needs to be loaded from RAM to cache and from cache to register), organizing cache hierarchy is one of the most important things apart from the actual processing.

  • @BrownieX001
    @BrownieX0018 жыл бұрын

    I didn't think this would be that accurate. But you covered all the basic points. You guys are really doing your research. I appreciate that.

  • @amj3497
    @amj34974 жыл бұрын

    My lecturer showed this during our lecture and that was the only time I learned something during her lecturer. Thanks Techquickie!

  • @CrispyHulk1
    @CrispyHulk16 жыл бұрын

    Informative, well paced and with interested editing. This is an example of a perfect tech explanation video! Thanks

  • @cdngamereh
    @cdngamereh8 жыл бұрын

    Played @ 1.25 speed after 5 seconds.. "ah there we go, linus' speed"

  • @ordavezajustinperez6253

    @ordavezajustinperez6253

    3 жыл бұрын

    😂

  • @murugesankarthikeyan7821

    @murugesankarthikeyan7821

    3 жыл бұрын

    Thats better.

  • @NamesZKP
    @NamesZKP7 жыл бұрын

    "Even more better"

  • @birddaddydetta

    @birddaddydetta

    6 жыл бұрын

    Even betterer

  • @Sanaasnaly

    @Sanaasnaly

    6 жыл бұрын

    Even superior betterment

  • @RadiusNightly
    @RadiusNightly8 жыл бұрын

    To put it in perspective, more CPU cache means CPU can bite more information from RAM, means more data will be done in same amount of time. Manufactures usually scale CPU caches with a CPU power. For example, cracking ZIP password with brute force attack is usually based on true CPU power, his cores and caches, so... T9400 are Intel mobile CPU for laptops, it got 2.66GHz speed, got 2 cores, L2 cache of 6MB as 24-ways, using 35W. Phenom II X6 1100T are AMD desktop CPU, it got 3.3-3.7GHz, got 6 cores, L3 cache of 6MB as 48 way set, using 125W. So, AMD got like 2 times more GHz, 2 times more transistors, 3 times more cores, additional cache level thats supposed to organize data better and make it faster, and its freaking desktop CPU, but, they both cost same amount of money, both got 6MB of cache, both are 45nm, etc., and tests shows they both have same power, around 27 000 000 passwords per second. So keep in mind that CPU cache is one additionally factor in processing, bigger cache are like bigger mouth, the more you can bite, the more you can process and eat in same amount of time.

  • @zjp735

    @zjp735

    2 жыл бұрын

    Dude your explanation is much better 👍

  • @RadiusNightly

    @RadiusNightly

    2 жыл бұрын

    @@zjp735 Oh, its been 5 years, but thank you. 👍 Also noticed i didnt say that "bite" are referring to cache size bite from the RAM, and "eat" to CPU cores/threads/speed. Means the biggest "cache bite" of a eg. 96MB would be totally useless (energy useless, price useless, speed useless, parts useless) if CPU would processing it with single tooth (like 1 core, single thread, 1Mz), because it would take long before its swallowed. Thats why i think no one should pay attention to cache, specially if its smart shared cache, and it can be used as some kind of a CPU horsepower representation, like how big mouth he got, how much he can bite and process, if he got a big mouth, theres reason why he can eat more, and its set up by engineers who created it. For example 3MB in modern technology can do everything for home/office and even gaming, 6MB can probably do more calculations, bigger bite, less time accessing RAM (RAM is like 20GB/sec speed, while cache are like 20TB/sec, so reading RAM could be considered as "slow down"), if its old, with no new technology, its probably bad for next gen stuff, and if it has 96MB+, thats some kind of a Xeon range that are only needed by servers and ECC RAM or something like that. Also pay attention to "shared", AMD can put big 24MB cache, while at the same price range Intel can have small 6MB, good for ADS, differences are that shared or smart cache actually using single big chip for cache (cheaper) thats divided according to CPU cores (eg. 24MB, 4 cores, means 6MB per core), something like having 4 partitions on single USB drive, it can be bottleneck, its a single drive. While standard cache, eg. 6MB (not smart, not shared) are more expensive then big shared/smart, so if eg. Intel says 4 cores, 6MB cache, it means each core got his own 6MB cache (more expensive, more smaller, less heat per individual cache), means 4x6MB, also 24MB in total for 4 cores, but 4 times the speed (4 drives got more throughput then 1 drive alone), more expensive, and of course "24MB shared" sound better and cheaper then "6MB", or "48MB shared" vs "12MB", thats kind of a ADS to pull buyers who believe in free stuff, "good but cheap", even they know theres no such thing as "bad but expensive" to ask for. But i would not buy CPU watching only cache on its own, as i said, CPU with 6MB are good, but the one with 12MB probably have reasons (like overall performance speed) why its built with that amount of cache, its probably his performance "limit", where having more cache would be useless, and having less would be bottleneck for a given cores.

  • @zjp735

    @zjp735

    2 жыл бұрын

    @@RadiusNightly thanks dude I learn a lot, I been using computer for decades but I never check CPU cache when buying I just check CPU like i5 i7 or i9 the higher the number means better also higher the clock speed the higher computing power.

  • @tonyhuynh11
    @tonyhuynh118 жыл бұрын

    I don't have alot of cache but do you take debit?

  • @jaydenramirez1763

    @jaydenramirez1763

    8 жыл бұрын

    Do you know if he accepts ebt?

  • @microwave1000

    @microwave1000

    4 жыл бұрын

    dad joke

  • @KendrickMegaFan

    @KendrickMegaFan

    4 жыл бұрын

    @cheese stick man Dad jokes best jokes

  • @ubernerd_

    @ubernerd_

    3 жыл бұрын

    you mean "a lot"

  • @tonyhuynh11

    @tonyhuynh11

    3 жыл бұрын

    @@ubernerd_ -.- yes I mean “a lot”

  • @Aaron14LifeZZZ
    @Aaron14LifeZZZ8 жыл бұрын

    Very informative video as always :D

  • @ej_tech
    @ej_tech8 жыл бұрын

    Most computers now have more cache than a 1.44MB floppy. My laptop with a Core i5 has 3MB L3 cache.

  • @rewjik7998

    @rewjik7998

    8 жыл бұрын

    still doesnt make it any better

  • @TheBoyChur

    @TheBoyChur

    8 жыл бұрын

    mine has 30mb >.

  • @panos1b

    @panos1b

    8 жыл бұрын

    i have 24mb of smart cache

  • @mongocom1735

    @mongocom1735

    8 жыл бұрын

    My 2011 dual core i2 has 6mb L2 cache

  • @pcgaming3d

    @pcgaming3d

    8 жыл бұрын

    i2 processors are da best

  • @G8tr1522
    @G8tr15228 жыл бұрын

    omg, 2 minutes in and this is already one of the most informative, accurate, and concise videos I've ever found on this topic.

  • @danielescotece7144
    @danielescotece71448 жыл бұрын

    Computerphile did a really good job explaining this, but you guys made it way cooler!

  • @factsverse9957
    @factsverse99578 жыл бұрын

    HDD

  • @miltonrazon7838

    @miltonrazon7838

    3 жыл бұрын

    what is the large difference between M.2 SSD and SSD in speed?

  • @secondaccount9930

    @secondaccount9930

    3 жыл бұрын

    @@miltonrazon7838 M.2 SSD is vague, it can be the slower SATA 3 standard or the much faster PCIe specification.

  • @batedjupiter

    @batedjupiter

    3 жыл бұрын

    U gotta add register memory (fastest)

  • @dino130395
    @dino1303958 жыл бұрын

    1:40 "I can assure you, MY CACHE IS TREMENDOUS! Believe me, everyone says so" - D.J.T.

  • @Soyerz
    @Soyerz8 жыл бұрын

    Can I please have a job making your hilarious illustrations? They get me every time.

  • @carpediem73
    @carpediem735 жыл бұрын

    Thank you, this is helping me in my studies.

  • @denvera1g1
    @denvera1g18 жыл бұрын

    i've always wondered if it would be possible to make an L4 cache, have it be basically as fast as L3 but outside of the processor, in a small LGA or rPGA socket near the processor, with say 600 pins with the pin density of lga2011, but with this dedicated cache socket you could have an al-gore-rhythm that caches, say 1GB of system ram with a 95+% hit rate

  • @RexinOridle
    @RexinOridle8 жыл бұрын

    Why does Luke look like the Hulk?

  • @VascoBreitenfeld

    @VascoBreitenfeld

    8 жыл бұрын

    try to say that 3 times reaallly fast ;)

  • @XiAwesomeGodziX

    @XiAwesomeGodziX

    8 жыл бұрын

    1. Why does Luke look like the Hulk? 2. Why does Luke look like the Hulk? 3.Why does Luke look like the Hulk? Anything else you want me to do?

  • @nesyou8103

    @nesyou8103

    8 жыл бұрын

    +Victor Parker Gfys

  • @XiAwesomeGodziX

    @XiAwesomeGodziX

    8 жыл бұрын

    +You Nes done. Anything else you want me to do?

  • @nesyou8103

    @nesyou8103

    8 жыл бұрын

    +Victor Parker That's just sad, Bro. It was just a joke...

  • @Julianklzn
    @Julianklzn8 жыл бұрын

    Thanks! I'm learning so much from your channel :)

  • @camilowish
    @camilowish8 жыл бұрын

    Love how they put a picture of oldschool DIMMs instead of DDRs when they mentioned RAM. Hadn't seen those in a long time.

  • @davezrour
    @davezrour8 жыл бұрын

    Make a vid about ram timings

  • @zipper978
    @zipper9787 жыл бұрын

    I hear cache and think CS GO

  • @mami1330

    @mami1330

    4 жыл бұрын

    ...

  • @WonderfulBoness

    @WonderfulBoness

    4 жыл бұрын

    Why

  • @chrisbrummond4832

    @chrisbrummond4832

    3 жыл бұрын

    @@WonderfulBoness It's a map name in CSGO.

  • @WonderfulBoness

    @WonderfulBoness

    3 жыл бұрын

    @@chrisbrummond4832 cool

  • @walidfakhfakh3660

    @walidfakhfakh3660

    3 жыл бұрын

    @@mami1330 letter from Charles de almond butter what did I do to your stronger

  • @saskiavanhoutert3190
    @saskiavanhoutert31906 жыл бұрын

    Very fast and vivid explanation, nice that someone like faster speed in technology, perhaps it increases a better money-stream, THANKS.

  • @QuentonFarnes
    @QuentonFarnes8 жыл бұрын

    what is like to see in a future video is a video on OSVR and how it stacks up against steam VR and occulus.

  • @isee7283
    @isee72837 жыл бұрын

    U WOT M8?

  • @warunadevaka406

    @warunadevaka406

    5 жыл бұрын

    U WOT M8” is a shorthand for “You what, mate?

  • @otdave96
    @otdave968 жыл бұрын

    Nice explanation. You've mixed add a couple concepts there I would like to clear out. First of all, the problem with RAM is not bandwidth but latency. A RAM module can transfer data pretty quickly, but it does spend a fair amount of time since the processor asks for a block of memory until it begins to transfer. That's why cache is essential, it's basically a very low latency memory. Second, most desktop modern processors (and even ARM smartphone processors) have prefetch mechanisms. This is the part you describe as the processor guessing "what will the software need next" (which is an accurate description actually), but you do imply that the algorithms used by prefetch are the culprits of all the cache misses, which is not true. Not everything loaded into the cache is loaded by the prefetch hardware. It's more accurate to think of the cache as more of a "Recently used memory" kind of deal, with prefetch being a nice addition to it (turning into a "Recently used memory + memory we are probably going to use"). Third, by no means the cache (or prefetch) uses "complex algorithms". The whole point of a cache is to be fast, and if it spent too much time thinking what block to get next it would slow down the processor and by the point it had decided what block to load, the processor would already need it. This is why algorithms used in prefetch are very simple (and they work well). Some older processors just prefetched the next block when data was accessed. There are some other more complicated optimizations, of course, but the whole point of them is speed, and simplicity is the key of speed. Sorry for the long comment guys, and nice work Luke!

  • @otdave96

    @otdave96

    8 жыл бұрын

    Short answer: Because the point of it is that RAM is slower than cache memory. Long answer: RAM is slower than cache because- 1 - It's built differently. Cache memory is built purely with transistors which is fast, but expensive. RAM is built with very very small condensers, that take time to "write" and "read", but are cheaper to make, so the technology itself is slower. 2 - You need to re-write it every time you read it, and several times a second. In order to read the bits, you need to discharge the condensers in the memory, which effectively destroys the data each time you read it, so you have to re-write it. If it wasn't enough, they will discharge alone. About 20 times a second. 3 - It's big. RAM's logic is much more complex, as it needs to activate certain memory rows in certain chips only, and connect them to the output, which takes time. The time this process takes is called "Latency", and sometimes it's greater than the time it takes for the data itself to travel to the processor. 4 - It's far away. Yes, in modern processors even the time it takes for the electrons to travel within the chip is significant. The time it would take for the data to travel from the RAM itself to the processor if it had no latency would be greater still than reading cache memory. So the point of cache is to consult RAM as little as possible, because it being slower would mean the processor having to go slower.

  • @otdave96

    @otdave96

    8 жыл бұрын

    ***** answered you but forgot to mention you ;)

  • @CarstenSvendsen
    @CarstenSvendsen8 жыл бұрын

    The editing job on this video is marvelous though.

  • @BudgiePanic
    @BudgiePanic8 жыл бұрын

    I was wondering about this earlier, I get home from school and bam answers right in my sub box

  • @Iraklis735
    @Iraklis7358 жыл бұрын

    puns were bad as always.....10/10 would watch again

  • @raidenx147
    @raidenx1477 жыл бұрын

    Cache is pronounced as Cash? I thought it was pronounced cash-aye.

  • @davidharms7546

    @davidharms7546

    7 жыл бұрын

    Raidenx147 Have you say, I haven't head your version before. I've only heard "cash" and "cay-sh"

  • @2drealms196

    @2drealms196

    7 жыл бұрын

    That is the french pronunciation like 'forte'.

  • @eightyeight3694

    @eightyeight3694

    6 жыл бұрын

    ikr, I need to learn a different language, english is too messed up

  • @ax2bxc

    @ax2bxc

    6 жыл бұрын

    Caché

  • @wlcmtoricefieldsmf

    @wlcmtoricefieldsmf

    3 жыл бұрын

    @@WikiForce Same

  • @WarriorsPhoto
    @WarriorsPhoto8 жыл бұрын

    Good video Luke. Very good description of Cache not Cash.

  • @MrNick0230
    @MrNick02308 жыл бұрын

    Overall a good video. It could have been cool to point out how big of a portion of the total die the cache actually takes up. To me it is cool information that is still accessible to the general public. I understand that you may not necessarily want to talk about paging and how the cpu decides what extra data to grab after a cache miss and so on.

  • @kaleenakelly9448

    @kaleenakelly9448

    2 жыл бұрын

    Will you explain this? I'm taking an online course in computers and its so abstract. CPU itself I'm having trouble understanding it's function... It powers computers on and off and transfers information and memory with electricity? Save me.

  • @totinospizzarolls4737
    @totinospizzarolls47378 жыл бұрын

    Luke is getting quite the belly...

  • @richieh7476

    @richieh7476

    8 жыл бұрын

    He's got the dad bod going

  • @azzoubk6777

    @azzoubk6777

    8 жыл бұрын

    Hahahaha nice

  • @tonyhuynh11

    @tonyhuynh11

    8 жыл бұрын

    Me too

  • @michaelgonzales1365

    @michaelgonzales1365

    8 жыл бұрын

    Hmm, thought he looked skinnier. What the heck are we talkin' about we are men! Leave the vanity to the women brah!

  • @matthewdecker4884

    @matthewdecker4884

    8 жыл бұрын

    I thought he was looking slimmer.

  • @Gamevet
    @Gamevet8 жыл бұрын

    I've wondered for quite some time why my Core2Quad had 12MB of L2 cache, while processors like Sandy Bridge touted their cache being L3? Why was there a sudden exodus from CPUs being heavy on L2 cache?

  • @PranayZVlogs
    @PranayZVlogs5 жыл бұрын

    techquickie has the best comment section!

  • @user-se7wh1wk1j
    @user-se7wh1wk1j7 жыл бұрын

    Cache also helps rendering a lot of youtube videos while multitasking like downloading at the same time.If cache isnt available it will make the game to stop loading to render the youtube video or the opposite.

  • @istvantech
    @istvantech8 жыл бұрын

    We need cache RAM disks (Cache-disks?)! Imagine the possibilities: Slowing down your CPU for having an ultra fast floppy disk XD

  • @cldream

    @cldream

    8 жыл бұрын

    Not big enough to store anything we have nowadays.

  • @rjfaber1991

    @rjfaber1991

    8 жыл бұрын

    +ki2ne - Well, it could be. It would just be prohibitively expensive...

  • @cldream

    @cldream

    8 жыл бұрын

    +Robert Faber That too.

  • @moritzrudolf5370

    @moritzrudolf5370

    8 жыл бұрын

    I had the exact same thought. Clearly this storage would be super fast, but it's only a few MB. You won't be able to store much data.

  • @MrDavibu

    @MrDavibu

    8 жыл бұрын

    That's the whole compromise, you can access data faster, but have less capacity or less safty like in GDDR and HBM. Also the Cache isn't the fastest memory in Computers, it's the Procesor register...

  • @biddera6825
    @biddera68257 жыл бұрын

    casually helping me pass my GCSE whoop whoop

  • @chlbrn
    @chlbrn8 жыл бұрын

    My XEONs have 50MB level 3 cache in total, though they are low at frequency, they still perform good in games and they are a lot better when doing rendering and map baking.

  • @nickdvorchak1534
    @nickdvorchak15348 жыл бұрын

    damn techquickie almost at 1M subs!

  • @Chuckiele
    @Chuckiele7 жыл бұрын

    What about creating a level 4 cache with HBM and abandon DDR4? Wouldnt that be a nice boost?

  • @radomiami

    @radomiami

    6 жыл бұрын

    Yep

  • @youtuberobbedmeofmyname

    @youtuberobbedmeofmyname

    6 жыл бұрын

    Chuckiele genius

  • @inspectorpufferfish4213

    @inspectorpufferfish4213

    6 жыл бұрын

    It's not a question of speed but also a question of latency. Cache memory always has really low latency, hence the incredibly high price of cache memory.

  • @RyutakuZaki
    @RyutakuZaki7 жыл бұрын

    I use an abacus as cache

  • @vaibhavpande5172
    @vaibhavpande51726 жыл бұрын

    Hey bro, I really like that Pocket animation.

  • @timbaleno9269
    @timbaleno92693 жыл бұрын

    Wow, baby Luke. So young, so full of hope.

  • @VerticalGamer
    @VerticalGamer7 жыл бұрын

    I'm out of cache. How do I download more? Will my 5kbit internet be fast enough?

  • @azanali4577

    @azanali4577

    7 жыл бұрын

    i downloaded some cache from 4chan with my 2bit connection you're set

  • @Xenon1825

    @Xenon1825

    7 жыл бұрын

    Sure, but if you find a high quality site, you're gonna want to download faster internet, shouldn't take long though!

  • @srp770
    @srp7704 жыл бұрын

    I was expecting Linus lol

  • @KayuDachi01
    @KayuDachi014 жыл бұрын

    There was an ad before this video and the endorser is linus

  • @NareshEnglishprogramme
    @NareshEnglishprogramme3 жыл бұрын

    excellent job

  • @generichandle7
    @generichandle74 жыл бұрын

    Ram name suggestions: shRam bRam tRam mRam gRam fRam

  • @Vyrkhan

    @Vyrkhan

    3 жыл бұрын

    fRam = Fuck Ram

  • @walidfakhfakh3660

    @walidfakhfakh3660

    3 жыл бұрын

    @@Vyrkhan LA QUARANTAINE ALLEMANDE

  • @sigmaswan2969

    @sigmaswan2969

    3 жыл бұрын

    U missed vram

  • @walidfakhfakh3660

    @walidfakhfakh3660

    3 жыл бұрын

    @@Vyrkhan volume 51

  • @walidfakhfakh3660

    @walidfakhfakh3660

    3 жыл бұрын

    @@sigmaswan2969 ksbbz

  • @AlanTorres-tl4ms
    @AlanTorres-tl4ms7 жыл бұрын

    Teraflops explained as fast as possible?

  • @riufq

    @riufq

    7 жыл бұрын

    Search in google bro

  • @2drealms196

    @2drealms196

    7 жыл бұрын

    How many trillion floating point operations your gpu can processes in one second. Fundamentally 'graphics' are just a bunch of numbers and graphics rendering all comes down to about processing and calculating numbers. The faster you can do it the faster you can render graphics.

  • @7ngaf
    @7ngaf4 жыл бұрын

    Thank you for taking time to explain this although I must say I got nothing

  • @theunbeatableboss4611
    @theunbeatableboss46117 жыл бұрын

    One important factor is that if a programmer wants or needs to they can force the computer by some programming trickery to keep things in cache... this is mostly important in scientific or data intensive tasks

  • @Ryzza5
    @Ryzza58 жыл бұрын

    Cash + e != Cache

  • @mparagames

    @mparagames

    4 жыл бұрын

    LOL really? I have never noticed there was a difference /s

  • @guillermogutierrez-santana4446

    @guillermogutierrez-santana4446

    3 жыл бұрын

    Starmain This guy Reddits.

  • @251IA
    @251IA8 жыл бұрын

    *POP QUIZ* why do general processors have only 3MB L3 cache... why not just chuck 1GB in caches? Then you get Cache hit rate of like 95%?

  • @zap813

    @zap813

    8 жыл бұрын

    Hit rate isn't everything. A really big cache suffers the same problem as system memory. That is, the hit TIME is very slow, so even with a high hit rate, overall it is slow to access. But anyway, large caches aren't needed, as even small caches with a few MBs these days can achieve hit rates of 90%+ due to temporal/spacial locality, prefetching, associativity, and a number of other tricks.

  • @jobjackobrien

    @jobjackobrien

    8 жыл бұрын

    It's expensive and takes up more space per gigabyte. The tiered system was brought in when cpu clock overtook ram clock back in the 80s or something

  • @SniperReady

    @SniperReady

    8 жыл бұрын

    Zap is right, but also the faster SRAM is also much more expensive.

  • @1stLuis

    @1stLuis

    8 жыл бұрын

    L3 is not the fastest. The ideal would be a huge L1 Cache, as it's the fastest Cache (Memory in registers is even faster and can match CPU speed). But as mentioned, L1 is huge (size wise), it costs a lot (money), and it consumes a lot of energy (Hence it generates a lot of heat). in order to relieve some of that, L2 was implemented. Then L3 and L4. So DRAM feeds L3, L3 to L2, and L2 to L1. The lower the level the faster, but with downsides. The higher the level, the higher memory amount. Intel implemented L4 in some GPU's.

  • @anujgupta3397

    @anujgupta3397

    8 жыл бұрын

    logically u can bt will u pay $1 million for ur CPU? bcoz cache memory is very expensive as it requires flip flop circuits which require larger area and has small memory density as compared to capacitors on dram bt on the positive side cache memory is incredibly fast like L1 cache memory operates at the speed of CPU which means it operates around ~50GB/s bt on downside they are expensive

  • @takeshi7
    @takeshi78 жыл бұрын

    I can't believe you talked about cache without covering set associativity, which is very important in cache design. A 4MB all-way set associative cache will be MUCH MUCH better than an 8MB 2-way associative cache.

  • @DecentNecessary
    @DecentNecessary3 жыл бұрын

    While watching this video I got an ad starring Linus about pulseway. Not realizing it was an ad I kept watching. Only to realize it was an ad

  • @blumac9801
    @blumac98016 жыл бұрын

    Ok I always pronounced it as CPU catch instead of cash...

  • @frog382
    @frog3827 жыл бұрын

    i did 771-775 mod and my Xeon x5450 have 12 mb or l2 cache xD

  • @tejeshreddymeka104

    @tejeshreddymeka104

    6 жыл бұрын

    HookerWithAPenis blsbnlagudu

  • @PouyaAtaei
    @PouyaAtaei2 жыл бұрын

    Do not confuse the terms 'memory' and 'storage'. Do not refer to a HD as a 'memory'.

  • @부카
    @부카11 ай бұрын

    Thank you for the great video so does v cache cpu had more latency than non v cache cpu? or it does not matter

  • @Velocifyer
    @Velocifyer5 ай бұрын

    only a few megs of cache lautghts at 96 megs of 7800x3d

  • @crossvadar249
    @crossvadar249 Жыл бұрын

    AHOY from the x3D age.

  • @portman8909

    @portman8909

    7 ай бұрын

    96 megabytes of L3 cache is literally insane man

  • @djfull4442
    @djfull44427 жыл бұрын

    Does cache matter for serious editing and rendering, for example 30+ sampled instruments in Reaper or 10+ tracks in Vegas? Will 8MB be enough or should I go for something like 15-20? Thanks :)

  • @rockguy5784
    @rockguy57846 жыл бұрын

    Man Luke was thin two years back. Oh, the memories.

  • @ebymichale77
    @ebymichale773 жыл бұрын

    Who's Watching this in 2021?

  • @ZAR556
    @ZAR5565 жыл бұрын

    2019 AMD Ryzen 3000 have up to 64mb cache Whole lot than Intel offer

  • @jamesisaac7684

    @jamesisaac7684

    4 жыл бұрын

    But still worse than intel in gaming.

  • @ZAR556

    @ZAR556

    4 жыл бұрын

    @@jamesisaac7684 Aah, nice joke

  • @Nugget11578
    @Nugget115787 жыл бұрын

    thank you for thi videk this chanel and linus tech tips is helping me qiute a bit in desgning my own cpu im designing a quad core 64k cache 64 bit cpu with 1gib of ram and a litel bit more rom( ssd of course) the alu's alone will take up 4 laptops stacked on top of eachother and that is only a very small part of it and it will probobly take up a good chunk of a room thankfully I wont need to cool it extensively so I thank you for your help in making me understand this better

  • @Nugget11578

    @Nugget11578

    7 жыл бұрын

    by the way being the nerd I am im naming it the enterprise mkI and it will do everything that the startrek computers could do (all versions of startek ) I will even have cartridges like in the original series and an os like in next gen.

  • @Nugget11578

    @Nugget11578

    7 жыл бұрын

    by the way being the nerd I am im naming it the enterprise mkI and it will do everything that the startrek computers could do (all versions of startek ) I will even have cartridges like in the original series and an os like in next gen.

  • @yaserhumeid3922
    @yaserhumeid39228 жыл бұрын

    do one explaining benchmarks and how it works and famous apps for benchmarking plz

  • @notNavindu
    @notNavindu8 жыл бұрын

    Explain the new xbox one *S*... I bet u can't

  • @PneumaticFrog

    @PneumaticFrog

    8 жыл бұрын

    you*

  • @AmilaNirmalPerera

    @AmilaNirmalPerera

    7 жыл бұрын

    Navindu Amarakoon 😂

  • @Teth47

    @Teth47

    7 жыл бұрын

    It's a shitty Windows 10 PC with missing features to make up for inadequate hardware. Games have the more computationally expensive graphics settings disabled entirely (AA, most anisotropic filtering), and still choke on games a 1060 has no problem with on a real PC.

  • @elijahnewman4631

    @elijahnewman4631

    6 жыл бұрын

    oof, u right

  • @fundmypcsetup
    @fundmypcsetup Жыл бұрын

    🤖 Here's *me waiting for* the launch of AMD Ryzen 7 *7800X3D* with around *96MB Cache.*

  • @OnlyNeedJuan
    @OnlyNeedJuan8 жыл бұрын

    Man, I wish I had the Cach for a new CPU.

  • @bakmanthetitan
    @bakmanthetitan8 жыл бұрын

    Please do a Workshop episode aboit this!

  • @TheGamingSharieff
    @TheGamingSharieff3 жыл бұрын

    Claim your “here before a million views” ticket here

  • @PunmasterSTP
    @PunmasterSTP Жыл бұрын

    CPU cache? More like “Cool information that’s fresh!” Thanks for sharing.

  • @klasta69
    @klasta698 жыл бұрын

    liked just for the cache pun at the end

  • @sadboigravy
    @sadboigravy8 жыл бұрын

    Luke looked so proud of his pun

  • @Finkelfunk
    @Finkelfunk8 жыл бұрын

    Actually: In order to make any sort of calculation your CPU has to hold a certain set of numbers inside of it called a "register". Since the signals all mutually depend on each other the processor has a build in memory of it's own. Your CPU wouldn't even work without it since it needs to be able to hold the instructions to process the information it's receiving. It's nearly impossible to use a CPU bus for calculations without using these built in memory caches.

  • @frankynakamoto2308
    @frankynakamoto23087 жыл бұрын

    If the CPU has more cache memory inside of it, it could play video games much better, a triple core processor with 20gb of Cache you could save the patch of the game, so the patch of the game can be saved in the cache and it could run 4K without losing frame rates, which is very good idea.

  • @kevinhoober1863
    @kevinhoober18638 жыл бұрын

    I'm noticing a good bit of green on Luke (I've seen it off an on over the past bit)--is this a result of the LED front lighting or bounce off the green screen?

  • @yumri4
    @yumri48 жыл бұрын

    the SRAM is around 32KB of never changing instruction while the the other part of L1 is 32KB per core for very fast cache of data just used stored to be again for the next operation done as L1 is so small it can go almost as fast if not as fast as the cpu physical core L2 is bigger so it takes longer to search and is used for when the data in L1 is finsihed for the first round of loops around L3 is used as a storage place for what the memory controller thinks the cpu core will need next so fetches it from system RAM and stores it inside L3 to be used

  • @boldswede1280
    @boldswede12807 жыл бұрын

    core2 q9550 has 12mb cache. Still a beast 4ghz (clocked) processor even my today's standards.

  • @WaseemOnlines
    @WaseemOnlines4 жыл бұрын

    does it affect the rendering process? like 3D rendering?

  • @Matthewv1998
    @Matthewv19987 жыл бұрын

    Im just realizing this, did they use a ryzen or bristol chip at 0:56 ?

  • @JB-nz7cn
    @JB-nz7cn7 жыл бұрын

    Guy with your feet up! sick shoes Bro!

  • @boggybolt6782
    @boggybolt67828 жыл бұрын

    Damnit, was just about to post here that cpu cash(cache) is the money u spend on a cpu, but u already covered that.

  • @romandzhadan5546
    @romandzhadan55462 жыл бұрын

    thank you!

  • @suryams6016
    @suryams60163 жыл бұрын

    Can we increase level-2 cache (as it is external to the CPU) just like we extend RAM?

  • @regoly
    @regoly8 жыл бұрын

    using the great ide type hard drives for cache ... getting blazing fast speeds and more fps