What is cache memory - Gary explains

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 397

  • @Nathan-mx8zx
    @Nathan-mx8zx 8 лет назад +234

    summary:
    more cache = more cash you'll need

  • @raykewl
    @raykewl 8 лет назад +20

    Gary deserves his own segment on this channel. I know more about mobile technology thanks to his thorough technical explanations. Well done!

  • @Sobat_HAPE
    @Sobat_HAPE 8 лет назад +56

    I fell like a scientist right now. Thanks Gary

  • @shayan_ecksdee
    @shayan_ecksdee 8 лет назад +62

    hey Gary, can you please make a playlist of all your informative videos? Your work is great. I wanna binge watch them

    • @joji3942
      @joji3942 8 лет назад +1

      ikr

    • @ritishmanocha1069
      @ritishmanocha1069 8 лет назад

      Android authority plz do one plus 2 vs one plus x

    • @ritishmanocha1069
      @ritishmanocha1069 8 лет назад

      If any one can tell me which one is better

    • @HarmanSaluja
      @HarmanSaluja 8 лет назад +1

      +Ritish Manocha thats a stupid question of-course one plus 2
      it has more cache......

    • @lukes88
      @lukes88 8 лет назад

      +Ritish Manocha Depends what you need but the Oneplus 2 is better specced.

  • @fuzz33594
    @fuzz33594 8 лет назад +7

    Yet another impressive video. Thanks Gary - you make even the most complex topic understandable.

  • @andrewwithers6627
    @andrewwithers6627 8 лет назад

    have been a huge fan of these "Gary Explains" videos for a while now. Big thanks to you, sir, your videos always explain things precisely and concisely, and provide enough information for me to understand. Keep up the great work!

  • @eyesrajones
    @eyesrajones 8 лет назад +6

    I'm a computer geek who was educated in mechanical engineering, so I really appreciate videos like this. My computer science friends just expect me to know this stuff. Thanks.

  • @edawson031
    @edawson031 8 лет назад

    I don't normally comment on videos, but your videos are awesome Gary. The stuff you address in your videos is really tricky, but your explanations are really clear and easy to understand. Thank you.

  • @seaner6075
    @seaner6075 7 лет назад +2

    Android Authority is so lucky to have Gary

  • @StrikeFreedom1920
    @StrikeFreedom1920 8 лет назад +2

    I love the way Gary explains everything, thanks dude.

  • @TheArKtec
    @TheArKtec 8 лет назад

    @androidauthority I like the the fact the you guys are making videos on different parts of the Android system, it's very informational. Keep it going, it helps everyone learn more about Android.

  • @amanieux
    @amanieux 7 лет назад +3

    von neuman bottlneck is coming from von neuman architecture that put code and data on the same memory bus (as opposed to harvard architecture where you have a separate memory bus for code and data (and often 1 code + 2 data bus because we often deal with 2d data).

  • @Anoops-take
    @Anoops-take 8 лет назад

    Gary you make subscribing to Android Authority worth while. good stuff....

  • @sagarnaidu7480
    @sagarnaidu7480 8 лет назад +59

    Guru Gary, thanks once again.... :)

    • @Video247
      @Video247 8 лет назад

      +SkMakes Everything 😂😂😂😂

  • @ab95778
    @ab95778 4 года назад +1

    This video is a single chapter in my graduation... Thanks Gary

  • @Grizzly_Bear2018
    @Grizzly_Bear2018 7 лет назад +1

    Your videos are outstanding in quality and incredibly informative. Excellent work!

  • @AngelM55
    @AngelM55 8 лет назад

    gary is just awesome! we need a playlist of all his videos

  • @ahmadfaris3794
    @ahmadfaris3794 8 лет назад

    Gary Sims is like Engineering Explained for mobile devices/tech stuff. Amazing stuff. keep it up !

  • @NamesDontMatter1992
    @NamesDontMatter1992 8 лет назад

    I love these kind of videos.... They really broaden one's mindset on how tech actually works. Frankly I didn't know how cache worked before I saw this, so cheers mate! :)

  • @WestYorkshireGREAT
    @WestYorkshireGREAT 8 лет назад

    Gary - back at it again with the explanations

  • @nordinzaidi2286
    @nordinzaidi2286 3 года назад

    I can't believe I just discovered this. Very nice videos Gary!

  • @kendokaaa
    @kendokaaa 8 лет назад +3

    Damn Gary, you're on fire lately

  • @danish__official5374
    @danish__official5374 4 года назад

    Wonderfully explained the fundamentals of cache memory and how it works. Thank you Gary.

  • @nickspirit3
    @nickspirit3 8 лет назад +1

    Keep it up Gary, love your work.

  • @ihuman007
    @ihuman007 7 лет назад +1

    hey Gary.. could you make a video series teaching us Android Development with Java programming. All your videos are easy to understand cause you explain it very well

  • @walidezzaki9842
    @walidezzaki9842 8 лет назад +1

    dude u explain better than my teacher please make more informative videos u'r awesome

  • @AnanthaBharathanKurup
    @AnanthaBharathanKurup 8 лет назад +1

    Thank you. Very interesting... So is my cache cleaner really emptying the above mentioned cache? And am I doing something counterproductive by clearing my cache?

    • @GarySims
      @GarySims 8 лет назад +1

      +Anantha Bharathan Kurup I am talking about cache memory inside a SoC, that is a different type of cache.

  • @mivoe99
    @mivoe99 8 лет назад +2

    You are making great and very informative videos!

  • @johnmatthews2227
    @johnmatthews2227 8 лет назад

    Another fantastic information video! Maybe you should put up more graphics and charts when talking about clock speeds etc?

  • @VasuDev-kg6uq
    @VasuDev-kg6uq 8 лет назад

    Great stuff Gary, again very informative, just one more thing...
    if u could attach some references in the description that would be great..

    • @GarySims
      @GarySims 8 лет назад

      +Vasu Dev :-) Thanks for the feedback, I try to add as many references as I can to the written article that goes with each video.

  • @idkhbu1845
    @idkhbu1845 8 лет назад

    I love his videos!!!! I have learned a lot from this guy. Awesome stuff Gary 👍

  • @siddhantpadave9694
    @siddhantpadave9694 8 лет назад +1

    Thanks Gary ! that actually helped me in one of my subjects in engineering 👍

  • @laurencearnold4
    @laurencearnold4 8 лет назад +1

    Does the Cache memory differs between smartphones with the same chip, or can't manufacturers change it?

  • @anujgupta3397
    @anujgupta3397 8 лет назад +1

    +gary sims
    sir, what is that cache memory that we get in smartphone
    i usually clear 1 gb worth of cache memory everyday on my smartphone
    is it something different?or that memory is stored in ram instead of cache?
    u can find that in settings>storage>cached data

    • @GarySims
      @GarySims 8 лет назад +2

      +ritik gupta Different thing, that is software, I am talking about hardware.

    • @anujgupta3397
      @anujgupta3397 8 лет назад +1

      +Gary Sims
      okk thanks sir
      this video is awesome

  • @status_elitegaming9523
    @status_elitegaming9523 8 лет назад +23

    Is this the same for pc's

    • @GarySims
      @GarySims 8 лет назад +20

      Yes.

    • @status_elitegaming9523
      @status_elitegaming9523 8 лет назад +1

      Thanks

    • @GuerilleroX
      @GuerilleroX 8 лет назад

      Of course Not, it's totally different

    • @Krishna245194
      @Krishna245194 8 лет назад +2

      no ram in pc ram is much faster.

    • @GarySims
      @GarySims 8 лет назад +4

      Krishna Sharma Doesn't matter they still need cache memory, some Xeon processors have like 48MB of L3 etc...

  • @vickisingh2485
    @vickisingh2485 7 лет назад +1

    My question is how you check your Android phone cache memory whether is L1, L2 or L3 as you say...

  • @R21R
    @R21R 8 лет назад +11

    this is legitimately helping me with my GCSE 😂😂

    • @GarySims
      @GarySims 8 лет назад +3

      +R21 Glad I can help! :-)

  • @BenWillock
    @BenWillock 8 лет назад +1

    I wonder if using HBM as an effective "L5 cache" instead of DRAM would make a big difference on CPU performance on android devices?
    It'd certainly save some space.

  • @NipunTj
    @NipunTj 8 лет назад +2

    +Gary Sims What is cached data? Will it cause any problems, if we clear cached data?

    • @jaspreetsinghchahal7052
      @jaspreetsinghchahal7052 8 лет назад +1

      +Nipun Tj i think no, bt instead of slowing it get more
      faster

    • @wanmaziah9835
      @wanmaziah9835 5 лет назад

      Clear cache data ? That the software is really different to hardware...

  • @muttineni03
    @muttineni03 8 лет назад

    great video Gary.....simple question please answer it even ram is limited to 1 or 2 GB in most phones what happens if ram can't manage huge data on it , will it go to hard disk to fetch it again then it affects performance???

  • @KangJangkrik
    @KangJangkrik 2 года назад +1

    Old but gold

  • @inbaralfasi8474
    @inbaralfasi8474 8 лет назад

    Hi! can you please create a "Gary explains" playlist on the channel? these videos are very helpful :)

  • @abhishekjadav2371
    @abhishekjadav2371 7 лет назад

    is there a way to see what data (i-cache or d-cache) resides inside cache, as we have for main memory (Task Manager) to see what process resides in that??

  • @KhaledRasool
    @KhaledRasool 8 лет назад

    All of your videos are 👌
    waiting for another one

  • @mai_kul
    @mai_kul 8 лет назад

    Where did you get the 200mhz figure from? The Galaxy S7 has LPDDR4 RAM @ ~1800mhz, even the Nexus 4 had LPDDR2 RAM @ 533mhz. Bandwidth is plenty of the new SD820 devices, and if I remember correctly, the iPad Pro 12.9's RAM is plenty fast providing 51.2GB/S of data.

    • @Panzer_Z
      @Panzer_Z 8 лет назад

      you're forgetting multipliers which bump up the effective frequency speed but the base frequency is still lower

    • @GarySims
      @GarySims 8 лет назад +2

      +Michael Like +Panzer_Z said, the base frequency is 200MHz, or 266Mz or whatever, then you add the double data rate tech plus other things. I mention in the video that LPDDR4 runs at the *equivalent* of 1.8GHz, but even so you have 4 or 8 cores that want the data at the same time.

    • @mai_kul
      @mai_kul 8 лет назад

      ***** But then you're talking about base frequency and not memory, because the CPU is also connected to the BCLK. This would mean the CPU is also at "200mhz" or whatever the BCLK is at.

    • @GarySims
      @GarySims 8 лет назад +1

      +Michael Yeah, good point! Maybe I oversimplified things in my attempt to explain the bottleneck, which is what I say before I going on to talk about LPDDR3 and LPDD4. I think my exact words are something like "OK, I admit that is a oversimplied view of the problem..." @ around 1:05! Then @ 1:28 I talk about the real data rate of LPDDR3 and then I go on to talk about the effective clock speed of LPDDR4, i.e. 1.8GHz. Then at 1:48 I talk about that multiple cores are trying to access the same memory.

    • @mai_kul
      @mai_kul 8 лет назад

      ***** Nice videos though. I enjoy your in depth explanations of hardware tech.

  • @faizanfirdous
    @faizanfirdous 8 лет назад +2

    What about apple A9 how is it faster in single core performance? Can u explain A9 Vs Snapdragon 820

  • @mhmmmmmmm
    @mhmmmmmmm 7 лет назад

    so by buying a two way cashe would that double the memory in the cashe?

  • @siddharthvisaria1668
    @siddharthvisaria1668 8 лет назад +1

    keep making such videos @androidauthority

  • @NipunTj
    @NipunTj 8 лет назад

    +Gary Sims How to check my system's cache memory any app ?

  • @Philipp..
    @Philipp.. 8 лет назад +6

    I just noticed that the background music is a demo song from music maker jam lol

  • @Superigor117
    @Superigor117 8 лет назад

    Great series of videos. Thumbs up!

  • @erwandjomo
    @erwandjomo 8 лет назад +1

    So does this mean that you should be deleting your cache?

  • @Velo1010
    @Velo1010 4 года назад

    To address the issue with limited cache for cost purposes we are seeing very fast RAM in out computers. Take for example DDR2 RAM. I don’t have numbers to compare but it’s a lot faster than what we have had in the past.

  • @maromorostar6621
    @maromorostar6621 5 лет назад +1

    So cache is good? It will make your phone run faster if not empty cache? I always thought it was good to delete cache and it will make my phone run faster and cleaner. I always hear empty cache from people and software. I'm a bit confused atm. Do I not delete cache or?

  • @yutosi2109
    @yutosi2109 8 лет назад

    does cache days affect the battery mine keeps turning off of not it restarts when the battery is 78 or 80 and it gos straight to 8 sometimes it does not do any of that it just randomly go's to 8 or owed in my battery it is very weird

  • @alexandersundukov3196
    @alexandersundukov3196 5 лет назад +2

    2:30 VNB
    4:15 Cache Hit vs Cache Miss
    5:40 L1 & L2

  • @msmateo7723
    @msmateo7723 8 лет назад

    very good videos Gary! keep up the good work! Simple and informational videos that everyone should know! recommand to everyone!

  • @rabiyarajputrr
    @rabiyarajputrr 8 лет назад +14

    i have this in exam in 2 days lol thanks, this helped

    • @scylla_yt7805
      @scylla_yt7805 4 года назад +1

      How'd it go 🤣

    • @rabiyarajputrr
      @rabiyarajputrr 4 года назад +1

      @@scylla_yt7805 well I i passed the exam and working a job now so I i would say great 😂

  • @Bhatakti_Hawas
    @Bhatakti_Hawas 8 лет назад

    1) Does android mobiles slow down if cache data becomes high?? They nearly occupy 1.8 GB. I clear them from time to time in the storage settings. Since this is a huge amount of cache data (compared to the cache memory in CPU) , are cached data and CPU cache related in anyway??
    2) At 2:45 you say there are several ways around the problem and one of them is cache memory. What are the other methods/ways ??

  • @LuxKadafi
    @LuxKadafi 7 лет назад +1

    so clearing the cache makes the pc/phone slower???

  • @xLynsk
    @xLynsk 8 лет назад

    if I delete my cached data to free up space on my phone, would it delete progress in apps that I play ?

  • @haskolink1560
    @haskolink1560 3 года назад

    But why disabled applications using cache memory even after cleaned 😕

  • @Mohammadeb
    @Mohammadeb 8 лет назад

    well does that mean when I see a CPU written next to it 4M cache that it has a 4MB of cache?

    • @michielappeldoorn3657
      @michielappeldoorn3657 8 лет назад +1

      I think so, it's like the "2G" in some gpu names which stands for 2gb vram

    • @Panzer_Z
      @Panzer_Z 8 лет назад

      +Mohammad Eb typically that is how it works

  • @trusty099
    @trusty099 8 лет назад +2

    How does a CPU know when to store into memory and when into cache? Or onto a hard drive? Now there'e one for ya Gary...

    • @Panzer_Z
      @Panzer_Z 8 лет назад

      +drunkensessions CPU dark magic.... Really though it's all handled within the programming. Super immediate needed for processing work stuff is typically going to be in the cache since it is going to be needed very fast and often. Less immediate, good to have quickly but not ASAP stuff goes into RAM. And longer term storage or RAM overflow goes on the a harddisk.

  • @byegood5319
    @byegood5319 7 лет назад +2

    what if i disable cashe?

  • @frankynakamoto2308
    @frankynakamoto2308 7 лет назад

    What if the ram had one core of CPU and use the same ram as cache for that single CPU single core inside the ram?
    Can Ram memory be used for Cache in the CPU?

  • @TheZamorak95
    @TheZamorak95 8 лет назад

    How many way cache do modern 6th gen intel CPU's have ? one , two or more?
    Also if i increase my RAM memory speed , will it get better as it will be close to the CPU frequency?

  • @andres209432
    @andres209432 8 лет назад +1

    i always thought cache would make your phone slower and glitchy

  • @andreashosemann1319
    @andreashosemann1319 8 лет назад +4

    Gary very interesting and Awesome video

  • @ashishtalyan
    @ashishtalyan 7 лет назад

    Wow you explained things awesomely

  • @AnimeBeefRandoms
    @AnimeBeefRandoms 8 лет назад

    You should make a video on IPC and why just looking at the number of cores and the frequency does not tell you how much the performance is.

    • @niklasbauer9529
      @niklasbauer9529 8 лет назад

      Yes. I know the fact but don't know why it is that way. Pleeeeease Gaaarry explaaain:D

    • @GarySims
      @GarySims 8 лет назад +1

      +AnimeBeefRandoms Yeah, that sounds like a good idea... IPC, branch prediction, pipeline widths, etc, etc. I will add it to my possibles lists! :-)

  • @gashikujtim001
    @gashikujtim001 8 лет назад

    Eehm I delete every time the cached data to free up some space, am I doing smthg wrong or bad with this?
    Please give me a helpful response!

  • @saikishorereddy5739
    @saikishorereddy5739 4 года назад

    Is it good to clear cache data frequently? Does it effect my phone's performance?

  • @Lepri11
    @Lepri11 8 лет назад +1

    So that means I shouldn't be deleting my cache memory anymore?? I thought that it was just a waste and been deleting them ever since... I used to have memory problems back in the day so got in the habit of deleting cache. So Gary/anyone I should just leave my cache now??

    • @wanmaziah9835
      @wanmaziah9835 5 лет назад

      Deleting cache ? Lol that the software he talking about the hardware inside the cache memory...

  • @metalarm8630
    @metalarm8630 7 лет назад

    You sir is always on point. Thanks for explaining

  • @ryanpatel9307
    @ryanpatel9307 8 лет назад

    Hi Gary, why would we clear cache?

  • @stevenore29
    @stevenore29 7 лет назад

    Well explained! Thanks Gary! 👍🏼

  • @hitslabproductions
    @hitslabproductions 8 лет назад

    I like this guy very much. He answers all my questions. But if i see 6mb or 12mb on a chip what level would it be (pc chip maybe Skylake?)? When the developers give this specifications are they talking about first level cache?

    • @GarySims
      @GarySims 8 лет назад

      +DWBB That is generally L3 cache, if you go to a page like this: ark.intel.com/products/88171/Intel-Xeon-Processor-E3-1280-v5-8M-Cache-3_70-GHz then Intel call it "last level of cache."

    • @hitslabproductions
      @hitslabproductions 8 лет назад +1

      +Gary Sims Thank you for letting me know :) keep up the good work!

  • @SwirlystarsJP
    @SwirlystarsJP 8 лет назад

    Explained it very clearly, Thanks Gary! :)

  • @deadlightlabyrinth
    @deadlightlabyrinth 8 лет назад

    Really enjoyed this one. Thanks!

  • @8050026091
    @8050026091 8 лет назад

    Very informative video once again. Thanks so much.

  • @JosephLeBlanc
    @JosephLeBlanc 8 лет назад

    If a cache can only get up to about 32 MB, then how come when I go to the storage manager on my phone it says I have 614 MB of cached data??

  • @hardicjajodia
    @hardicjajodia 8 лет назад +3

    well explained...great video

  • @wanmaziah9835
    @wanmaziah9835 5 лет назад

    Ok Gary next pls do a video about lvl cache for each memory....

  • @RN-jq1oh
    @RN-jq1oh 7 лет назад

    thanks...your vids are very simple and informative

  • @shikhanshu
    @shikhanshu 7 лет назад

    Gary: Please let me explain
    Me: are you kidding me? that's what i am here for! Go!

  • @captainsparkle-fingers2744
    @captainsparkle-fingers2744 8 лет назад

    Another great vid!! 👍👍

  • @RAGINGXBULL2
    @RAGINGXBULL2 8 лет назад +3

    How do i download more cache?

    • @michielappeldoorn3657
      @michielappeldoorn3657 8 лет назад +1

      I don't know if you are a troll, but you can't download better hardware

    • @MistrzBartek125
      @MistrzBartek125 8 лет назад

      Ask ThioJoe

    • @RAGINGXBULL2
      @RAGINGXBULL2 8 лет назад

      +MistrzBartekGames lol

    • @Diabepis
      @Diabepis 8 лет назад

      I want to download more pixels for my display..

    • @wanmaziah9835
      @wanmaziah9835 5 лет назад

      @@Diabepis that the hardware you can't change everything Lol

  • @harigovind5924
    @harigovind5924 8 лет назад

    Hi Gary! I have seen cache memory nearly 400 mb in my Pad! (nvidia tegra K1) How is that possible? I have checked the cache memory through clean master app.

  • @benxlimlikeconsolegaming
    @benxlimlikeconsolegaming 8 лет назад

    Good going Sir Gary!

  • @MrKeano4
    @MrKeano4 8 лет назад

    Brilliantly explained

  • @nitrovenom991
    @nitrovenom991 4 года назад

    Is ram overclocking possible? My ram is 1.7 ghz

  • @pizzel
    @pizzel 8 лет назад

    so when my browser says "clear cache" after i do some research does it actually clear ?

    • @sachinmajotra9665
      @sachinmajotra9665 8 лет назад

      Suppose you opening many sites in Brower.. Like... Google.. Wiki... Xda... Android authority ..... So when you open that website a small part of that website stored in ram cache memory... The advantages are when you will open all these websites 2nd time they will load quicker compared to when you first time open these websites... Cache memory is limited sobit may create many files of website that you may never use on daily basis.. And they take space.... So it's good to clear cache memory in browser to clear all junk files... N temporary files

  • @matetokodi236
    @matetokodi236 8 лет назад

    And what cost a 1TB 16Ghz memory module? I think its not exist yet....but what the cost going to be in the future?

    • @TimBrandtCorstius
      @TimBrandtCorstius 8 лет назад

      Depends how far into the future, 64bit doesnt support 1tb of RAM. The max i've seen is 264GB

  • @alecdelu83
    @alecdelu83 5 лет назад

    Thank you bro!! Im applying for a NASA open position now: CACHE GURU.

  • @creatorsun8222
    @creatorsun8222 8 лет назад

    what would happen if I delete all cache memory on my phone? I use a Blu smartphone, although I don't know what the exact name of model phone is.

    • @creatorsun8222
      @creatorsun8222 8 лет назад

      I meant to say *cache data*. I think memory and data are two different things but I some what think they can have similarities.

  • @not_a_drunk9878
    @not_a_drunk9878 6 лет назад

    Love to see your explanation. btw, i dont have enough knowledge about it though, i want to know more about Intel chipset cash memories which is user cant access at all. waiting for your next explains... Thanking you:)

  • @HassanRadwan133
    @HassanRadwan133 8 лет назад

    Why is it important to clear the cache?

  • @radtech246
    @radtech246 8 лет назад

    Gary videos are awesome

  • @OscarEugine
    @OscarEugine 8 лет назад

    Feeling Different now! thanks Gary