RAM Expansion VM Swapfile - Verizon HTC Droid Incredible 4G LTE

Hi all! Running PAC ROM JB 4.2.2 LOVE it.
I utilize a root-only app, a swapfile RAM expander. Utilize my extermal SD to create a 1.8GB swapfile that the system uses as VM.
Any thoughts on this, does any other DInc developer/modder use this as well?
My phone's memory capacity now reads at 2.5GB. Runs that way too!
Bring on any and all feedback.
Sent from my Incredible 4G LTE using xda premium

sounds like a bad idea to me. flash memory only gets so many writes before it cant be written anymore.

Related

[Q] Real RAM size

Hello, as we know, Galaxy S1 was advertised with 512MB ram, but in real there was only ~340MB of usable RAM! So i want to ask, how much ram is usable for applications and how much is free after fresh boot? Can someone check this? You can see this informations in task manager.
I think its about 800-850 RAM.
The original SGS had 512mb of ram as advertised. For some reason people assume that their phone behaves different than their computer. The operating system and everything like that needs to use the ram as well.
AS stated though I understand the SGS2 to have approximately 850MB of ram free after running the OS etc.
If I continually hit advanced task killer it will give me about 445MB free. In the standard task manager it says /833MB.
I don't really think this is all too relevant. You will never have anywhere near the maximum amount available just as you won't in a modern PC either and with phone OS's getting more power hungry and complex this is unlikely to change.
If the amount of ram bothers you check the video of the guy doing heavy multitasking on the phone and that will clear your mind.
Sent from my GT-I9100 using XDA App
kickassdave said:
If I continually hit advanced task killer it will give me about 445MB free. In the standard task manager it says /833MB.
I don't really think this is all too relevant. You will never have anywhere near the maximum amount available just as you won't in a modern PC either and with phone OS's getting more power hungry and complex this is unlikely to change.
If the amount of ram bothers you check the video of the guy doing heavy multitasking on the phone and that will clear your mind.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Thank you for usefull information. I'm just interested in real numbers, because HTC phones have all advertised ram available to system, instead of samsung, which is cheating about this. Yes the OS is using ram... but from 833MB, not from 1gig. How can system use ram which is not visible to system? Android is linux, you can easily see how much ram is available and usable for system... it's 833 not 1gig. I believe that there is 1GB ram chip, but some memory is dedicated to other components. However 833 MB is really enough for mobile phone.
Shanakin said:
The original SGS had 512mb of ram as advertised.
Click to expand...
Click to collapse
It did have 512MB of ram in hardware, but a pretty big part of the 512mb was actually dedicated video memory for 3d and movies. The Galaxy Tab 7" which was advertised with 512MB actually had ~600MB of ram in hardware, with extra ram outside the 512MB being for the dedicated video.
With the SGS2 it seems to be as the original SGS with dedicated video ram being taken out of the 1GB. It's easy enough to check by looking at the kernel config files. (And you can even tweak the numbers a bit to get a bit more free ram, as was done in the SGS)
Hope we're not heading down the old line of trying to run with loads of free RAM... I'm of the philosophy that if you have the RAM available, you should use it, rather than have to load things up from storage due to removing it to make a number bigger on a task manager...
ranwej said:
Thank you for usefull information. I'm just interested in real numbers, because HTC phones have all advertised ram available to system, instead of samsung, which is cheating about this. Yes the OS is using ram... but from 833MB, not from 1gig. How can system use ram which is not visible to system? Android is linux, you can easily see how much ram is available and usable for system... it's 833 not 1gig. I believe that there is 1GB ram chip, but some memory is dedicated to other components. However 833 MB is really enough for mobile phone.
Click to expand...
Click to collapse
Htc does/did this as well. My Legend is advertised with 384mb ram, but only 290 is available to the system.
Sent from my Legend using XDA Premium App
pulser_g2 said:
Hope we're not heading down the old line of trying to run with loads of free RAM... I'm of the philosophy that if you have the RAM available, you should use it, rather than have to load things up from storage due to removing it to make a number bigger on a task manager...
Click to expand...
Click to collapse
Your philosophy is absolutely correct. In Windows that might be a good thing, because it starts buffering to the HD when you run out. But Android will just close some background processes automatically to clear ram as needed.
Sent from my Legend using XDA Premium App
pulser_g2 said:
Hope we're not heading down the old line of trying to run with loads of free RAM... I'm of the philosophy that if you have the RAM available, you should use it, rather than have to load things up from storage due to removing it to make a number bigger on a task manager...
Click to expand...
Click to collapse
Unfortunately people these days only know about ram management from that poor excuse of an OS called Windows.... excluding 7.
pulser_g2 said:
Hope we're not heading down the old line of trying to run with loads of free RAM... I'm of the philosophy that if you have the RAM available, you should use it, rather than have to load things up from storage due to removing it to make a number bigger on a task manager...
Click to expand...
Click to collapse
Agreed, as long as there is a big line between FREE RAM and TOTAL RAM. More total RAM is always a very very good thing regardless of how good the ram management is.
This thread is about total RAM available to Linux/Android, so it's good imho.

