Zram? - Redmi K20 / Xiaomi Mi 9T Questions & Answers

On a device with 6G of RAM, is there really a need to have 2.5G Zram? With a 100 swappiness on top of that...
Pros? Cons?

kevp75 said:
On a device with 6G of RAM, is there really a need to have 2.5G Zram? With a 100 swappiness on top of that...
Pros? Cons?
Click to expand...
Click to collapse
to note, i have since shrunk it to 512MB, with a sswappiness of 10, and if anything my phone runs faster...

I'd say that RAM, as in physical memory, will always be faster than ZRAM, which is compressed in RAM. 6 GB is probably enough for normale and high multitasking usage. In the rare event you'll reach the limit yes, ZRAM will spare you some app being force killed.

Related

Quick question about Android RAM...

I saw that the Nexus has 512 megs of ram which on plenty to run apps. I like the X10 overall better for the 8mpx camera, but it has only 256 for ram. Is this gonna be an issues for the x10? My friend who has a Magic said that there is a way to increase the ram by doing virtua memory on the SD card...You think it will work well on the X10 1gb internal storage? How well does the apps run on SD card?
SW Swap is realllllllllllly slow compared to realy memory. I think 256mb will be plenty for running apps.
kam187 said:
SW Swap is realllllllllllly slow compared to realy memory. I think 256mb will be plenty for running apps.
Click to expand...
Click to collapse
But the Hero has 288 and its older than the sony phone.
Legends say the andro OS itself uses up 150~ MB of ram for the Phone in question(Dream,Magic,Hero,Behold,etc)
There is a suggestion that the final hardware revision will actually have increased RAM and it's the prototypes which are still on 256MB. We can only wait and see how accurate this is though
Ram: 256MB
The Acer Liquid only has 256MB Ram and it is very fast - no issues at all.
It all depends on how many services you wanna run at the same time...
I run 25/30 services all the time and have no complains in my hero....though mem avayable is only 30mg....you can always keep killing services with advance task killer.Only 2 clicks in 3 seconds....as easy as that
Android automatically kills idle processes when ram usage shoots up anyway

[Q] 340mb ram instead of 512mb?

