Optimal multi tasking configuration? - One (M9) Q&A, Help & Troubleshooting

Hi everyone,
I am running Viperone 6.2.0 (Android 7.0) using elementalx kernel.
Performance and battery wise, it's okay, but somehow multitasking performance is really bad. It feels like LMK is being just too aggressive.
Feeling that 3GB should be able to perform multitasking decently, does anyone have any tweaks that have been tested for multitasking on this device?
By multitasking, imagine the scenario of modifying web pages (mixplorer and its code editor), while listening to music (deeper), and running a server (php, mariadb, redis, under termux), with occasional ssh (openssh under termux) and config changes (nvim under termux), and replying to chat apps (WhatsApp & Telegram).
The reason I am suspecting that the configuration is not optimal yet is, I still see plenty of unused space.
bash-4.4$ free
total used free shared buffers cached
Mem: 2825836 2682108 143728 0 10140 653632
-/+ buffers/cache: 2018336 807500
Swap: 1441788 723012 718776
Notice that cache and swap is still plenty for other apps, that is unless I am reading that wrong.

Install this. AFTER uninstalling any performance booster app
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Sent from my HTC One M9 using Tapatalk

2ISAB said:
Install this. AFTER uninstalling any performance booster app
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Click to expand...
Click to collapse
Umm.. I'm not sure what's that have to di with multi tasking configuration.
I do have gsam for a while, and am not aware that it have multitasking tweaks capabilities.
Care to share more on it?

Related

[APP] BFreeMem Alternative - Indirectly Freeing RAM

