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!
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.
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.
@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.
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).
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! :)
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
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?
+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
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.
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???
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??
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.
+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.
***** 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.
+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.
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.
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?
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
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 ??
+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.
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?
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?
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??
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?
+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."
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.
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
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:)
summary:
more cache = more cash you'll need
haha
😓🔫
+Nathan Poignonnec -_-
+Nathan Poignonnec I'll use debit card.
+Nathan Poignonnec lol
Gary deserves his own segment on this channel. I know more about mobile technology thanks to his thorough technical explanations. Well done!
I fell like a scientist right now. Thanks Gary
same here....
same with me
"Fell" lol
@@xionnesanluis9649 like a scientist would
misi ngab masih ada kah
hey Gary, can you please make a playlist of all your informative videos? Your work is great. I wanna binge watch them
ikr
Android authority plz do one plus 2 vs one plus x
If any one can tell me which one is better
+Ritish Manocha thats a stupid question of-course one plus 2
it has more cache......
+Ritish Manocha Depends what you need but the Oneplus 2 is better specced.
Yet another impressive video. Thanks Gary - you make even the most complex topic understandable.
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!
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.
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.
Android Authority is so lucky to have Gary
I love the way Gary explains everything, thanks dude.
@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.
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).
Gary you make subscribing to Android Authority worth while. good stuff....
Guru Gary, thanks once again.... :)
+SkMakes Everything 😂😂😂😂
This video is a single chapter in my graduation... Thanks Gary
Your videos are outstanding in quality and incredibly informative. Excellent work!
gary is just awesome! we need a playlist of all his videos
Gary Sims is like Engineering Explained for mobile devices/tech stuff. Amazing stuff. keep it up !
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! :)
Gary - back at it again with the explanations
I can't believe I just discovered this. Very nice videos Gary!
Damn Gary, you're on fire lately
Wonderfully explained the fundamentals of cache memory and how it works. Thank you Gary.
Keep it up Gary, love your work.
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
dude u explain better than my teacher please make more informative videos u'r awesome
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?
+Anantha Bharathan Kurup I am talking about cache memory inside a SoC, that is a different type of cache.
You are making great and very informative videos!
Another fantastic information video! Maybe you should put up more graphics and charts when talking about clock speeds etc?
Great stuff Gary, again very informative, just one more thing...
if u could attach some references in the description that would be great..
+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.
I love his videos!!!! I have learned a lot from this guy. Awesome stuff Gary 👍
Thanks Gary ! that actually helped me in one of my subjects in engineering 👍
Does the Cache memory differs between smartphones with the same chip, or can't manufacturers change it?
+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
+ritik gupta Different thing, that is software, I am talking about hardware.
+Gary Sims
okk thanks sir
this video is awesome
Is this the same for pc's
Yes.
Thanks
Of course Not, it's totally different
no ram in pc ram is much faster.
Krishna Sharma Doesn't matter they still need cache memory, some Xeon processors have like 48MB of L3 etc...
My question is how you check your Android phone cache memory whether is L1, L2 or L3 as you say...
this is legitimately helping me with my GCSE 😂😂
+R21 Glad I can help! :-)
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.
+Gary Sims What is cached data? Will it cause any problems, if we clear cached data?
+Nipun Tj i think no, bt instead of slowing it get more
faster
Clear cache data ? That the software is really different to hardware...
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???
Old but gold
Hi! can you please create a "Gary explains" playlist on the channel? these videos are very helpful :)
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??
All of your videos are 👌
waiting for another one
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.
you're forgetting multipliers which bump up the effective frequency speed but the base frequency is still lower
+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.
***** 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.
+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.
***** Nice videos though. I enjoy your in depth explanations of hardware tech.
What about apple A9 how is it faster in single core performance? Can u explain A9 Vs Snapdragon 820
so by buying a two way cashe would that double the memory in the cashe?
keep making such videos @androidauthority
+Gary Sims How to check my system's cache memory any app ?
I just noticed that the background music is a demo song from music maker jam lol
Great series of videos. Thumbs up!
So does this mean that you should be deleting your cache?
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.
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?
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
2:30 VNB
4:15 Cache Hit vs Cache Miss
5:40 L1 & L2
very good videos Gary! keep up the good work! Simple and informational videos that everyone should know! recommand to everyone!
i have this in exam in 2 days lol thanks, this helped
How'd it go 🤣
@@scylla_yt7805 well I i passed the exam and working a job now so I i would say great 😂
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 ??
so clearing the cache makes the pc/phone slower???
if I delete my cached data to free up space on my phone, would it delete progress in apps that I play ?
But why disabled applications using cache memory even after cleaned 😕
well does that mean when I see a CPU written next to it 4M cache that it has a 4MB of cache?
I think so, it's like the "2G" in some gpu names which stands for 2gb vram
+Mohammad Eb typically that is how it works
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...
+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.
what if i disable cashe?
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?
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?
i always thought cache would make your phone slower and glitchy
Gary very interesting and Awesome video
Wow you explained things awesomely
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.
Yes. I know the fact but don't know why it is that way. Pleeeeease Gaaarry explaaain:D
+AnimeBeefRandoms Yeah, that sounds like a good idea... IPC, branch prediction, pipeline widths, etc, etc. I will add it to my possibles lists! :-)
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!
Is it good to clear cache data frequently? Does it effect my phone's performance?
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??
Deleting cache ? Lol that the software he talking about the hardware inside the cache memory...
You sir is always on point. Thanks for explaining
Hi Gary, why would we clear cache?
Well explained! Thanks Gary! 👍🏼
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?
+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."
+Gary Sims Thank you for letting me know :) keep up the good work!
Explained it very clearly, Thanks Gary! :)
Really enjoyed this one. Thanks!
Very informative video once again. Thanks so much.
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??
well explained...great video
Ok Gary next pls do a video about lvl cache for each memory....
thanks...your vids are very simple and informative
Gary: Please let me explain
Me: are you kidding me? that's what i am here for! Go!
Another great vid!! 👍👍
How do i download more cache?
I don't know if you are a troll, but you can't download better hardware
Ask ThioJoe
+MistrzBartekGames lol
I want to download more pixels for my display..
@@Diabepis that the hardware you can't change everything Lol
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.
Good going Sir Gary!
Brilliantly explained
Is ram overclocking possible? My ram is 1.7 ghz
so when my browser says "clear cache" after i do some research does it actually clear ?
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
And what cost a 1TB 16Ghz memory module? I think its not exist yet....but what the cost going to be in the future?
Depends how far into the future, 64bit doesnt support 1tb of RAM. The max i've seen is 264GB
Thank you bro!! Im applying for a NASA open position now: CACHE GURU.
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.
I meant to say *cache data*. I think memory and data are two different things but I some what think they can have similarities.
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:)
Why is it important to clear the cache?
Gary videos are awesome
Feeling Different now! thanks Gary