I keep seeing everybody talking about having an sd-ext partition and how much better it
makes the phone run. Is it possible with a g2, and if so, how do you do it?
Sent from my HTC Vision using XDA App
http://forums.virtuousrom.com/index.php/topic,58.0.html
If you're running a Sense 3.0+ port I can see the need for swap but for AOSP based ROMs there's no need. We have plenty of RAM. It can actually induce lag and slow things down using it. Use compcache if you really need the extra RAM - of course it will slow things down a bit too but shouldn't be as bad.
As far as using an EXT partition, yet again you don't need it. These things were/are useful for older phones and lower end phones with limited memory and RAM. Unless you just download every app in the market you see, you should have plenty of space on your phone for all your apps. There's no performance gain by putting the apps on your sdcard in an EXT partition.
Related
Ive read through dozens of threads asking this very question. Is there anyway to avoid having all of your internal memory sucked up by the great unknown? Im running defrost with all my apps installed on the microSD card.
Sent from my HTC Desire using XDA App
Don't think this is possible because some application data is partially stored in the phone in /data/data/* too. Nothing moves /data/data to SD card, because this would result in instability and generally poor performance. You could move the app and dalvik-cache to SD with less trouble, but /data/data is buggy, so that stays on the phone.
Download Cache cleaner like CacheCleaner or CacheMate from the Marketplace, this will free up some space for you.
Sent from my HTC Desire using XDA App
Thanks for the tip!
Freed up about 4 MBs. Hmm... Maybe I've adopted Android a wee bit too soon. Figured they'd have something as fundamental as this solved by now.
Xephrey said:
Freed up about 4 MBs. Hmm... Maybe I've adopted Android a wee bit too soon. Figured they'd have something as fundamental as this solved by now.
Click to expand...
Click to collapse
It is a common misconception that this is somehow Androids "fault".
Quite simply - it isn't. It is the hardware manufacturers who are not building enough physical storage into the device. There's absolutely no reason, other than cost, why someone couldn't build a phone with more memory available for apps etc - in fact, the Dell Streak has 2gb space for apps which is likely to be more than enough.
Regards,
Dve
Good point. I was too quick to stack all the blame on Android. What would be SUPER cool is a phone with dual MicroSD slots. That way, one could be dedicated to apps and one to mounting, unmounting / whatever.
Can we repartition the mtd like the g1 users can?
http://forum.xda-developers.com/showthread.php?p=7061471#post7061471
cause i think for those who are not using sense ui, there is a lot of space unused on the system partition that can be transfered to data partition for our apps.
What are the possibilities of using our 2gb of ddr program storage and re allocating it as system ram?
Even if it isn't pure flash (slow speed) I imagine it would be better then nothing, we could always store programs on the sdcard.
Sent from my GT-I9000 using XDA App
android53 said:
What are the possibilities of using our 2gb of ddr program storage and re allocating it as system ram?
Click to expand...
Click to collapse
very good, this post actually explains how to make a swap file (on /cache which is fast nand!).
if you want a swap partition you could a) use part of the 2gb /data partition for a new swap partition which you create in a project-voodoo like manner -> not very easy to do as you would have to repartition /data before boot OR b) just make a 2nd partition on your external sd card to swap on. a lot of people (me included) actually did this with their htc magic.
but to be honest i don't think that you will gain any speed improvements with this, on the contrary your system will be slower an more laggy... i found swap even worse on the magic with ~90mb of user-available-ram. if you want to try it nevertheless, it think the swap file on /cache would be a good start!
jodue said:
very good, this post actually explains how to make a swap file (on /cache which is fast nand!).
if you want a swap partition you could a) use part of the 2gb /data partition for a new swap partition which you create in a project-voodoo like manner -> not very easy to do as you would have to repartition /data before boot OR b) just make a 2nd partition on your external sd card to swap on. a lot of people (me included) actually did this with their htc magic.
but to be honest i don't think that you will gain any speed improvements with this, on the contrary your system will be slower an more laggy... i found swap even worse on the magic with ~90mb of user-available-ram. if you want to try it nevertheless, it think the swap file on /cache would be a good start!
Click to expand...
Click to collapse
If we go for b, will the sgs detect and use the swap partition or do we need to do something else.. I still use my htc magic along side my sgs
Sent from my GT-I9000 using XDA App
i have tried using a swap file, but i didnt c any improvements, and the usage was about 500kb only
I recall that on liquid we managed to use a ramzswap module, which fakes a zipped swap partition in ram. It causes cpu to work a bit more, but it was still efficient.
Elvoski said:
If we go for b, will the sgs detect and use the swap partition or do we need to do something else.. I still use my htc magic along side my sgs
Click to expand...
Click to collapse
you would have to repartition our external sd to have a second (linux swap) partition.
then use mkswap to set the partition up and after that call swapon. swapon has to be redone every time you restart but you could place it in a playlogos1 script to automate that.
captive said:
I recall that on liquid we managed to use a ramzswap module, which fakes a zipped swap partition in ram. It causes cpu to work a bit more, but it was still efficient.
Click to expand...
Click to collapse
compcache?! ... i guess this would also be a good trade off for our galaxy s because the cpu is definitely not the bottleneck here...
btw. a good read about swap & compcache from the cyanogenmod wiki: swap & compcache
android53 said:
What are the possibilities of using our 2gb of ddr program storage and re allocating it as system ram?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Bad, bery bad idea, MoviNand is not in any way releated to DDR. It's waaaay slower.
Also, RAM is designed for virtually unlimited data read/write counts.
NAND memory is not.
What would be the benefit of using swap space? Nothing. Data is being read/written in filesystem in the end. No improvement in performance. (It could be seriously degraded).
This behavior is totally against Android core design principles. Android doesnt use swap because it doesnt need to. Programs not fitting into "RAM" are being closed with their state remembered. When program is re-launched it is loaded from filesystem and its state is being restored.
If we had "swap" space, it would become really messy. Just imagine:
System wants to close program X, resident in swap, it needs to:
- restore program from swap to RAM (talk about additional ram needed)
- close program, resulting writing state to FS.
i was talking about this sort of thing with Ryza and Voodoo guy they said it was too much work
i'm forward with the idea of using a Swap drive in RAM or external SD
to prevent over usage on the internal SD
This means external SD would need to be powered up at all times -> battery drain (it is present with APPS2SD - or whatever this name was)
Wuld this mean that we would have extra ram available for running apps...like SGS task manager will show more than 311Mb RAM ?
If this is the case then I am very interestied, since I don't care about speed so much. I just need to run an app that currently can not run due to out-off-memmory (needs 130Mb of RAM) for pure presentation purposes
There is a app in market called swapper2 which can make use of the swap partition or creates a swap file for use. I had been using this app since my HTC MAGIC and now on SGS.
I'm currently using swap partition that had been created earlier in my class 6 SDCard. Works on both eclair or froyo kernels on SGS. So far I am not complaining, with swappiness 20, there is not much of memory hog or lag due to opening too many apps or single memory hogging apps (like flash on browser) on my XXJPK, the swap memory gets allocated and deallocated as you can tell from the swapper info feature.
But the battery effects is something to think about though, sdcards are cheap so I don't mind sacrificing it. The other way is to create a swap file on the rfs and use it if you value your sdcard. The screenshot provided is a normal usage of my device with a few apps running at background (Still gonna be 300+ RAM, nothing magical about it though) and I had also used minfree tweak on the kernel.
You can try and see if it helps in terms of performance for a few days. I cant vouch for the swapper a lot as I'm using it myself - I am more uncomfortable without it though. What Xan said does makes sense but there are rare times when the things that doesn't makes sense gives us surprises.
A good read up and comments from people who had tried and used it in different scenarios...
http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/
Sent from my GT-I9000 using Tapatalk
Is there a way to partition the SD card in such a way that the EVO can access it for RAM? Running some of the newer sense 2.1 and 3.0 roms my RAM tends to dip down as low as almost 50MB free, and I'm constantly having to kill tasks to free up more. Any ideas?
Not really. RAM and storage are different things. Granted, there is the concept of a swap file, but I don't think that's something people generally see as very useful in Android. See this article:
http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/
Eh I didn't think so.... I've even noticed on the EVO 3D that it's a process hog too. Oh well. Thanks for the reply.
I flashed the final evolved rom to my evo "r3 charged final"
I have noticed that with all the roms I flashed since 2.3 came out that i have very little free memory the previous rom I had about 130 megs but now I'm running 80 -100 and that is with a task killer set on 1 min kill intervals.
I read about low ram and something called HSPL but i have no idea what it is or how I can flash it
can any one help
also on the rom install i wiped the phone and even formatted the sd card so i know the install was clean ( it also runs really good until the memory gets below 70megs )
thanks for your help
Had the same problem, you need to partition your SD card and install apps 2 SD., I use one called dta2sd( dark tremors Apps2sd. Before using I used to get low memory messages all the time...
Give it a try it helped me out..
Sent from my PC36100 using XDA App
is this for you to move your apps to or is this to use like ram it appears that my phone is running low on ram for the running processes but not room for storage ( I moved almost all my apps to the sd card already )
thanks for your quick reply above
Think its for more memory space for apps, but it must create more system memory as well, because before I used it I had moved all my apps to SD, but I was still running low on memory. Since Ive used apps2sd ive had no more memory shortages
Hope you like that Rom I've used it my self and its a good one.
Sent from my PC36100 using XDA App
I just partitioned my card but it did not affect my free available memory but i now have tons of storage space on my phone.
thank you for the advice though i really like having all the apps on a partition freeing up space in the phone any way ( i use alot of apps )
indyjames said:
Think its for more memory space for apps, but it must create more system memory as well, because before I used it I had moved all my apps to SD, but I was still running low on memory. Since Ive used apps2sd ive had no more memory shortages
Hope you like that Rom I've used it my self and its a good one.
Click to expand...
Click to collapse
sounds like you don't quite understand the difference between ROM/storage space and RAM/memory.
A lot of people use memory and storage interchangeably but that is not accurate.
The OP is having a problem with low memory/RAM meaning that the OS and running programs are utilizing too much RAM, IE too many apps or processes are running or there is a memory hole/leak somewhere. He is not having a problem with storage space or room to install additional applications or store additional data.
you can use the V6 supercharger or Car-o-dope tweaks (i think thats what it is called) they will increase your RAM
If you get the RC4 release of the V6 (its still stable but not on the main page) you should do option 7 and 20. Be sure to nandroid before.
V6 Main page: http://forum.xda-developers.com/showthread.php?t=991276
V6 Beta: http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Sorry I couldn't help more...
Sent from my PC36100 using XDA App
Thanks...don't some ROM's use less memory? I'm running an AOSP ROM and it seems quicker than the Sense ROMs.
Sent from my PC36100 using XDA App
indyjames said:
Thanks...don't some ROM's use less memory? I'm running an AOSP ROM and it seems quicker than the Sense ROMs.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Aosp is faster then sense ALWAYS. And some roms do use more memory then others
Sent from my PC36100 using XDA App
Thanks for the heads up on the RC4 release of the V6 I put it in and it did help my memory on this rom . So after partitioning and running the script I just have one strange question.
Does this rom have a built in power battery saver? i am not running any sort of battery saver, I am running a task killer still but only to see free ram since the script does the task killing now. I notice my wifi shuts off when the phone sleeps and that I have sleep mode that enables at about 11pm. Is there a way to kill this since I do most of my computer geek stuff late at night.
I have looked all through my apps and i have nothing installed that i believe could be doing the power conservation stuff
thanks
I'm asking because I'm frequently out of RAM, causing extreme lags and launcher reboots. I know the CPU reserves 300MB, leaving 700MB, but how much do ROMs typically occupy? Any recommendation for leaner ROMs? Or perhaps there are modifications to enable more aggressive task killing (non-background tasks)?
843 said:
I'm asking because I'm frequently out of RAM, causing extreme lags and launcher reboots. I know the CPU reserves 300MB, leaving 700MB, but how much do ROMs typically occupy? Any recommendation for leaner ROMs? Or perhaps there are modifications to enable more aggressive task killing (non-background tasks)?
Click to expand...
Click to collapse
Run out of RAM? never again with this Mod
Gnex Supported! :good::good::good:
http://forum.xda-developers.com/showthread.php?t=2145133
How would that work since my GNex doesn't have an SD card? Isn't everything on the same internal memory?
843 said:
How would that work since my GNex doesn't have an SD card? Isn't everything on the same internal memory?
Click to expand...
Click to collapse
First of all, that mod puts it in /system, /data and/or /cache. So it doesn't even try to use the sd card regardless.
Second, I just thought i would try it out and it throws out an error "incompatible with your device Galaxy Nexus (toro).
I figured maybe i would give swapper 2 a go again. It hasn't been updated in ages, but it seems to work. You can leave it on sdcard (which is just internal memory anyway) or change the directory to any you want. I changed mine to /cache since my sdcard is kind of full. Can even change the swapiness within the app. Only downside is the limit for it is 256mb. So far it seems to be working properly on Verizon Galaxy Nexus stock, rooted, 4.1.1 with lean kernel.
Sent from my Galaxy Nexus using Tapatalk 2
I have done some tinkering. What seems to work for me is limiting background processes to 4 or less. These turn out to be cached processes which keep opened apps open. They eat up your remaining RAM and should ideally be removed if an app you're trying to run demands it. However, the removal process causes significant lag, possibly due to the slow internal memory the GNex has.
I'm running CM10 (4.1.2), and I have 245MB free right now. It has gone down to as low as 150MB, but rarely below. When using 4.2.2 based roms, I get as low as 40-50MB, which causes problems. I don't have high hopes for 4.3 right now.