I think many of us are using some kind of task killer. BUT, I find task killer sometimes cause more problem than it solves. And sometimes it doesnt really increase free RAM.
What I did was create a simple app to force Android memory manager to free RAM (by unloading tasks based on its own logic). This way you eliminate 3rd party task killer wrongful termination of tasks such as those active ones required by widgets etc.
This app just basically starts and creates a huge heap (forcing Android to free RAM) and then closes.
(You may still see this task linger in memory after you run it, but it will be unloaded the next time you start other app. You will see your free RAM increased a lot)
====Edit
You May not see free RAM increase immediately after running. You will see RAM increase a lot a bit later after you have started other app (which forces BfreeMem to be unloaded from memory)
Tip: Just put a shortcut on desktop. Click it when your RAM is low (<50-60Mb) and it will do its job. Dont run it when your free RAM is above 90Mb.
I'm trying it
Sent from my GT-I9000 using XDA App
This app should be tested by more Samsung Galaxy S owners to see if is working as it should be or not.
Try already.... No diff.... What's the difference?
Sent from my GT-I9000 using XDA App
cosmoboi said:
Try already.... No diff.... What's the difference?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
mib1800 already had got ur all private data, no more diffs.
cosmoboi said:
Try already.... No diff.... What's the difference?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
You have to wait for BfreeMem to be unloaded. (If you are impatient use a Task killer to unload it and you see it frees up lots of RAM.
Basically BFreeMem is a very bloated. When it starts it force Android memory manager to unload other tasks to cater to its RAM requirement. After that if you start other app, Android mem mgr will unload Bfreemem thus freeing huge chunks.
I tweak it to works best if your free RAM is around 50-60Mb. When I run it and when BfreeMem is unloaded later, free RAM goes up to about 100Mb.
btw: this app requires no permission so your data is safe
AutoKiller is a much better alternative.
The concept sounds correct. Not entire sure if it will work in practice.
psychedelic'd said:
AutoKiller is a much better alternative.
Click to expand...
Click to collapse
My purpose is to have something that does not circumvent Android memory manager which keeps track of tasks and their stats. It knows better what tasks are best to kill based on their usage/last access/active state/priority. Furthermore, if Android memory manager kill a task due to low memory, it will save the state for that task so that the next time that task is used the saved state is restored.
3rd party task killers sometimes mess this up by killing tasks which are actively use (resulting in those tasks being restarted just after being killed leading to wasted power and more lag) or killing dependent tasks such as those used by widgets without saved state causing widgets to malfunction.
snapper.fishes said:
The concept sounds correct. Not entire sure if it will work in practice.
Click to expand...
Click to collapse
I am using it. It does free up RAM. Is it useful? Depends. If you have lots of active apps (widgets/service etc), those freed RAM is filled up soon as Android restore back those "killed" tasks. Not much gain here. On the other hand, if you have lots of zombie apps lingering in memory then yes. The extra RAM does give a boost to the next app you open
AutoKiller is less of a task killer and more of a memory manager. Sort of like what your app is trying to do, but much better. More information: http://andrs.w3pla.net/autokiller/details
Your concept is good, but having an app that continually increases ram usage will waste battery. Then having to kill that app manually in order to free up ram is tedious. Just my 2 cents.
The new task manager in Touchwiz has a function to manually clear ram any way, which works great.
psychedelic'd said:
AutoKiller is less of a task killer and more of a memory manager. Sort of like what your app is trying to do, but much better. More information: http://andrs.w3pla.net/autokiller/details
Your concept is good, but having an app that continually increases ram usage will waste battery. Then having to kill that app manually in order to free up ram is tedious. Just my 2 cents.
The new task manager in Touchwiz has a function to manually clear ram any way, which works great.
Click to expand...
Click to collapse
OK. AutoKiller is changing Linux configuration. Unfortunately, it needs root.
I have used the TouchWiz TaskMgr clean Ram at safe level - it still messed up my widgets (Beautiful widgets, weather & toggle)
Bfreemem app does not continually run or increase RAM usage. You just run it when the free RAM is low (or close to threshold). At this low RAM level it just knocks other tasks out of RAM. btw: You should NOT run it when you have huge amount of free RAM. You should run it when RAM is low like <50Mb.
You dont really have to kill Bfreemem task manually since it will be quickly unloaded by the Android memory manager when RAM is required since its state is finished.
JUst put a shortcut on the desktop and click it when you feel RAM level is low and it will do its job.
Can it be used with autokiller?
It could be also automated to check if memory is low, and automatically kill applications. Battery drain would be present in that case tho..
Never has the default task killer from samsung messed up my widgets including Beautiful weather, I tried using task killer and never saw the benefits of it since andriod automatically keeps 40MB of free ram...
EarlZ said:
Never has the default task killer from samsung messed up my widgets including Beautiful weather, I tried using task killer and never saw the benefits of it since andriod automatically keeps 40MB of free ram...
Click to expand...
Click to collapse
When I try the option Level 1 - Clear Memory (in Samsung task killer), my beautiful widget clock stop working.
Soniboy84 said:
Can it be used with autokiller?
It could be also automated to check if memory is low, and automatically kill applications. Battery drain would be present in that case tho..
Click to expand...
Click to collapse
Personally, I dont use task killer. Not sure whether Autokiller kills tasks physically or just adjust some running config. Just have a feeling task killers (those that kill tasks physically) cause RAM leak. For example when my phone reboot, I can see at least 12 tasks (in Advanced Task Killer) and free RAM is about 95Mb. If I physically kill those tasks, my RAM may temporarily goes up to 130Mb but sometime later free RAM drops to 50-60Mb and there were no more tasks to kill.
When I use Bfreemem, my free RAM fluctuates betw. 60-100 Mb and I can still see all/most of those tasks that were there just after boot-up.
If you have one of those scheduler/timer app, you can just use those to schedule Bfreemem to run regularly. (I can build another timer app to schedule)

How much free RAM should I have?

I installed a single widget from Beautiful Widget yesterday and today I've had the launcher redraw itself multiple times and this is aomethig I've never seen before. How much free RAM should be available? I'm hovering around 120. Stock Nex HSPA running 4.0.1 on T-Mobile.
Sent from my Xoom using Tapatalk
I usually hover around 350mb free... 120 is seeming a little low. Are you exiting apps with the home button or the back button?
Sent from my GSM Galaxy Nexus
Either or, no preference either way.
Sent from my Xoom using Tapatalk
Are you stock?
Sent from my Xoom using Tapatalk
Often i stay around 120mb free ram so i think you are functioning normally.
Free ram is unused ram.
You only need as much free ram as the next, uncached task will require. On Android this is unlikely to ever be more than 80MB.
On this basis, if you have 120 free you should be fine.
djmcnz said:
Free ram is unused ram.
You only need as much free ram as the next, uncached task will require. On Android this is unlikely to ever be more than 80MB.
On this basis, if you have 120 free you should be fine.
Click to expand...
Click to collapse
Uh no. Free RAM consists of cached but not currently running apps and cached kernel resources. It is by no means "unused".
You also need a lot more free RAM than what the next app you are going to run requires, due to kernel caches and paging policy problems. If you are actually interested in learning how memory management works I suggest you read up on virtual memory first before giving others advice.
Chirality said:
Uh no. Free RAM consists of cached but not currently running apps. It is by no means "unused".
You also need a lot more free RAM than what the next app you are going to run requires, due to kernel caches and paging policy problems. If you are actually interested in learning how memory management works I suggest you read up on virtual memory first before giving others advice.
Click to expand...
Click to collapse
Don't be snide, it's unbecoming.
"Free" in the context that the OP used it is exactly that, free and unused - as in not used by anything at all, empty. Perhaps you might want to look that one up.
I responded to him in context and accurately. From an end user perspective it's a more helpful answer than a technical one about paging, caches and kernels...
I suggest downloading Cache Cleaner NG (yes, the "NG" one) from the Market if you're having lag or other problems. This will help no matter which definition of "free RAM" you choose to adopt I can say, though, that in my experience a lot of lag and force close issues have had more to do with cache and app data than with "free RAM." For example, on my Fascinate I'd have 120 MB or so of "free RAM" according to my system settings, but I'd still have major lag and more force closes than a chain of Circuit City stores until I cleared app cache using Cache Cleaner NG. This is different from wiping the cache partition in recovery.
Terminators run on Android
djmcnz said:
Don't be snide, it's unbecoming.
"Free" in the context that the OP used it is exactly that, free and unused - as in not used by anything at all, empty. Perhaps you might want to look that one up.
I responded to him in context and accurately. From an end user perspective it's a more helpful answer than a technical one about paging, caches and kernels...
Click to expand...
Click to collapse
Free in the context? There is no context needed here, as there is no ambiguity. Free here refers to exactly one thing: the amount of free memory reported by the Android system. The Android system uses a Linux kernel and reports free memory the way all Linux systems report free memory: all kernel and userland caches are reported as free memory. Free memory is not unused memory. Free memory is physical memory pages that are not currently marked in use by any virtual page entries. Free memory is used as cache by the virtual memory system. If you understand the virtual memory system at all you'd realize that truly "free and unused" memory doesn't even make sense in a virtual memory system. Truly unused memory is just cold cache, once the cache has been warmed up, the idea of unused memory becomes irrelevant.
Basically OP, you should never have to worry about it. This phone has more than enough RAM to handle anything you throw at it. If it ever feels "sluggish" just give it a reboot. No need chasing your tail to free up 15MB of RAM that won't make a difference anyways.
Thank you. This is what I figured as I've had quite a bit of experience with Android dating back to the G1 (it's why I don't have a task killer installed). Yeah, the lag is annoying although it's way better than my Xoom's. I was just wondering what you guys were hovering at.
I do have an app that turns itself on in my running apps list (it's ESPN's Fantasy Football app) I want to keep the app but it's sort of annoying seeing it pop up there all the time. Is there a way I can force it to stay off?
BlazinGTI said:
Thank you. This is what I figured as I've had quite a bit of experience with Android dating back to the G1 (it's why I don't have a task killer installed). Yeah, the lag is annoying although it's way better than my Xoom's. I was just wondering what you guys were hovering at.
I do have an app that turns itself on in my running apps list (it's ESPN's Fantasy Football app) I want to keep the app but it's sort of annoying seeing it pop up there all the time. Is there a way I can force it to stay off?
Click to expand...
Click to collapse
Do you have a widget running for this app? Any app that has a widget on the main screen will automatically run because of said widget.
I personally think thats REALLY low. I'm typically sitting over 400MB free with a couple widgets running and battery monitor in the background as well.
As of this moment I'm showing 367 free. Apps running: Angry birds RIO, Phone, Google Music (with music streaming currently), battery monitor, settings page.
4.0.1 is not memory efficient at all compared to 4.0.2&4.0.3. Not only are the newer builds more efficient with RAM but the size of the ROM on disk is much leaner.
After a reboot and once the dust was settled seems like I have 346 MB of free RAM, something you should try just to see how much you are starting with.
So I'm assuming you're on a build other than 4.0.1? I just tried a reboot and am sitting at 290MB free, I'll monitor it to see how long it takes to get back to the low 100's.
As for the Fantasy Football app, it does NOT have a widget. And apps that HAVE widgets, like Pandora, Evernote, Music, Docs, Soundhound, none of those show up in running OR cached apps.

[Ask]Hiw i can Optimize my RAM

Hi i want to ask
How to optimize my phone RAM i use v6 supercharger but my ram is still 163mb
I use 4 messenger Catfizz,Line,yahoo,facebook
Thanks before:beer::beer:
Sent from my GT-S5360 using xda premium
Use adrenaline engine
Sent from my GT-S5360 using XDA
Technically, it's hard to tell the difference performance-wise. Android does it's own memory management, but also it won't hurt anyone if you try RAM tweaks and see the result for yourself.
Chamiakas said:
Technically, it's hard to tell the difference performance-wise. Android does it's own memory management, but also it won't hurt anyone if you try RAM tweaks and see the result for yourself.
Click to expand...
Click to collapse
remove facebook, yahoo, and all other apps that runs on the background,
even if you have v6, the apps still runs in the memory
no matter what ram tweak you do if you have background hog memory apps and due to the limitation of our device you shall fail
deathnotice01 said:
remove facebook, yahoo, and all other apps that runs on the background,
even if you have v6, the apps still runs in the memory
no matter what ram tweak you do if you have background hog memory apps and due to the limitation of our device you shall fail
Click to expand...
Click to collapse
I did not quite get that you said there, but I didin't encounter a single problem due to low RAM. Of course it can be because I don't usually run a lot of apps at once.
Thx but i very loves facebook app
Sent from my GT-S5360 using xda premium
if you are much conscious about ram then never use and go product they are the hogger beast
check every app's ram consumption then you their alternative with less ram consumption
if you love ics keyboard, then there are 2, one uses about 10 mb and other uses about 20 mb
Chamiakas said:
I did not quite get that you said there, but I didin't encounter a single problem due to low RAM. Of course it can be because I don't usually run a lot of apps at once.
Click to expand...
Click to collapse
even if you don't run the app, they actually run on the background doing things you don't know, consuming your battery and your ram
Death notice can u make a theme for M.U.R v2 with blacksense?thanks
:beer::beer::beer::beer:
Sent from my GT-S5360 using xda premium
deathnotice01 said:
even if you don't run the app, they actually run on the background doing things you don't know, consuming your battery and your ram
Click to expand...
Click to collapse
Well, thats true, but the RAM is meant to be cached (fully used) for quickly launching the desired application.
Best way to optimize RAM for starters is to monitor your background, cached and running processes well. First, freeze stock background running bloatware using TB. Mainly DRM content (some say it messes with ringtones and stuff but I never experienced that), wsynclmps, syncmIDs, maps (unfreeze it only when needede), software update(this really doesnt help and is waste of RAM+space), pico TTS , TTS service(these two are for voice to text conversion and are literally not much used), samsung account(is waste compared to play store), two email ones (use gmail app these dont help much), social hub , samsung push service.Choose adrenaline engine if you want multi tasking and v6 if you want more free ram.You can mix both of them but its risky and needs some scripting skills to remove the conflicts they make and highly NOT recommended.
Chamiakas said:
Well, thats true, but the RAM is meant to be cached (fully used) for quickly launching the desired application.
Click to expand...
Click to collapse
completely agree with this one. less ram is not alway a good news in android system since it has unique RAM management. for quick acces and less RAM r/w some of app is stored in RAM's cache. SGY's default ram setting is already good enough for multitasking and gaming option. if you want a better performance in your device you don't need lesser RAM. instead of it you need a better memory and app management.
Thnks i use lessly ram now 121
Sent from my GT-S5360 using xda premium

I rooted/decluttered my Tab Pro, but still using 1.2 of 1.8GB RAM?

This is a new Galaxy Tab Pro 8.4. I rooted it and I'm running Google Now Launcher (supposedly the lightest one). I uninstalled or disabled a lot of apps, starting with Samsung bloatware.
According to CCleaner:
- 1.43GB of 11.76GB of memory used
- 1.2GB of 1.82GB of RAM used
CCleaner says:
- Processes: User: 0 processes, System: 53 processes
Is this normal? Is there any good info on which of the system processes I could disable?
The biggest system processes:
- com.android.keyguard 130MB
- security storage 78MB
- Google Play services 67MB
- Google App 56MB
- Chrome 51MB
- Settings 46MB
- Samsung Keyboard 28MB
- Samsung WatchON 24MB
- Hangouts 24MB
- Search Applications Provider 22MB
- Internet 21MB
- Youtube 22MB
- Google Play Music 20MB
- Google Play Store 19MB
- Google Contacts Sync 19MB
- Flipboard 17MB
- Gmail 15MB
- Google Play Newstand 14MB
- Gallery 14MB
95% of the time, the tablet will be used with DJI Pilot App. I just need this 1 app and access to some internet and app store functions...
Can I disable a lot of the services listed? What is "com.android.keyguard" and "security storage" and "Samsung WatchON"? That would free up 220MB alone.
Any other suggestions to clean up and optimize Tab Pro would be greatly appreciated.
It isn't a PC. Having RAM free does not necessarily (and probably will not) increase performance.
Android manages RAM pretty efficiently. It will clear RAM when it needs it.
If you're so into this free RAM thingy, just disable ALL the Google stuff (because you said you don't use them).
Even more, dive into the world of ROMs and flash CM12.1. With CM I have 1.2GB *free* on startup and >1GB free for everything I do except gaming. TabPRO's 2K screen takes quite some additional resources, or else you'll even be getting 1.4GB free, like what I've seen on my other devices.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
redpoint73 said:
It isn't a PC. Having RAM free does not necessarily (and probably will not) increase performance.
Android manages RAM pretty efficiently. It will clear RAM when it needs it.
Click to expand...
Click to collapse
Efficient or not, I'm still left with a tablet that is performing poorly when it tries to run DJI Pilot App.
I disabled animations and uninstalled what I could and I only run the DJI App with Airplane Mode because any notifications create lag - and it makes a big difference. But it's still not that good, and I'm looking for other areas of improvement. If not RAM, then where else do you think I should focus?
CM12.1 as AndyYan suggests?
I just need to run this one App and I need to run it well...
witold123 said:
CM12.1 as AndyYan suggests?
Click to expand...
Click to collapse
Yes, I would agree with the suggestion. The stock TouchWiz is a laggy piece of crap. It drove me crazy how laggy it was with just normal usage (launcher, browsing, etc.) and CM12.1 is much much better.
You could try to disable Sasmsung's DVFS. (by rooting, installing xposed and Sasmung DVFS disabler from the Play Store "https://play.google.com/store/apps/details?id=ma.wanam.dvfs&hl=nl".
Don't know if it will improve things but it seems like Samsung somehow limits CPU & GPU after heavy load.
Don't know if it has any negative effects. Maybe some battery life impact.
Thmz159 said:
You could try to disable Sasmsung's DVFS. (by rooting, installing xposed and Sasmung DVFS disabler from the Play Store "https://play.google.com/store/apps/details?id=ma.wanam.dvfs&hl=nl".
Don't know if it will improve things but it seems like Samsung somehow limits CPU & GPU after heavy load.
Don't know if it has any negative effects. Maybe some battery life impact.
Click to expand...
Click to collapse
Folks have stated that disabling Magazine UX and using a different launcher also help with the lag.
Honestly, though, unless you are a fan of the Samsung features; CM12.1 not only puts you on Lollipop, but just a better experience overall.