My tw taskmanager shows only 340mb ram instead of 512mb, after some research I found that the rest of the ram is used for ramdisk,is that true?
If so,is there a way to use all of 512mb for ram?And does this make Epic inferior to Vibrant,Captivate and Fascinate or better?
All Galaxy S phones have 512 MBs of RAM. And I do believe all are the same. At least the i9000 and the Epic are.
The phone has a physical 512MB of RAM, but I don't believe that the stock kernel currently supports more than 340MB.
thephawx said:
All Galaxy S phones have 512 MBs of RAM. And I do believe all are the same. At least the i9000 and the Epic are.
Click to expand...
Click to collapse
Check your built in taskmanager(by holding home button),it only shows 324mb total ram,so no they not all the same.Yes we do have 512mb but only 324mb(give or take few mb) is used for actual ram,the rest is used as ramdisk(cache).Vibrant and Captivate uses whole 512mb as ram and internal rom(hd) for cache,im not sure about original Galaxy or Fascinate.
Believe me extra ram not being available has huge impact on performance,i owned MT3gs with 512mb ram and 600mhz cpu and it felt just as fast as my Epic if not faster even with Sense.
This could explain big lag im getting with 4-5 apps open,i could have 10 apps open on Mytouch slide with no lag.
lviv73 said:
Check your built in taskmanager(by holding home button),it only shows 324mb total ram,so no they not all the same.Yes we do have 512mb but only 324mb(give or take few mb) is used for actual ram,the rest is used as ramdisk(cache).Vibrant and Captivate uses whole 512mb as ram and internal rom(hd) for cache,im not sure about original Galaxy or Fascinate.
Believe me extra ram not being available has huge impact on performance,i owned MT3gs with 512mb ram and 600mhz cpu and it felt just as fast as my Epic if not faster even with Sense.
This could explain big lag im getting with 4-5 apps open,i could have 10 apps open on Mytouch slide with no lag.
Click to expand...
Click to collapse
There is a reason why. There is no dalvik cache push to sd for our devices yet. If we could get an ext2 or ext3 or ext 4 for our sd cards and move the cache there, it would be a whole new ball game. But it's no availible for us yet
Maybe to balance the phones out because epic has 2 cameras and keyboard
Sent from my iPod touch using Tapatalk
I wonder if other models have same ram or they have full 512mb of usable ram without ramdisk,and does that makes epic faster or slower?
I know my MT3gs was way faster with stock sense 600mhz cpu and 512 ram(without sd cache),sounds like this phone needs that extra 128+ram because extra ram makes more difference than faster cpu,324mb ram I dont think is sufficient for 2.1 to run smoothly.Hope someone comes up with something so we can use whole 512mb as ram and internal rom or sd for cache.
The reason why we have only 320 showing is because samsung moved the cache there to prevent the lag some people here talkming about the galaxy s having.
Sent from my SPH-D700 using Tapatalk
EPIC FAIL ...325 for me :-(
2012 the Evolution of Human Consciousness
supposedly the GPU uses 128mb of the ram
All 5 galaxy s phones have 512mb but the epic and fascinate are limited to the 300 and something because our phones are the only ones that don't have a massive amount of internal sd like the others. We ours uses the more typical smaller amount of rom and the missing ram is used to stop touchwiz from lagging! Why do manufacturers and carriers keep ****ing up android!? Love this device but I can customize it myself just fine without the extra tw layer eating my resources and slowing my upgrade releases!
Sent from my Epic 4G using xda app
We have 512mb rom which can be used for cache,i have all the apps I need installed in /system/app folder and still have 400mb free,how much should be dedicated to android swap 128,256?So there is plenty of room and for those people that have about 100 apps on they phone they need to wait for a2sd.
Still no one has answered if its possible to use whole 512mb for ram,this phone really neads it,most of the time I have 3-4 apps open and about 80mb ram free-thats not good.Epic has fastets rom out of any model,now if we could use it for cache and a2sd for apps,plus whole 512mb as ram,than this thing would fly.128 for swap is a waste,plus I think that this 128mb actualy takes away from GPU's vram.
I agree that we need more RAM. There has to be a way to edit the kernel and get more out of our hardware.

ASUS TF300 the first Android device to TRULY have 1GB of RAM?

I posted this in another thread but thought it was worthy of its own thread.
I've owned a lot of Android devices with 1GB of RAM - Xoom, Galaxy Tab 10.1, Galaxy Note, and the original Transformer. This is the first android device that actually shows 1gb of ram. Every 1gb phone or tablet I've had only lists around 750mb total, and then only about 400 or so free on a fresh boot. The explanation has always been that 1gb is shared ram and that the mixing 250mb or so is for video ram. You can see total and available ram in an app called OSMonitor. Anyway, the tf300 actually shows 1gb total ram, and 750 free on a fresh boot. So that's an extra 250mb of usable ram over other devices.
Thoughts?
The device has more as 1GB RAM (1,2GB maybe)?
Gesendet von meinem Galaxy Nexus mit Tapatalk 2
It's advertised as 1GB of RAM, so either it has more actual RAM (1.2 like you suggest) or it has dedicated video RAM somehow.
It's very possible this is inherent to Tegra3. I do not have any Tegra 3 devices to check. I'm going to ask in the Prime Q&A section.
Obviously either a design flaw or outright false advertisement. You should sue them for giving you more ram than advertised.
goodintentions said:
Obviously either a design flaw or outright false advertisement. You should sue them for giving you more ram than advertised.
Click to expand...
Click to collapse
WTF? I'm not complaining I'm trying to understand it. It's different than every other Android device.
EvoXOhio said:
WTF? I'm not complaining I'm trying to understand it. It's different than every other Android device.
Click to expand...
Click to collapse
Goodintentions is known to be sarcastic you will learn that in time. Most likley it is because tegra 3's gpu has its own dedicated ram so it does not go into the system ram
mrevankyle said:
Goodintentions is known to be sarcastic you will learn that in time. Most likley it is because tegra 3's gpu has its own dedicated ram so it does not go into the system ram
Click to expand...
Click to collapse
That would explain it. do you have a source link to back that up? not finding anything in a google search.
Thanks.
Everything im finding is that it just has the 1gb of ram, but possibly the way it handles it is different and may expand or shrink that video ram depending on what it needs.
http://www.nvidia.com/object/tegra-3-processor.html
just general info
also is DDR3
jblah said:
also is DDR3
Click to expand...
Click to collapse
Yeah DDR3 means it's faster and has more bandwidth, but that wouldn't affect whether the system has dedicated or shared video RAM.
Is it possible that it's just more efficient in the usage of it's 1GB of ram than the previous products? I can't find any mention anywhere of Tegra 3 specifically doing anything or of the TF300 having more secret ram or anything.
That was the first thing that I noticed about this tab, is that the memory management on this tab is awesome. I can be running GTA3, have two or three tabs open in the browser and also be streaming music and the RAM only drops to about 550MB. At idle on a fresh boot, around 750MB free at idle, and If i do a task killer it will jump up to 830MB temporarily. I can only think it's becuase of the Tegra3 CPU. Regardless it's nice to see a tab with so much free RAM.
Scavar said:
Is it possible that it's just more efficient in the usage of it's 1GB of ram than the previous products? I can't find any mention anywhere of Tegra 3 specifically doing anything or of the TF300 having more secret ram or anything.
Click to expand...
Click to collapse
No because we're not talking about FREE RAM here we're taking about TOTAL RAM. either the system has more than 1GB or it's not sharing RAM with the video card.
das7771 said:
At idle on a fresh boot, around 750MB free at idle, and If i do a task killer it will jump up to 830MB temporarily. I can only think it's becuase of the Tegra3 CPU. Regardless it's nice to see a tab with so much free RAM.
Click to expand...
Click to collapse
Huge amounts of free RAM is not something nice to see; it's a pointless waste. I guess that misunderstanding is still pervasive in the "OMG tasks are in RAM MUST KILL THEM" community ...
nightwulf said:
Huge amounts of free RAM is not something nice to see; it's a pointless waste. I guess that misunderstanding is still pervasive in the "OMG tasks are in RAM MUST KILL THEM" community ...
Click to expand...
Click to collapse
Huge amounts of free RAM on a fresh boot is a GREAT thing. It means that the OS is lightweight and not loading tons of bloatware into memory. Now after using the tablet and opening tons of apps the free RAM should go down, if not then yes it is wasting RAM by dumping stuff out of memory.
But besides that the topic at hand is total RAM. more total RAM means more apps can stay in the background which means better multitasking.
They all actually have 1GB of RAM. The difference is simply that some chips separate the video RAM and the system RAM, where others are able to use a shared memory space and dynamically allocate RAM to video as necessary.
Most likely, devices with higher memory bandwidth will be able to use dynamically allocation because the extra bandwidth provides the overhead necessary to minimize performance impacts should the GPU need to pull more memory from the system on the fly.
On Tegra2 devices which were limited to 1 channel of 32bit ddr2, there is much less memory bandwidth than on tegra3 with ddr3 (or dual channel ddr2 like ipad). In this instance, it would cause a performance hit to have to free up extra memory from background tasks and then reallocate it to the gpu - so the solution is to just partition the entire memory into two sections each of which are generally large enough for both their respective duties: video ram and system ram.
EvoXOhio said:
Yeah DDR3 means it's faster and has more bandwidth, but that wouldn't affect whether the system has dedicated or shared video RAM.
Click to expand...
Click to collapse
current reviews & memory benchmarks have shown the 300 ddr3 ram shows no Performance improvement over Prime ddr2. developers here can probably make the most it though.
Finally you all have your own section. CONGRATS!
---------- Post added at 10:33 AM ---------- Previous post was at 10:25 AM ----------
a.mcdear said:
They all actually have 1GB of RAM. The difference is simply that some chips separate the video RAM and the system RAM, where others are able to use a shared memory space and dynamically allocate RAM to video as necessary.
Most likely, devices with higher memory bandwidth will be able to use dynamically allocation because the extra bandwidth provides the overhead necessary to minimize performance impacts should the GPU need to pull more memory from the system on the fly.
On Tegra2 devices which were limited to 1 channel of 32bit ddr2, there is much less memory bandwidth than on tegra3 with ddr3 (or dual channel ddr2 like ipad). In this instance, it would cause a performance hit to have to free up extra memory from background tasks and then reallocate it to the gpu - so the solution is to just partition the entire memory into two sections each of which are generally large enough for both their respective duties: video ram and system ram.
Click to expand...
Click to collapse
he makes a great point. although no memory improvements shown in benchmarking, what he is saying could be seen as an improvement though. good info.
300 is not the only Tegra3 kid on the block with new DDR3 ram. Toshiba just released their Tegra3 Excite 10.1 in. tablet. it has gorilla glass, 1280x800 display, and 1gb DDR3 ram. available in 16 or 32gb. you can also order a 64gb.
demandarin said:
current reviews & memory benchmarks have shown the 300 ddr3 ram shows no Performance improvement over Prime ddr2. developers here can probably make the most it though.
Finally you all have your own section. CONGRATS!
---------- Post added at 10:33 AM ---------- Previous post was at 10:25 AM ----------
he makes a great point. although no memory improvements shown in benchmarking, what he is saying could be seen as an improvement though. good info.
300 is not the only Tegra3 kid on the block with new DDR3 ram. Toshiba just released their Tegra3 Excite 10.1 in. tablet. it has gorilla glass, 1280x800 display, and 1gb DDR3 ram. available in 16 or 32gb. you can also order a 64gb.
Click to expand...
Click to collapse
500 bucks for a 32gig.... No sir.
Sent from my SPH-D710 using xda premium
In the spec section Amazon lists the TF300 as having 2GB of RAM...I'm sure its a mistype though.
http://www.amazon.com/Transformer-TF300-T-B1-BL-10-1-Inch-Tablet/dp/B007P4YAPK
Running 2.6 Kernel mine shows 983,2 MB of Total RAM.
After installing some nec. apps it drops down from ~850 MB to ~630 of
available RAM. After removal of most BW it shows ~820 MB of free RAM.
It's normal behaviour. It just acts like the Prime. Open it und you'll see a Prime with some faster MemoryChips & an optimized board design
I just hated my Prime for many reasons, but I really love this one
They've improved very much here

Using full ram with root

I've read that 1 of the 2gb of RAM is used for the touchwiz so you effectively only have 1gb. If you install a custom rom, ie. cyanogenmod, do you get to use the full 2gb then?
Filiusincendia said:
I've read that 1 of the 2gb of RAM is used for the touchwiz so you effectively only have 1gb. If you install a custom rom, ie. cyanogenmod, do you get to use the full 2gb then?
Click to expand...
Click to collapse
Pretty sure its ICS that takes up the space and its not a full GB. I don't have the phone but a friend has around 1.6 - 1.7 Gigs free at max.
I don't think that would work out, considering the international GS3 has 1GB of RAM and runs TouchWiz.
So much confusion, let's spell this out. First of all our phones have 2gb ram, period. The GPU requires about 0.38gb of the system's 2gb because it doesn't have its own onboard memory. So no matter what software you run, you'll be starting out around 1.62 available.
Different operating systems, frameworks, skins, and applications will have different memory footprints. Touchwiz is probably a bit heavier than AOSP (CM/AOKP), so after a clean boot you'll probably have more free ram running an AOSP variant.
Honestly its all kind of moot at this point however, because I doubt in either situation most people get anywhere near using the all remaining RAM with current ROM offerings. Key lime pie may be another story.
Yeah to his point about not using the RAM is just stupid, unused ram is wasted ram meaning you have it for nothing, for example on stock cm9 you got 1.2 gb free most of the time, 500-600mb free, touchwiz manage ram better but still leaves a lot behind, look up what ram does and you will understand why unused ram is useless
Sent from my SGH-T999 using Tapatalk 2
jgalan14 said:
Yeah to his point about not using the RAM is just stupid, unused ram is wasted ram meaning you have it for nothing, for example on stock cm9 you got 1.2 gb free most of the time, 500-600mb free, touchwiz manage ram better but still leaves a lot behind, look up what ram does and you will understand why unused ram is useless
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Isn't it ideal to have unused RAM so that when you open apps and multitask, you the memory to keep them alive? Maybe I'm misinterpreting, but if we never had unused Ram then we would never be able to multitask, right?
Spartoi said:
Isn't it ideal to have unused RAM so that when you open apps and multitask, you the memory to keep them alive? Maybe I'm misinterpreting, but if we never had unused Ram then we would never be able to multitask, right?
Click to expand...
Click to collapse
To a certain extent, I for one think there's no reason to try and utilize all of it for nothing. And it's pointless to complain about having extra
Sent from my SPH-L710 using Tapatalk 2
This is quote from something I read in pc mag
" This has to do with extremes. Remember that every so many cycles (don't remember on current ram), your memory has to completely refresh its contents. If you have an extra 16GB that you never use, then you waste time refreshing all of that ram. Also on this note, higher densities, and larger quantities are harder on your controller. For maximum speed and stability, use ram appropriate for your usage pattern"
Sent from my SGH-T999 using Tapatalk 2
jgalan14 said:
This is quote from something I read in pc mag
" This has to do with extremes. Remember that every so many cycles (don't remember on current ram), your memory has to completely refresh its contents. If you have an extra 16GB that you never use, then you waste time refreshing all of that ram. Also on this note, higher densities, and larger quantities are harder on your controller. For maximum speed and stability, use ram appropriate for your usage pattern"
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
While that is true, ram come in discrete chunks and 2 gb is noticeably better than 1. At a certain threshold the memory manager kills off old apps to free up ram. More ram means more recently used apps remain loaded and available sooner plus i have no issues with many pages open in a browser. I typically run with around 600 mb free. Only my dell streak i would often be under 100 and unless i manually closed apps it really bogged down.
Sent from my NookColor using xda app-developers app
1gb of ram is not for TW and the rest for apps....its 2gb total...in reality like 15mb total

What's your maximum available ram and how to increase it?

I'm only getting 1.58 GB and after the reboot my ram usage is like 1.31/1.58. I know it's 2GB device. So the question is why only 1.58gb can be used and how to increase it to 2.0gb? Anyone?
Cause probably the rest of the ram is used by core (not Android os) and hardware
Mine is 1.82 GB. Which is normal due to the conversion discrepancy between MB/GB.
1.82 or 1.72. Can't remember and don't want to look right now
The only way to increase it is by using swap. Either with an app like the rhoesoft ram expander (I think thats how it's wrote), or with a rom feature. But the ram you get with swap is not as fast as real ram. It will also degrade the life of the storage in that it is being stored. You can google more info about swap.
Are you sure you're reading it right? I usually have 1.2 GB ram free.
If you have 1.31 from 1.58 free then maybe you should consider uninstalling some apps. Cuz that's an unusual lot of ram usage
osvanberg said:
Mine is 1.82 GB. Which is normal due to the conversion discrepancy between MB/GB.
Click to expand...
Click to collapse
2000/1024 isn't 1.82. And I don't know why mine shows 1.5. That's a 300 missing. I'm on 4.4 tw.
It's just like HDD's. You buy one with 500 GB storage and when you set it up it shows only 480 GB or so.
And yes, samsung kinda ripped us off. 9 GB of internal storage is not 16! and 1.82 GB ram is not 2 GB! It's basically false advertisement what they are doing..

Categories

Resources