System agonizingly slow without background processes limited - Samsung Galaxy Gio GT-S5660

Everything crawls to a halt without background processes limited to 4 or fewer. Opening up a terminal and running iostat reveals swap is 90MB full and IOWAIT is at around 40%. This suggests processes aren't closing properly, forcing new applications to be allocated to swap.
I've tried messing with Dalvik settings, but nothing seems to work except limiting background processes. I understand Android is meant to be left to its own devices in this regard, but waiting a minute for the browser to load up is unacceptable.
My Gio's running cm-10-20121204-UNOFFICIAL-gio.zip (link). I tried Maclaw's ROM, which was much faster, but the bugs annoyed me.
Any suggestions would be greatly appreciated. Thanks.

Erickas CM10 is slow but maclaws cm10 is the best
Sent from my GT-S5660 using xda app-developers app

Related

Performance Degrading

I have started to notice the performance of my htc Desire degrading.
Apps take longer to load. Where before it was almost instant, now I have to look at plain black or white screens while the apps load.
Not sure what could be causing the problem. Anyway i can find out whats the causel?
Its a stock unrooted 2.1 desire.
Only things i have loaded recently is HTC IME keyboard mod and "what the doodle". all other apps were running for a long time.
Stock Unrooted 2.1? Just install 2.2, it's much faster.
I have found that the amount of available memory/RAM decreases the more you use the device. Not sure if its due to a memory leak somewhere, apps getting greedy with RAM, or what. I find that when it gets to a point thats too low for my taste, or performance starts to degrade, a simple restart works to clear up the issue. This happens even with a task manager, so I am not sure what the cause of the memory degradation is.
Mine did the same whilst on 2.1
Does a re-boot not speed things back up? If not it could be a dodgy app hogging memory.
When this happened to me, I fixed it by backing up using mybackup pro (worth every penny) and doing a factory reset. Takes only half an hour, and gets your desire back to box fresh speedy. Just be mindful of which apps you put back on.
I also take it your stock desire is branded? When your carrier releases 2.2 to you, you'll see a vast improvement too.
Sent from my HTC Desire using XDA App
I noticed this on my Desire (2.2 custom ROM) just now, and it seems to be a memory thing as according to "Android System Information" the CPU usage is low (under 10%) while the RAM usage is high (only 7% free). Is there any way to prevent the RAM going so low and performance degrading as a result? Will a task killer help for this? (I've read not to use them as Android's meant to take care of tasks but if it's not doing a good enough job of clearing up old tasks then surely it would be better to use one?)
Es task manager works well for me when my ram is getting low. Nice not having to reboot. Im on froyo 2.2
Sent from my HTC Desire using XDA App
Stock Desire on 2.1 used to slow down once it got to about 40mb free. Now running 2.2 and its always above 100mb. Runs fast all the time now but I keep my task manager from the 1.5 days as its handy to know what is running and using up the RAM
Sent from my HTC Desire using XDA App
ergoulf said:
Es task manager works well for me when my ram is getting low. Nice not having to reboot. Im on froyo 2.2
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
What do you do in ES Task Manager to free up your RAM? I tried "Kill All" but it didn't seem to have much effect (still stays at around 40 MB free). Had to restart in the end to get the performance back up to scratch (now has over 140 MB free).
Whiterin said:
I have found that the amount of available memory/RAM decreases the more you use the device. Not sure if its due to a memory leak somewhere, apps getting greedy with RAM, or what. I find that when it gets to a point thats too low for my taste, or performance starts to degrade, a simple restart works to clear up the issue. This happens even with a task manager, so I am not sure what the cause of the memory degradation is.
Click to expand...
Click to collapse
Same issue here and i suspect that default browser is the cause.
When free RAM goes very low, generally after one or two days from the startup in my case, i use free app OSManager to see all running processes. This app shows several instances of default browser process (called Internet), each one eating 40-50 Mb of RAM and in sleep state (not zombie). System never removes them and manual killing doesn't work, so there stay in memory over time. I tried different task managers, but only OSManager shows this detail.
To confirm this hypothesis, now i start to use Dolphin instead of default browser: in a couple of days, i will know if the issue is still present.
onmichele said:
Same issue here and i suspect that default browser is the cause.
When free RAM goes very low, generally after one or two days from the startup in my case, i use free app OSManager to see all running processes. This app shows several instances of default browser process (called Internet), each one eating 40-50 Mb of RAM and in sleep state (not zombie). System never removes them and manual killing doesn't work, so there stay in memory over time. I tried different task managers, but only OSManager shows this detail.
To confirm this hypothesis, now i start to use Dolphin instead of default browser: in a couple of days, i will know if the issue is still present.
Click to expand...
Click to collapse
Well, this isn't the cause for me as I have always run Dolphin Browser HD on the Desire. I don't use the default browser. I think it's mainly system processes that just stack up in the background. I found that going through and trimming the list of system processes did free up the memory, but it's just as fast to restart the device.

RAM usage after eating ICS

honestly, its become smoother and much responsive than in gingerbread
but the available RAM has also noticeably reduced, in fact, a LOT!
in 2.3, it was somewhere between 300-350M after average use (not boot up)
now, in 4.0, it can reach as low as 180M, usually 230M i think
please advise if sort of memory freeing app is necessary
thanks a lot
beveve said:
honestly, its become smoother and much responsive than in gingerbread
but the available RAM has also noticeably reduced, in fact, a LOT!
in 2.3, it was somewhere between 300-350M after average use (not boot up)
now, in 4.0, it can reach as low as 180M, usually 230M i think
please advise if sort of memory freeing app is necessary
thanks a lot
Click to expand...
Click to collapse
I advice against task killers. You could install the init.d support and run some scripts to help optimize your resources.
beveve said:
honestly, its become smoother and much responsive than in gingerbread
but the available RAM has also noticeably reduced, in fact, a LOT!
in 2.3, it was somewhere between 300-350M after average use (not boot up)
now, in 4.0, it can reach as low as 180M, usually 230M i think
please advise if sort of memory freeing app is necessary
thanks a lot
Click to expand...
Click to collapse
Sony did said ics took more ram than GB long time ago. You dont need to freeze any app, the system will automatically free up unused app ram once it requires more ram from current app
Sent from my LT28i using xda premium
Yep. This is typical of ICS. Do not worry. Enjoy the fluidity.
Sent from my LT28at
thank u all comments have been helpful
no more concerns then:good:
Of course more ram is needed for smoother transitions and so on, once you notice the phone lagging and having most of its ram used then its a problem. GB is smooth for me right now knock on wood
Sent from my LT28at using xda premium
i've been on ICS for 5 days and checked pretty regularly. Only rebooted the phone once since i flashed it. This morning i have 360Mb in use...GB i seemed to always hover around 300Mb in use. So so far the ICS hit doesn't seem too large on my end.
There are about 20 odd apps i haven't reinstalled though since the flash; mostly games and a few things i ended up using less than i thought i would. I have 3 home screens stuffed full of widgets for data toggles, weather, music, etc. The main home screen being relatively empty, and the other just straight up app icons.
It swings a lot though. the ICS browser, with lots of windows running, will eat it all up...causing it to take a second or two for everything to pop up on the home screens when i quit out. This is my first android device, so i'm still learning the ins and outs...but i disabled every AT&T app i could, and they are no longer showing up in my process tree...Navigator used to eat 40Mb of memory despite me never once opening it..that'll do until i get around to digging deeper and removing them entirely.

[Q] Galaxy nexus gaming ridiculous lag

Hi there
I have a Galaxy nexus on android 4.3 and running 3d games have lots of lag. For example, the game with the most amount of lag is Modern Combat 4 with the meltdown update. Is there a way to improve the gpu processor power on the phone so that itwouldboost the framerate? Its always about 5-15 fps and im so annoyed. If there is a solution, could you let me know? My galaxy nexus is not rooted.
Does it plays smoothly then, for no reason, it gets laggy for some seconds, then come back to play everything smoothly again, then repeats? Or it just keeps being laggy at all times?
ygorvaz said:
Does it plays smoothly then, for no reason, it gets laggy for some seconds, then come back to play everything smoothly again, then repeats? Or it just keeps being laggy at all times?
Click to expand...
Click to collapse
It does exactly that, it plays smooth for 5 seconds then ridiculous lag for 10 seconds then repeats like a loop.
--------deleted------------
speedsolve said:
It does exactly that, it plays smooth for 5 seconds then ridiculous lag for 10 seconds then repeats like a loop.
Click to expand...
Click to collapse
What I'm gonna tell you now may be related to what what is happening with your device or not. It was my problem, so if it's not this I don't know what can be happening.
First, the galaxy nexus can downvote it's processors when it's too hot, although it's probably not that, just keep that in mind.
Anyway, go to settings - apps then "running apps" and check the used and free ram. If you have high RAM usage (like, 600 mbs being used) than this is probably the problem. While you're in the game, your gnexus will try to clean RAM for it, but since your gnexus is already out of RAM, it will force close background app's and services, but since those are required to run all the time, all that's going to happen is that they will keep being restarted, causing lag in the apps that are running.
To check if this is the problem, just check how much free ram you have free. If it's too low, open a game (even temple run 2 or sub way surfers will do), then when the game starts, go back to settings-app-running apps and check for things restarting.
If this is the problem, then you need to see what is the apps that are consuming all your RAM (although it can be android itself, just keep reading).
Just check what apps are in the running part of the "running apps". If you have a lot of apps running, then you can try freezing some of them or unnistalling the ones that consume more RAM. BUT! it may be that there's just too much RAM being consumed even though you have few apps running, in this case, the problem is android itself.
I don't know if this happens to android 4.3 itself, the gnexus's version of it or if it's some app causing it, but there's a memory leak that will eventually consume all your RAM. I'll use my case as an exemple: I have some common apps running on background (facebook, messenger, whatsapp, airdroid, 3d watchdog). If everything is normal, my "used RAM" keeps aroung 430mb~. Leaving almost 200mb~ free for apps to use. But after some days using my phone, the used ram will grow to 500, then 550, then 600mb, eventually to 630mbs.
Check if this is happening to you. To check, simply reboot your device, then when it boots, check how your RAM is being used.
If it was normal before the reboot (around 500mb, probably even less) and stay this way after the reboot, then your problem is another one, then I can't help you.
If your RAM was high and after the reboot it's still high, check your running apps.
If it's high but after the reboot it's back to normal, then you just "solved" your problem. Just keep rebooting daily.
If this was your problem, then enjoy your phone. If it's not, you can try checking some other things like the I/O speed (which was solved in android 4.3. Check this thread http://forum.xda-developers.com/showthread.php?t=1971852&highlight=trim ).
ygorvaz said:
What I'm gonna tell you now may be related to what what is happening with your device or not. It was my problem, so if it's not this I don't know what can be happening.
First, the galaxy nexus can downvote it's processors when it's too hot, although it's probably not that, just keep that in mind.
Anyway, go to settings - apps then "running apps" and check the used and free ram. If you have high RAM usage (like, 600 mbs being used) than this is probably the problem. While you're in the game, your gnexus will try to clean RAM for it, but since your gnexus is already out of RAM, it will force close background app's and services, but since those are required to run all the time, all that's going to happen is that they will keep being restarted, causing lag in the apps that are running.
To check if this is the problem, just check how much free ram you have free. If it's too low, open a game (even temple run 2 or sub way surfers will do), then when the game starts, go back to settings-app-running apps and check for things restarting.
If this is the problem, then you need to see what is the apps that are consuming all your RAM (although it can be android itself, just keep reading).
Just check what apps are in the running part of the "running apps". If you have a lot of apps running, then you can try freezing some of them or unnistalling the ones that consume more RAM. BUT! it may be that there's just too much RAM being consumed even though you have few apps running, in this case, the problem is android itself.
I don't know if this happens to android 4.3 itself, the gnexus's version of it or if it's some app causing it, but there's a memory leak that will eventually consume all your RAM. I'll use my case as an exemple: I have some common apps running on background (facebook, messenger, whatsapp, airdroid, 3d watchdog). If everything is normal, my "used RAM" keeps aroung 430mb~. Leaving almost 200mb~ free for apps to use. But after some days using my phone, the used ram will grow to 500, then 550, then 600mb, eventually to 630mbs.
Check if this is happening to you. To check, simply reboot your device, then when it boots, check how your RAM is being used.
If it was normal before the reboot (around 500mb, probably even less) and stay this way after the reboot, then your problem is another one, then I can't help you.
If your RAM was high and after the reboot it's still high, check your running apps.
If it's high but after the reboot it's back to normal, then you just "solved" your problem. Just keep rebooting daily.
If this was your problem, then enjoy your phone. If it's not, you can try checking some other things like the I/O speed (which was solved in android 4.3. Check this thread http://forum.xda-developers.com/showthread.php?t=1971852&highlight=trim ).
Click to expand...
Click to collapse
When I checked, I had about 300-400 megabytes of ram being used. Thank you for the info and the effort though. It has a dual core processor, it should be able to run well.
I figuare out the problem of the game lag, the CPU temperature limt!
If you're using custom kernel, set the limit to 74, and u will find out it smoothly on game play, plus if you of the gpu to 384, its almost lag free, but frame drop is also here coz the gpu power.
Does this work on stock kernel also? Last time i had custom kernel, lots of screen problems.
speedsolve said:
Does this work on stock kernel also? Last time i had custom kernel, lots of screen problems.
Click to expand...
Click to collapse
Nope, flash leankernel, wipe cacje and dalvik cache, install trickster mod, and adjust the settings.
Quite less you can do with stock kernel.
ok i have lean kernel but where do i change the setting in the franco kernel app
speedsolve said:
ok i have lean kernel but where do i change the setting in the franco kernel app
Click to expand...
Click to collapse
You need to use trickster mod not Franco app. The Franco app is optimized for the Franco kernel.
Sent from my Galaxy Nexus using XDA Premium HD app
OK I installed trickster but every time I try to change a setting, after a reboot, it goes back to stock. What now
Sent from my Galaxy Nexus using xda app-developers app
mrgnex said:
You need to use trickster mod not Franco app. The Franco app is optimized for the Franco kernel.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
FKU also incorporates LeanKernel Updater so why isn't it optimized
And just to add that the above trick of disabling thermal throttling works nicely for me. I always wondered about why playing PPSSPP produces random lag - setting the governor to "performance" won't help a bit - and FKU saved my ass!
Sent from Samsung Captivate Glide @ CM10.1.2

Whats using all of our ram?

I have been trying to figure out why the Note has so little of the 3 gb of ram available at any given time. After a fresh boot, I might have 1.3 - 1.5 available, but that quickly disappears.
I have frozen all unnecessary apps with Titanium Backup, yet after launching just a few apps, I'll be down to 300 mb or so. Looking at the active applications list in task manager, the apps listed are nowhere near to adding up to over a gb of ram.
Tablet seems to be performing fine, I'd just like to know where the ram is going and why. Especially when tablets with 2 gb of ram seem to have much more free at any given time.
Sent from my SM-P600 using Tapatalk
i am with you on this issue. would like to find out for my self as well! constantly having to clear ram.
youtube, gmail, and browers = 2.1 gb / 3 gb ...
what the heck?
i constantly have to go back and clear apps, this is such a let down because my htc one could load much more than this, and every1 knows, htc one is no where near the spec of note 2014..
I'm not rooted but I noticed the same thing with the ram, I thought rooting and freezing some Samsung apps, specially Knox stuff, would free up a lot of ram. I'm starting to think that it's not a big deal and Android frees up ram as needed before it starts to get laggy (of course it's not perfect). I think lag issues are somewhere else and not so much in freeing up more ram. Don't you feel anyway that your note is a lot faster after rooting and freezing those apps? As far as I know most rooted users feel that way...(?)
Sent from my SM-P600 using XDA Premium 4 mobile app
I have rooted mine about two weeks ago then froze all sort of junk listed in here and some other I identified mysefl. Now my used ram remains around 500 clean and around 700-800 when I open few apps. So guys the secret is getting a lot of useless apps frozen especially knox stuff.
greyhulk said:
I have been trying to figure out why the Note has so little of the 3 gb of ram available at any given time. After a fresh boot, I might have 1.3 - 1.5 available, but that quickly disappears.
I have frozen all unnecessary apps with Titanium Backup, yet after launching just a few apps, I'll be down to 300 mb or so. Looking at the active applications list in task manager, the apps listed are nowhere near to adding up to over a gb of ram.
Tablet seems to be performing fine, I'd just like to know where the ram is going and why. Especially when tablets with 2 gb of ram seem to have much more free at any given time.
Sent from my SM-P600 using Tapatalk
Click to expand...
Click to collapse
Android is based on Linux. Android and Linux both run better when they use as much ram as possible. If you Google Android ram usage you can find a couple of interesting articles about this.
Sent from my SM-P600 using XDA Premium HD app
nrage23 said:
Android is based on Linux. Android and Linux both run better when they use as much ram as possible. If you Google Android ram usage you can find a couple of interesting articles about this.
Sent from my SM-P600 using XDA Premium HD app
Click to expand...
Click to collapse
Yup, stuff is kept in the RAM as much as possible to increase performance. As soon as an app requires more RAM than is available, the system moves apps from the RAM as required. Clearing the RAM only increases the time it takes to start an app next time.
I would be disappointed if its NOT beeing used...
Sent from my GT-I9300 using XDA Premium 4 mobile app
delanvital said:
Yup, stuff is kept in the RAM as much as possible to increase performance. As soon as an app requires more RAM than is available, the system moves apps from the RAM as required. Clearing the RAM only increases the time it takes to start an app next time.
Click to expand...
Click to collapse
People are used to Windows needing free ram and do realize that Linux is a completely different animal altogether.
Here is the article for those that want to understand the ram usage.
http://www.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
http://www.linuxatemyram.com/
Okay, guys. Disclaimer: I'm an IT professional and the Mobility expert for my company. I know how the RAM is used and why. I'm just curious as to what is using it. Especially in comparison to the Nexus 10, which has 2/3 of the RAM and has approximately the same amount available at any given time.
I wasn't looking for assurance that this is how it's supposed to work. I'm curious as to what you guys think is actually filling it up. Since I have disabled most unnecessary processes and only run a few apps at any given time, I can't see why so little is free.
greyhulk said:
... I'm curious as to what you guys think is actually filling it up. Since I have disabled most unnecessary processes and only run a few apps at any given time, I can't see why so little is free.
Click to expand...
Click to collapse
The objective of good android RAM management is to keep RAM full of the the highest priority apps. This enables faster and smoother response. The apps that are in RAM on your device will be different than on someone else's device. If you are curious about how android decides what put in RAM and what to take out, do a google search on "android process lifecycle"
if you're concerned about ram usage go to dev settings and change the "Limit background processes" to something more you liking.