Do we really have 1GB of RAM?

I have been so busy catching up with all the amazing stuff Da_G has been pumping out (thanks!) that I didn't even take a look at this until now. I am showing that we only have 733MB of avaliable RAM. That is a far cry from 1024MB.
I am seeing 733MB w/ both Android System Info and with the built-in Task Manager.
Does anyone know if we indeed have 1024MB of RAM and... if it is just assigned else where?
Yes we have 1GB every phone has RAM missing because the system is holding it.
I remember one time the OS didn't support that much not sure if that's the case now but the phone has 1GB to my knowledge and.what I've read
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
Just like memory... Do we really have 16gb? Its never what they say... All marketing!
Sent from my SGH-I717M
I have also read that is has 1GB everywhere, but missing 291MB seems like an awful lot.
I beleive my Atrix showed 897MB. I just seems like an awful lot 'mssing' w/ the Note.
big samm said:
Just like memory... Do we really have 16gb? Its never what they say... All marketing!
Sent from my SGH-I717M
Click to expand...
Click to collapse
I am with you on that! Makes me
I noticed the same, it's showing short but using the same app(system tuner pro) on my G2 it showed the correct 512mb.
It's not false marketing; it's fact. There is 1GB of RAM in the phone. I'm pretty sure the rest of the RAM is used by the GPU. My GS2 has the same thing, shows about 800MB of RAM available to apps.
What does it matter? I usually have 3-500MB of free RAM. Have you ever managed to fill the RAM with processes? Do you know anyone who has? Android clears old apps from memory even when there is enough free so I have never even come close to filling my RAM.
Graphics memory
As with any computer your phone has a gpu which needs graphics memory and because the gpu is integrated (SOC) it takes its memory off the top. This can be seen with any computer you have with integrated graphics it will section off some memory for your gpu.
As for the flash memory space many issues can take it down such as the file system, operating system, it just depends but trust me before the phone was turned on and android installed it had 16gb of memory and 1gb of ram
I'm about 100% CPU and GPU can't share ram as they do completely different tasks. They could have just added the cram and the ram to get 1GB though... But otherwise, the missing ram is from system tasks and the OS.
Sent from my SAMSUNG-SGH-I717 using XDA App
teiglin said:
It's not false marketing; it's fact. There is 1GB of RAM in the phone. I'm pretty sure the rest of the RAM is used by the GPU. My GS2 has the same thing, shows about 800MB of RAM available to apps.
What does it matter? I usually have 3-500MB of free RAM. Have you ever managed to fill the RAM with processes? Do you know anyone who has? Android clears old apps from memory even when there is enough free so I have never even come close to filling my RAM.
Click to expand...
Click to collapse
Do we have a reference or any proof of this?
And to the post directly above this, any computer that does not have a dedicated graphics card uses shared system memory, just like our phones. 733MB is just quite a bit away from 1024MB.
they can and do use the same memory because they are the same soc aka system on chip. all this is integrated.
So if you built a PC yourself and loaded it with 2gig RAM and booted into windows it would have 2 gig FREE memory?
MrDSL said:
So if you built a PC yourself and loaded it with 2gig RAM and booted into windows it would have 2 gig FREE memory?
Click to expand...
Click to collapse
I am not talking about FREE. I am talking about the system as a whole. Do we really have 1GB of RAM? Where it is being used I am not so concerned about at this point, but it may help us figure out if we do indeed have 1GB (Where is the remaing 291MB assigned).
The missing 291 is being used by android..to load the launcher Widgets and everything else in the background.
MrDSL said:
The missing 291 is being used by android..to load the launcher Widgets and everything else in the background.
Click to expand...
Click to collapse
i have international version of note.its same way on this one.the missing ram is held by system tasks.as for 16gb storage memory.if you wipe all area on usb storage .u will have 16gb but not a working phone.another thing about free ram.dont use task manager to stop apps.all it does is make the phone lag.leave everything running.
teiglin said:
It's not false marketing; it's fact. There is 1GB of RAM in the phone. I'm pretty sure the rest of the RAM is used by the GPU. My GS2 has the same thing, shows about 800MB of RAM available to apps.
What does it matter? I usually have 3-500MB of free RAM. Have you ever managed to fill the RAM with processes? Do you know anyone who has? Android clears old apps from memory even when there is enough free so I have never even come close to filling my RAM.
Click to expand...
Click to collapse
You have 300-500 MB FREE ram? My note is bone stock and I'm running at 400/700 MB RAM (meaning 300 MB free). This is also when I "Clear memory" too. Something wrong with my apps?
tizzy said:
You have 300-500 MB FREE ram? My note is bone stock and I'm running at 400/700 MB RAM (meaning 300 MB free). This is also when I "Clear memory" too. Something wrong with my apps?
Click to expand...
Click to collapse
I have 700 free. With just 2 home screens 2 Widgets and a few apps and live wallpaper.
Sent from my SAMSUNG-SGH-I717 using XDA
Two dozen open apps on mine right now, and it shows 283 MB used, 302 MB free.
On my AT&T gs2 I consistantly show 830 to 850 MB free. On my note I only see a lil over 700. How can this have less ram than my gs2? I have over 80 app on my gs2 and less than half that on my note!!!
Sent from my SAMSUNG-SGH-I717 using xda premium
Probably xtra things (like snote )loaded on note that wouldn't be on your s2
Sent from a Galaxy far, far away!