Didn't feel any different changes Enable/Disable System/User Apps!

Does any body have Advance experience of debloating Apps in A705F/Ds! Any one can point me to help !
Cause'
I do not much see any different in 1 week after Enable /Disable system/user apps in my device(8/128) gb operating with CCSWE App Manager Pro.
Still High 3gb Ram Usage per system vs apps in system start up!
I've just daily usage as (Fb, Messenger,What' App, Chrome, IDM, PUBg,Asphalt-9). Hell_No. !!
#No_Root #Smoothness_Ui_Experience #
RAM is there to be used! No need to free it, what's the point of it? The more apps are loaded in RAM, the faster they start. You have 6 GB of RAM, and only 3 GB in use, that is good
This is an interesting article about how memory works on Android: https://www.androidtipsandhacks.com...ndroid-and-why-you-shouldnt-most-of-the-time/
Bloatware or unwanted software can be removed, disabled or, when rooted, removed. But that has little to do with RAM. Disabling apps won't appear in app drawer, and removing them will free (a little) storage space.
Yeah,As a result of Disabling total 156/336 apps is almost same result as while it' not . Still got laggy in while scolling in Fb, Asphalt 9 . For 8gb Ram devices ' is it alittle way too much?Nothing Different !
CCSWE App manager is too strong but it can't help me out in no root state.
Nexus Axe said:
Yeah,As a result of Disabling total 156/336 apps is almost same result as while it' not . Still got laggy in while scolling in Fb, Asphalt 9 . For 8gb Ram devices ' is it alittle way too much?Nothing Different !
CCSWE App manager is too strong but it can't help me out in no root state.
Click to expand...
Click to collapse
Disable animations in developers settings.
Reduce motion in settings
Install greenify and use it in non root mode.
We have sd675 and it will have its limits.
As for Facebook lag, disable video autoplay and clear cache
I followed the Galaxy S10/9 guides on disabling via ADB to get rid of things like Bixby and other Samsung bloatware. Never had an issue with RAM but I like the idea of fewer icons in the app drawer, fewer notifications and fewer apps with potential to run in the background or eat up my data allowance for no reason. I have to say that this method along with using AdGuard DNS has pretty much done away with my usual desire to root.

Categories

Resources