[Q] Swap on or off - Legend General

Hi, I have a small question regarding swap.
I know that under normal circumstances, the android way of control low memory is faster the using swap. But, since I use data2ext the applications
start from the sdcard.
So swapping out apps should be faster then shutting them down, since they will start up again from the sdcard anyway.
Or am i completely wrong here?

I think that "move out to swap an load it back" is always slower than "kill and load it from SD".

I don't use swap

Related

Always low on memory - Advice

Hi all,
I'm always low on memory on my phone, I run quite a few hungry apps so looking at suggestions now please. I'm a linux-person but this one baffles me on the right way to go ahead.
I'm on CM-4.2.3.1 pretty much as standard, no tweaks to note on it.
Advanced Task Killer shows me at generally around 17Mb available memory, but in my logs I often get:
Code:
11-12 13:33:43.102 I/ActivityManager( 322): Low Memory: No more background processes.
So I'm thinking I need to do something. I've not got swap enabled, nor have I got compcache as far as I'm aware, so what should I go for here and is there a simple guide on it? As I have done a few searches and its overwhelming the information that comes back.
Thanks in advance everyone
You could try the free app "automatic task killer" see if that helps. I've personally came to the conclusion that CM 4.2+ ROMs are RAM hogs themselves. Try flashing a ROM with the 10 meg RAM hack if it bugs you.
You're supposed to be low on memory.. That means your phone is using the it to the greatest efficiency.. Empty memory is wasted memory. Unless you're experiecing long load times and loads of caching, its normal.
goldenarmZ said:
You're supposed to be low on memory.. That means your phone is using the it to the greatest efficiency.. Empty memory is wasted memory. Unless you're experiecing long load times and loads of caching, its normal.
Click to expand...
Click to collapse
qft, this is typically how linux runs anyways.
Do you have an ext partition on your SD for apps2sd? How about a linux swap partition (enabled)?
mikedmeyer said:
Do you have an ext partition on your SD for apps2sd? How about a linux swap partition (enabled)?
Click to expand...
Click to collapse
I second the suggestion for using a linux swap partition!
Agreed, and yes I have a swap partition correctly formatted, however thats the problem there are too many "guides" of how to enable/use the swap on CM, so if anyone can point me to the right entry (couldn't find it on the CM wiki either), or how to enable any of the other memory enhancements (compcache or whatever)
Thanks!
You can dl user.conf app from the market. explanations are given in the help section

Problems with MT3G speed/lag

Hello, ive been having some issues with my MT3G over the past few days and ive noticed my phone has been lagging a lot even after rooting, installing latest cyanogen rom and using compcache. here is my setup:
mt3g 32b
cyanogenmod 4.2.11.1
Compcache default settings
lock home app in mem, otherwise i get reloads
i think the problem is that random apps keep turning on by themselves even after i kill them with advanced task manager. phone lags, i check task manager and apps like amazon mp3, market, messaging (i use handcent), locale (i now uninstalled it), settings and other random apps and i never launched any of these apps. so i kill all the apps, the phone runs fine and fast but about 1 min later other random apps load again and i have to rekill them. what gives? ive tried wiping and reinatalling to no avail... why does everyone else seem to have constantly fast mt3g's when i have essentially the same setup?
Seriously, no one?? Come on guys, at least someone has some advice?
have you tried changing your linux swap instead of compcache? Also, have you tried the ram hack?
I'm not sure why you have those things turning on again. I don't have that problem with my mt3g
double post
Thanks for the reply, I don't use linux swap (apps2sd?) considering the phones internal memory is quite a bit. I read about the ram hack but I use the phone for gaming quite a bit so I don't see how I would benefit from that. If linux swap really does make the difference then I guess I have no choice. The only thing that worries me is the sd card wearing down because of it although it doesn't seem to be much of an issue with G1 users or am I wrong?
linux swap is not apps2sd. it gives the phone more virtual memory that it feeds off the memory card to make up for the lack of ram over the 32A. ext is where the apps are stored for apps2sd, but the phone does not need that.
The ram hack only makes 3D gaming suffer. Games like ProjectINF, RoboDefense, Pacman, etc don't suffer from this. Even then, some 3D games still work fine for me, like Toon Warz.
And not the SD card doesn't really go bad, it has on some people, but even then, most sd card come with 5 year warranties. My transcend comes with a lifetime warranty, so you shouldn't worry about it.
Thank you, that cleared up a LOT of my confusion! I read somewhere that Amon_Ra's recovery image will setup linuxswap with one of its commands (partitioning?) or am I mistaken?
it partitions it into the 3 sections. fat32+ext+linux swap. This is what I did. However, this will give you the ext which will transfer all the apps to your sd. you can however, delete your ext if you don't want that using parted in adb. from there, you can use the swapper app and set it to your liking. I use 64mb and 40 swappiness.
Thanks for the help Tazz, linux swap made a difference. There's still a small lag sometimes but much less than before and less frequent. By the way, swapper seems to have been removed from the market for some reason.

Cyanogen Froyo Rom Questions

I know these roms don't use partitions but do use ads2sd (install to sd). Do you have to check a box like 2.1 to activate? Do all programs that are installed go to the sd or just ones that have it built in their programs?
With my rom(and likely the other CM6 based roms) you can move any app to SD, you just hit the 'move to sd' button in the app manager. You do need to enable the 'any app' part for apps that don't specifically support it.
I've tried to move all my apps to sd from cyanogen settings, but this way my home screen takes 3-4 seconds every time to load all the icons.
so i had to reinstall all my apps into the internal memory.
any advice?
Tks
Certain apps do not perform well from the SD card, do not put any apps that load widgets onto the SD card either it can cause them to stop loading. Just put games or things like that on it.
right, by using all widgets and apps from the internal memory, it works better, but sometimes it still takes some seconds to load the home icons.
i'm also using the overclock at the maximum rate, installed in the internal memory, and a task killer to kill all the apps to free memory.
i'm not very very happy about this version 2.2 on g1: is it just my problem or is it a known problem?
Probably i'll go back to the 2.1
tks a lot.
ominide said:
right, by using all widgets and apps from the internal memory, it works better, but sometimes it still takes some seconds to load the home icons.
i'm also using the overclock at the maximum rate, installed in the internal memory, and a task killer to kill all the apps to free memory.
i'm not very very happy about this version 2.2 on g1: is it just my problem or is it a known problem?
Probably i'll go back to the 2.1
tks a lot.
Click to expand...
Click to collapse
How fast is your SD card? Sounds like just a slow card.
ominide said:
right, by using all widgets and apps from the internal memory, it works better, but sometimes it still takes some seconds to load the home icons.
i'm also using the overclock at the maximum rate, installed in the internal memory, and a task killer to kill all the apps to free memory.
i'm not very very happy about this version 2.2 on g1: is it just my problem or is it a known problem?
Probably i'll go back to the 2.1
tks a lot.
Click to expand...
Click to collapse
g1? This is an Eris forum. Anyway, apps are loading slowly because you keep killing them.
Sent from my KaosFroyoEris
i'm sorry, i didn't noticed the eris forum.
my sd is a 8gb, class 4, with partition and swap 64mb.

[Q] Why move apps to SD card?

I just wanted to know what are some OTHER benefits to movie apps to the SD card?
I know that it will save you some space on the built-in phone memory, but is that really it?
Please correct me if i'm wrong, Won't the apps launch faster and run smoother if they are on the built-in phone memory? Also won't it save a little bit a battery since it doesn't have to transfter back and for from built-in phone memory<->SD to run apps?
Just a thought.
There's no difference at this time, now that phones come with at least 1gb or rom. In the future, when games increase in size, there will be some benefit to it but I wouldn't worry about it at this time.

[Q] New to Android

Ok i am new to Android i just traded my iPhone 3G for a HD2. I spent around 3 or 4 hours trying to get it running the way i like. After many errors i am on NexusHD2-Gingerbread_V2.9_NAND_(Android-2.3.5) and i am very happy. So now i need some help and yes i did look around before i am asking this. I read on a forum that i could install my apps onto my memory card and not into the phone is this true for the OS i am running now. And also i wanted to know if there is any apps i may need to make my phone run better even some cool apps i make need just to be happy/
hi razielleonhart, I believe you're referring the to the ext-sd function. To do that you'll have to repartition your SD card. You can do that in CMR (I believe you are booting form NAND?). Normally just choose a ext partition size and set the SWAP memory to 0 (I'm not sure what the SWAP is for, but I think it's to compensate your RAM if your RAM runs out of space, but that's unlikely on the HD2). When you boot back into Android you will notice that your "internal" memory has increased. Not all ROMs support this, and you'll have to check the thread on the particular ROM to see if the developer has cooked his ROM for that.
And you might want to check out some cool (but sometimes slightly hazardous apps) like SD booster (sets a new cache size on your SD card to make it run faster, just search the market) or SetCPU (allows you to overclock/underclock your phone's CPU, see link at http://forum.xda-developers.com/showthread.php?t=505419).

Categories

Resources