How to overclock ram?

Is there any way to overclock ram?
Sent from my GT-I9003 using xda premium
why you want that, better speed? or more memory? i don't think that is "possible"
seljachina said:
why you want that, better speed? or more memory? i don't think that is "possible"
Click to expand...
Click to collapse
My phone is having 478mb ram to i just wanna increase it to 512mb.
Sent from my GT-I9003 using xda premium
No, RAM size is fixed in the RAM chip. There's nothing like a Linux swap partition/Windows ReadyBoost to help with this.
Sent from my Desire HD using xda premium
sashank said:
No, RAM size is fixed in the RAM chip. There's nothing like a Linux swap partition/Windows ReadyBoost to help with this.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
So its not possible.
Sent from my GT-I9003 using xda premium
TheSG said:
So its not possible.
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
No not possible, but if you install cyanogen mod you can make it compress the ram, that you basically have more free ram than before. That is what i do.
Update My rom
Hello everybody
I have galaxy s4 clone I would like to update my rom :
Model Number : GT-I9500
Android 4.2.2
Baseband Version : I9500XXUAMDE
Kernel version 3.4.5-I9500ZSKJ6-CL679970 Sat Aug 10 19:17:34 CST 2013
Build number :GINGERBREAD.ZSKJ6
Custom build version galaxy.20130810.F.V015
internal storage : 344 Mb
Ram : 311 Mb
Please Help Me
Use swap file. Just google it. Even though it's slow it's worth a try.
Yeah @aymenmeer ,you have been helped by me
From my s4 Powered by
Prism barebone v15
VoLTaqe Kernel.
You won't be able to add more RAM but you can add swap to your SD card storage to be treated like RAM but it will wear out that SD Card in a certain amount of time. It's also slower than regular RAM but Class 10 SD Cards are still a nice way to add swap to be used like RAM if you need it.
I used ROHESOFT Ram Expander for that reason (got the free version since I wouldn't pay an absurd price) but I was able to use an extra 1GB SWAP treated as RAM or 500MB on my S3 mini. I did have to change swap parameters to speed it up though and best experience. It was actually fairly smooth for the most part but not always recommended.
Greenify I used to reduce background processes from using RAM as well.
Other option includes zRAM or zSwap from kernel adiutor and custom ROMs for less RAM usage. Another way is this Xposed Module called Low Ram Device which you can force your device to act as a low RAM device , which makes applications use less RAM and significantly free up RAM space.
However for a device with less than a GB of Ram or 1GB, I'd say use Low Ram device Xposed Module , reduce background processes and importantly, add swap to your class10 (class6 or above is fine too sometimes) SD Card to be treated as extra RAM . It may feel slower but not too slow and the difference is less noticeable with faster SD cards .
As for overclocking RAM Speed, I don't believe that's actually possible on even a custom kernel yet but I'm not so certain. I found this thread by Google search Overclock android ram speed.
overclock ram is different overMEMORY. ram have bus clock (amount data can transmitted) overclock ram mean make ram faster when transmit data, does not help improve memory shortage.

[Q] Extending Ram using external sd card partitioning

I remember there was a method to partition part of the external sd card and use it as extra RAM.
Can anyone explain how to do that with the GS3?
I seriously doubt there is a way to do that. Even if there is, why would you want to!? The SD speed will be horribly slow when compared to the RAM, it'll just not be useful in the slightest.
I don't remember how but you can set up a swap file. It would be better to mount it to internal storage but that is still going to be slower. I screwed around with this quite a bit on my N1 and never was able to get better performance than not using the swap file at all.
This was useful and a major feature in the early device custom rooms G1/Hero etc. There is simply no need for it on the handsets nowadays. It was used due to the limited ram in early Android handsets to cache apps to free up main memory for the running apps. Which up until the N1 the was at Max 128MB of in built ram. You have nowt to worry about with 1/2GB of ram.
Sent from my GT-I9100 using XDA

[Q] Virtual memory to increase Ram

Question to the Dev's...
Is it possible to use some space from the phones internal storage or the sd card to use it as virtual ram memory? I have noticed that nobody has done something like this and i believe that for the xperia u it would be very useful because of the really small ram size.
Along with a debloated rom the phone would be very capable.
Cheers
alex_mat said:
Question to the Dev's...
Is it possible to use some space from the phones internal storage or the sd card to use it as virtual ram memory? I have noticed that nobody has done something like this and i believe that for the xperia u it would be very useful because of the really small ram size.
Along with a debloated rom the phone would be very capable.
Cheers
Click to expand...
Click to collapse
look at this thread where it was discussed that.
http://forum.xda-developers.com/showthread.php?t=2457721
Enviado desde mi Xperia U mediante Tapatalk
Kobalto07 said:
look at this thread where it was discussed that.
http://forum.xda-developers.com/showthread.php?t=2457721
Enviado desde mi Xperia U mediante Tapatalk
Click to expand...
Click to collapse
Unfortunately, the thread doesn't really discuss how to use swap to "add" more ram on XU.
I use a swap partition on my old phone with a class10 sdcard. Since it's a really low-end phone, simple tweaks like swap show a noticeable increase in performance. For phones that have an internal sdcard, is it feasible to use swap? How about performance-wise? Do our kernels have swap support?
alex_mat said:
Along with a debloated rom the phone would be very capable.
Click to expand...
Click to collapse
Very capable of what?
Keep in mind that the guys in Google (and the guys working for Sony) are not complete retards and might know what they are doing, and if they thought there was an advatage for it they would have done it.
Virtual memory is not RAM, and the only way to add RAM is.... to add more RAM, which you cannot.
Swap file does not address performance (obviousely it reduce performance rather then increase it), it address physical limmitation(of maximum possible RAM) or cost.
Android has mechanisms to deal with low memory situations, which maybe don't seam very attractive to users that are used to 3rd generation Intel processors with 8GB of RAM, but make perfect sence for portable low power devices.
For example,
Assuming you can have 10 messages visible on screen.
In principle, messages will hold in memory only the messages that are visible on screen + a few more above and below it, so lets say 20 in memory total, and while scrolling old messages are being discarded and new ones are fetched.
Would it be faster to write the memory to a swap file when memory is needed and read them from swap when messaging is visible again, then just fetch them again when messaging are visible again after it has been killed when in background and memory was needed?
Note that a "normal" windows application may not even bother to free invisible fetched messages and rely on available memory.
Free ram is wasted ram !
Sent From Cybertron With My Powerfull Xperia P
Pandemic said:
Free ram is wasted ram !
Click to expand...
Click to collapse
Not accurate, unused RAM is wasted RAM.
The "free" RAM"shown in running is not realy free and usually has lots of cached processes.
Those processes are inactive and will be killed if the memory is needed by another active process, however they are still in memory and ready to run in case they are needed.
So this is ree ram that is still being used andnot wasted.
ChikeD said:
Not accurate, unused RAM is wasted RAM.
The "free" RAM"shown in running is not realy free and usually has lots of cached processes.
Those processes are inactive and will be killed if the memory is needed by another active process, however they are still in memory and ready to run in case they are needed.
So this is ree ram that is still being used andnot wasted.
Click to expand...
Click to collapse
Thats kinda accurate mate and even @nicolassp said that, but either his own opinion
But yes you have some point on that
Sent From Cybertron With My Powerfull Xperia P

Categories

Resources