how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Ashish924 said:
how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Click to expand...
Click to collapse
Well, you can use a swap partition. CM7+ also has ram compression.
Sent from my GT-S5830 using Tapatalk 2
NathanBookham said:
Well, you can use a swap partition. CM7+ also has ram compression.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
can u help me in that...i dont know how to do it...n also is it safe and effective....thanks
Ashish924 said:
can u help me in that...i dont know how to do it...n also is it safe and effective....thanks
Click to expand...
Click to collapse
Google for it. XDA is against spoon-feeding..!!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
I've tried swapper 2, it's good. But have to understand each term they use in the app. Currently I'm now on RamExpander. Very good.
Sent from my GT-S5830 using xda app-developers app
DuckyDawn said:
I've tried swapper 2, it's good. But have to understand each term they use in the app. Currently I'm now on RamExpander. Very good.
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
For me Ramexpander say is not compatible with Ace.
I heard swapping partition from sd card to increase the ram, sd card might get damaged!!, is it true?
Reduces SD Life so yes.
Sent from my iPhone
but i guess you will change your sd card before it gets damaged so much, that you will notice.
i only had this once on a USB pendrive. it loses data since some weeks ago. but its about 8 years old.
lets say that todays SD cards have better lifetime than years old USB sticks. lets also say that you use your sd card more often than i used this stick (backups later car-radio). so we can say your SD card might have a bit less lifetime. lets say 6 years. in 6 years you will (most likely) have a new phone, sd cards are "oldies" and if not, 1TB cards are state-of-the-art.
so....yes you loose lifetime but i dont think you will use it till it "dies"
CJCord said:
but i guess you will change your sd card before it gets damaged so much, that you will notice.
i only had this once on a USB pendrive. it loses data since some weeks ago. but its about 8 years old.
lets say that todays SD cards have better lifetime than years old USB sticks. lets also say that you use your sd card more often than i used this stick (backups later car-radio). so we can say your SD card might have a bit less lifetime. lets say 6 years. in 6 years you will (most likely) have a new phone, sd cards are "oldies" and if not, 1TB cards are state-of-the-art.
so....yes you loose lifetime but i dont think you will use it till it "dies"
Click to expand...
Click to collapse
It really depends on use. When I swapped i ate through my sdcard in less than 6 months.. so there you go. Keeping low swappinness will increase sd card life, but it does depend on use.
increasing ram by swapping sd card is effective to what extent...can any body tell me....does it bridge the gap of our low ram...
AND ANY OTHER DISADVANTAGE THAN REDUCING SD CARD LIFE
Blackstard said:
For me Ramexpander say is not compatible with Ace.
Click to expand...
Click to collapse
Huh? I Don get u cozy mine is working fine. Downloaded from blackmarket
Sent from my GT-S5830 using xda app-developers app
Ashish924 said:
increasing ram by swapping sd card is effective to what extent...can any body tell me....does it bridge the gap of our low ram...
AND ANY OTHER DISADVANTAGE THAN REDUCING SD CARD LIFE
Click to expand...
Click to collapse
That why the requirement need class 10 SDcard
You can use CM7 that uses less RAM!.. I just went from CM10 to CM7 and it really is an improvement for ACE as it uses a bit less RAM and that is noticeable.
thanx but no cm7
Jimmyslam said:
You can use CM7 that uses less RAM!.. I just went from CM10 to CM7 and it really is an improvement for ACE as it uses a bit less RAM and that is noticeable.
Click to expand...
Click to collapse
thanks...but i dont want cm7 as i dont like it....i want it in a stock rom...btw thanx
Ashish924 said:
how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Click to expand...
Click to collapse
there are quite a few apps for increasing the ram like ramexpander and swapper...
but before using these apps remember that the read and write speed of sd card(which is secondary storage) is vey less as compared to that of the internal ram.. and probably thats why ram is very expensive as compared to sd card...
so if you use these apps may take a bit longer to start and even the best of sd cards i.e. the class 10 one won't last longer than 6 months...
Increasing ram
Hi i install ram manager pro apk on gts5830i then i create a swap file 128mb using this apk, then on sd card i see swap file img does it mean my phone ram increased.... i didn't install any kernel for it... plz does tell me if it increase ram or not...
I tried something on a other phone from my neighbor. is a huawei with same specs than the galaxy ace..
I moved apps to SD card with link2SD and created a Swap file in the internal storage.
The internal storage is much faster than the SD card and much better for swap file.
sahil chandel said:
Hi i install ram manager pro apk on gts5830i then i create a swap file 128mb using this apk, then on sd card i see swap file img does it mean my phone ram increased.... i didn't install any kernel for it... plz does tell me if it increase ram or not...
Click to expand...
Click to collapse
What is RAM
Random Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device.
SWAP
What is SWAP
Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
Click to expand...
Click to collapse
Credits go to CarlDeanCatabay
Related
I'm looking forward into upgrading my SD Card, right now it's the default CLASS 2 with 2gb. I pretend to buy a 16gb class 10 one, from Adata.
But I need to know some things first. The only reasons that I want to upgrade is to get more space to install apps, place musics and maybe expand my RAM a little.
So, is it possible to expand my ram? I don't want performance upgrade, it's just that I tend to multitask a lot of programs and my memory runs out really fast.
If so, how much more memory I can allocate on my SD?
Same for apps.
How much big can my apps partition be?
I saw that the recommended limit is something around 1.2/1.3gb, but is there a safe way to expand a little bit further? Or would it make the phone too much unstable?
And also, is it really worth it to upgrade my SD to a CLASS 10 one with 16gb? Or is it just a waste of money?
Thanks for the support and excuse me if I'm asking on the wrong section/way. I found somethings about it but there was nothing too much concrete. :/
EDIT
I just flashed my X8 with the latest firmware and baseband, as pc companion didn't want to install the baseband ..15 nor the newest drivers. Also installed the CM7, dualtouch and all that crap. It already installs apps to the SD and I've noticed a small slowdown on app startup. Would a class 10 sd soft it out?
Up to 200MB on SWAP partition, up to 2GB on apps EXT3/4 (any1 have so many of them???) rest for music/videos etc.
I have made a guide for partitioning the SD with ext+swap (you need AlfsKernel+GDX)
Look my signature
Thanks. But just another question. Is it really necessary to have a Class 10 SD card, or would Class 2 (the default one) slow things down while using swap?
Edit:
Also, a class 10 sd card is way too much expensive for me. I found a 16gb one, class 4 but it's SDHC. Will my X8 read a SDHC?
Everything above (and including) 4GB is sdhc, so yes, it reads them fine. About speed, yes it's important, apps will load faster.. but never amazingly fast. The X8 is slow nowadays, don't expect awesome results. If you are used to class 2 speeds and you buy a class 10 card then yes, you will notice improvement.. Not that much with a class 4. Do you really need a 16GB card? Maybe a 8GB class 8 or 10 would be better if you don't need that much space.
About adding more ram, just forget it
Sent from my E15i using XDA App
I got almost 20gb of just music on my computer, full discography of bands and all. Basically, 90% of the sd will be dedicated to music then But maybe i buy a 8gb one, i just need to stop being lazy and copy only the musics that i want instead of CTRL+A, CTRL+C, CTRL+V it all. Thanks for the help by the way.
So class 6 sdcard is enough for x8?
Lets face the facts guys. Our Galaxy Ace has very little RAM as compared to other devices currently on the market. Switching between apps is a pain in the ****. So I would like to ask is SWAP really useless as concluded by some members or its good for the phone. You can also list out experience with using SWAP & what kind of brand and class of microSD card you use here. I now personally do not use SWAP but I did b4, I have a class 4 32GB transcend microSD card that comes with life time warranty (I purposely put the warranty so I can also ward off those whom say it may wear out the card etc, what I want to find out is PERFORMANCE)
I search all over xda and all I got was some bits and pieces of answers here and there so was hoping to conclude everything right here in one place.
it makes the phone reaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaally slow. Happened to me.
it depends on ur swappiness setting (0~100)
set to 0 will disable swapping
set to 100 will make the system keep making cache and store them into your swap partition
*well, i'm still a noob, so just take my answer as a reference and if u want to know them more clearly, then ask uncle google
***
btw, too large linux swap partition is not needed, 32mb /64 mb will be enough for galaxy ace
If you use a lot of multitasking, swap will allow you to keep the apps data in memory for longer (no more reloading old web pages when browsing through lots of Windows)
It WILL SLOW DOWN YOUR PHONE, always (even with class 10 SD cards). The swap's new ram is much slower to read/write to SD card than the ram in your internal memory.
Swap will eat through your SD card and wear it out much faster. This isn't so bad with a life warranty and considering the low prices of SD cards. It's a pain in the nuts though, if you don't keep a regular backup of your SD card when the day it dies arrives.
I tried Swap with a class 4 SD Card, not really useful, so, I removed. You will try it if you have a class 10 SD
thanks for the reply guys
I would recommend swap only if you are a gamer. It will smooth out some games like nova or bia 2 or dead space or mass effect 3. Not saying that it will make the game lag free but it helps
Sent from my GT-S5830 using xda premium
here for some informations:
http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/
ps. read the comments too
Thread closed.
Thread closed.
Thread closed.
Reserved
God job but this can fix the problem of memory leak?
Inviato dal mio GT-I9300 con Tapatalk 2
mattiadj said:
God job but this can fix the problem of memory leak?
Click to expand...
Click to collapse
Unfortunately not, to fix that you'd need to find the source of the leak and correct it
JP.
So what is the benefits of this fix?
Simply... Why we need this? Sorry but I didn't understand.... My bad mate
Inviato dal mio Transformer TF101 con Tapatalk 2
mattiadj said:
So what is the benefits of this fix?
Simply... Why we need this? Sorry but I didn't understand.... My bad mate
Click to expand...
Click to collapse
No problem The thing is, we have a certain amount of RAM at our disposal, plus our devices are getting faster and faster, getting more and more cores, but not that much RAM increase.
Let me illustrate my point :
htc HD2 (my frist device to run Android) - 2009
RAM : 448 MB usable
CPU : 1 GHz Qualcomm Snapdragon (single core)
SGS3 - 2012
RAM : 778 MB usable
CPU : 1.4 GHz quad-core Cortex-A9
So CPU speed is up by way much more than RAM, and I'm not taking GPU into consideration, plus storage speed increase etc...
Now those devices tend to be used in multitasking, having many apps running at the same time.
What those need is :
- CPU power to run on (we have plenty !)
- RAM to fit in (we have little)
Now even though an APP is running, not every bit of it is really needed, so those parts can be swapped out (put into swap) freeing these memory blocks and making room for more apps to fit in RAM.
So what will this mod do for you : Allow for more multitasking
Keep more apps running in RAM at the same time, making the device snappier when switching from one app to the other.
One app won't run faster !
If now you don't have swap, Android will have to gently ask the least used app to please close (save data, and quit) to free up RAM. Now when you get back to that app, Android will have to reload it, the app will start and reload it's data.
You can see, this will take more time.
Hope this isn't too confusing
I have a question before i attempt setting this up.
How do we identify which partition on the card is supposed to be for swap?
I have a 64gb sandisk card and say i make two partitions, one massive one for data and a 2gb one on the end for swap, how do i identify to android that the 2gb one is for swap? Also, what format should the partition be?
Cheers.
Sent from my GT-I9300 using xda premium
hefonthefjords said:
I have a question before i attempt setting this up.
How do we identify which partition on the card is supposed to be for swap?
I have a 64gb sandisk card and say i make two partitions, one massive one for data and a 2gb one on the end for swap, how do i identify to android that the 2gb one is for swap? Also, what format should the partition be?
Cheers.
Click to expand...
Click to collapse
The script handles finding the partition
All you need to do is partition your card and be sure the swap partition is :
- a primary partition
- of type "Linux Swap"
JP.
I have 1gb micro sd card, so can i use whole card as swap card?
jnr21 said:
I have 1gb micro sd card, so can i use whole card as swap card?
Click to expand...
Click to collapse
Yes, just create one partition with the size of the card, and make it a primary partition of type "Linux Swap".
But just a thought, what speed class is this card ? A too slow card might not be a good idea to use as swap device.
I'm waiting for my 64Gb card, so for now I'm running 512Mb swap on my older Transcend class 4 card, which is running fine for far. I'd not really go lower, though it's sur worth a try
JP.
Will the whole swap partition be used as swap memory?
And one more thing: what happens, if you remove the external sd, while the mod is active?
Gesendet von meinem GT-I9300 mit Tapatalk 2
Thankyou. Will give this a try.
Sent from my GT-I9300 using xda premium
paranoid2007 said:
Will the whole swap partition be used as swap memory?
Gesendet von meinem GT-I9300 mit Tapatalk 2
Click to expand...
Click to collapse
Yes, the partition is used, so its size is the limit
JP.
Yank555 said:
Yes, just create one partition with the size of the card, and make it a primary partition of type "Linux Swap".
But just a thought, what speed class is this card ? A too slow card might not be a good idea to use as swap device.
JP.
Click to expand...
Click to collapse
There's no mention what class it is. As i remember card came with some nokia phone 2-3 yerars ago, so i think that it's pretty slow, but i will test it anyway.
use with extsd and internal sd swap script?
Hi,
just wonder if I can use this with the extsd and interenal sd swap mod by mattiadj?
that will be great if i can use both mod and if we can use both, where will be the swap space? still the extsd?
thanks.
Hi,
Thank you for sharing this mod. What size would you recommend for the swap partition? I think that the general recommendation for desktop Linux is something like one to two times the size of physical RAM, depending on available disk space. Would that be reasonable for Android as well?
ctrlaltdel said:
Hi,
just wonder if I can use this with the extsd and interenal sd swap mod by mattiadj?
that will be great if i can use both mod and if we can use both, where will be the swap space? still the extsd?
thanks.
Click to expand...
Click to collapse
Swap will all be used, but they will have a priority (order) which you can check by typing "cat /proc/swaps" in a terminal.
I'd not use many though, you don't really need that much swap Just compare and keep whatever works best for you
yhrn said:
Hi,
Thank you for sharing this mod. What size would you recommend for the swap partition? I think that the general recommendation for desktop Linux is something like one to two times the size of physical RAM, depending on available disk space. Would that be reasonable for Android as well?
Click to expand...
Click to collapse
On Android that might be shooting a little too high. I have a 512Mb partition, but I suppose 256Mb would be fine, that is the size I used on my previous devices.
JP.
mattiadj said:
God job but this can fix the problem of memory leak?
Inviato dal mio GT-I9300 con Tapatalk 2
Click to expand...
Click to collapse
It will not fix the leak, but phone will run longer.
For fix see my thread in this forum.
when i read at this page.... gsmarena.com/htc_desire_c-4759.php
at the storage it has "4GB include" but the device has 90MB rom and 940MB memory...
anyone please explain that
p/s this is my first post and i'm from vietnam, sorry for my bad english.
hello all you guy :good:
Welcome to XDA
I don't exactly know how it works but you only get around 1GB of space you could actually use!
Sent from my TF300T using xda app-developers app
Usuasable memory..
You are right. Both the websites and the box in which the phone is shipped shows the internal memory to be 4GB. But in reality this storage space is also used to store the phone's software. So the 4GB is actually partitioned into two parts, one storing the software and another part as the actual usable memory which can be used by the user. So you get a little less than 1GB of internal memory.. around 935mb or something. To know more.. go to HTC's website.
actually its split in three parts
1 part for the OS,sense,etc
2 0.94 gb for apps
3 ~90mb for storage (media,pictures etc)
bogdy5 said:
actually its split in three parts
1 part for the OS,sense,etc
2 0.94 gb for apps
3 ~90mb for storage (media,pictures etc)
Click to expand...
Click to collapse
so part 1 take for 3GB??
apparently ICS+Sense 4.0+bloatware=3gb
it's like the galaxy s4, from 16gb you get ~10gb of user storage
imo this is just a marketing scheme something like internet speed ads. they say "internet speeds up to 150mbps" not 18mBps(even though it's the same thing) because ppl like big numbers ;the difference is you still have the same internet speed while with the phone the 4gb mem is a lie ....unless you format the whole internal memory and use the phone as a throwing weapon....
bogdy5 said:
apparently ICS+Sense 4.0+bloatware=3gb
it's like the galaxy s4, from 16gb you get ~10gb of user storage
imo this is just a marketing scheme something like internet speed ads. they say "internet speeds up to 150mbps" not 18mBps(even though it's the same thing) because ppl like big numbers ;the difference is you still have the same internet speed while with the phone the 4gb mem is a lie ....unless you format the whole internal memory and use the phone as a throwing weapon....
Click to expand...
Click to collapse
thank bro
bogdy5 said:
apparently ICS+Sense 4.0+bloatware=3gb
it's like the galaxy s4, from 16gb you get ~10gb of user storage
imo this is just a marketing scheme something like internet speed ads. they say "internet speeds up to 150mbps" not 18mBps(even though it's the same thing) because ppl like big numbers ;the difference is you still have the same internet speed while with the phone the 4gb mem is a lie ....unless you format the whole internal memory and use the phone as a throwing weapon....
Click to expand...
Click to collapse
and even though it has 512 MB RAM, we just get only 414 MB
Actually it is 512 or 414 mob of RAM..?
akashgartia said:
Actually it is 512 or 414 mob of RAM..?
Click to expand...
Click to collapse
Our phone has 512mb RAM but the android system itself uses ~100mb so we get to use only 414mb
how to root and how to use sd card as RAM?
sekhar13515 said:
how to root and how to use sd card as RAM?
Click to expand...
Click to collapse
Even if you do that, there will be no performance gain. SD card is too slow for that purpose. Motorola did it the wrong way. They made a great device but didn't put in enough RAM to make it use its full potential.
Sent from my XT1068 using Tapatalk
sekhar13515 said:
how to root and how to use sd card as RAM?
Click to expand...
Click to collapse
You can root your phone easily... just watch this video
And using SD card as RAM is not a good idea, SD card is too slow to be an active RAM memory
nilanko said:
Even if you do that, there will be no performance gain. SD card is too slow for that purpose. Motorola did it the wrong way. They made a great device but didn't put in enough RAM to make it use its full potential.
Click to expand...
Click to collapse
so, any alternate option to run phone speed?
sekhar13515 said:
so, any alternate option to run phone speed?
Click to expand...
Click to collapse
You can use greenify and task killers to free up RAM. I know people say its not a good idea but it seriously works for this phone. It has too low RAM for Android to be able to handle it properly. It lags like hell without greenify and task killers.
Source: Personal experience
nilanko said:
You can use greenify and task killers to free up RAM. I know people say its not a good idea but it seriously works for this phone. It has too low RAM for Android to be able to handle it properly. It lags like hell without greenify and task killers.
Source: Personal experience
Click to expand...
Click to collapse
I am using that workaround from starting. Even also sometimes very slow and don't respond, that time have to restart the phone.
Whatever the high RAM, after 2 years Android gets slow.
https://youtu.be/kSNyzIgKvB0
sekhar13515 said:
I am using that workaround from starting. Even also sometimes very slow and don't respond, that time have to restart the phone.
Whatever the high RAM, after 2 years Android gets slow.
Click to expand...
Click to collapse
Yeah true that. And I guess we can't do anything about that.