Memory usage

Hey,
So I've been using my Nexus 5x with much pleasure but lately it's getting impossible to switch tasks fast, because they're all closing because of memory shortage. Looking in my settings it shows me that Android OS (780mb), play services (150mb) and Android system (140mb) and System UI (90mb) together take up almost 1,2GB of the 1,8gb memory. I don;t know if this is related to me being in the preview program (and having a lot of preview images updates over the last year) or it's just that the newer Android takes up more memory.
I'm pondering stepping out of the bèta program and reflashing the stock rom, but I was wondering if any of you can shed some light if this will actually help.
Thanks!
eldinnie said:
Hey,
So I've been using my Nexus 5x with much pleasure but lately it's getting impossible to switch tasks fast, because they're all closing because of memory shortage. Looking in my settings it shows me that Android OS (780mb), play services (150mb) and Android system (140mb) and System UI (90mb) together take up almost 1,2GB of the 1,8gb memory. I don;t know if this is related to me being in the preview program (and having a lot of preview images updates over the last year) or it's just that the newer Android takes up more memory.
I'm pondering stepping out of the bèta program and reflashing the stock rom, but I was wondering if any of you can shed some light if this will actually help.
Thanks!
Click to expand...
Click to collapse
It's part of the new method for ram management. It's normal. You'll notice those take up tons of ram even on a fresh install. Over time the more apps you install the more processes they auto start. This is what will cause those things to happen. For me I noticed for example first when the HDR processing of taking a picture would push hangouts out of memory even when I was actively talking voice, it just wasn't in the front running. Android does much like windows now in claiming lots of memory to better manage and allocate it as needed
Sent from my Nexus 5X using Tapatalk
On a fresh boot, my phone takes up 1.2GB of RAM, and quickly rises to ~1.4-1.5GB. It usually says there, as I don't use a lot of apps, so I'm not multitasking a lot. It's pretty odd compared to my other devices that use anywhere from 500-700MB of RAM for the OS, but it seems to do it's job just fine nonetheless.
Side note, since I don't have a lot of Apps, and I'm not concerned about RAM usage, I've disabled zram and ksm. Haven't noticed any difference, TBH.
crazyates said:
On a fresh boot, my phone takes up 1.2GB of RAM, and quickly rises to ~1.4-1.5GB. It usually says there, as I don't use a lot of apps, so I'm not multitasking a lot. It's pretty odd compared to my other devices that use anywhere from 500-700MB of RAM for the OS, but it seems to do it's job just fine nonetheless.
Side note, since I don't have a lot of Apps, and I'm not concerned about RAM usage, I've disabled zram and ksm. Haven't noticed any difference, TBH.
Click to expand...
Click to collapse
On a fresh boot it loads every apps auto start process. So that doesn't change anything at all. I am not talking about apps using ram from being run. I'm talking about all the processes they have that are triggered and restart when things occur.
Sent from my Nexus 5X using Tapatalk

Categories

Resources