Best memory parameters - Galaxy S III General

i am using Omega V13 with syhah kernel 1.5, and 400mb of swap (class 10 sd card). Undervolt (-50mv), no overclock. Pegasuq governor
I am triyng some tunes of memory management, to have the fastest behave of S3.
I tried with "aggressive" ones (low values), with medium values, and other values.
i use S3 not for heavy games, but i like to have fast load of apps (browser, mail, maps, etc...)
anyone has advices? both for memory settings, and overclock, or other?
thanks..

Related

VM HEAP, Swap, and games

If I understand this correctly, the largest amount of RAM an app can use is determined by the VM Heap size. If my heap size is 32MB, no program can use more than 32MB.
SWAP will write a app out of RAM to a swap partition instead of closing the program. This is helpful for having more programs "active" so if I want to switch back to a program, it just resumes by loading the swap back to RAM, instead of having to restart the application.
So, I can increase the VM Heap size and it could improve a game's performance by allowing it to have a larger memory footprint. SWAP will not help improve a games performance, but if I switch out of a game, it will make it easier to return to since it may not have to reload it.
Do I have this correct?
Is there anything else I can do to improve a high-end game performance other than overclocking?
Also, does SWAP provide any other benefits other than not having to reload an application? Maybe better memory management or something.
Also, what is the max read/write speed of the GT540? Could it max out a class 10 SD card?

Memory optimisation tweaks? How to get more free RAM?

Any useful tweaks or settings which I could use? There is many appn on the market and they allow to tweak internal memory management but I have no idea what settings to use.
No matter which I try, my phone always seem to stick to ~100MB RAM Free. Why so much? I'd prefer ~50MB RAM Free and more apps running without closing.
schriss said:
Any useful tweaks or settings which I could use? There is many appn on the market and they allow to tweak internal memory management but I have no idea what settings to use.
No matter which I try, my phone always seem to stick to ~100MB RAM Free. Why so much? I'd prefer ~50MB RAM Free and more apps running without closing.
Click to expand...
Click to collapse
you mean you want 100mb ram free but only have 50mb? you can check out a ram cleaner script. the link is in my signature called mods for virtuous unity. just download the zip file, back up your phone and superwipe, then flash your rom then ram cleaning script then reboot and your done
Actually it was the other way around, I always had 100 MB free and my apps have been closed often. I played with one of the tools to tweak internal memory manager and now my free RAM goes down to 60 and apps stay in memory, this is what I wanted. FireFox Nightly takes a lot on its own...
Will play with settings some more before posting them here.
Only app and root needed, no scripts or Rom flashing.
I'm runing CoreDroid port, I love its theme.
My opinion is if what you perceive as a lack of available memory is not degrading the performance of your phone, including the apps which run on the phone, then it's a non-issue as the latest versions of Android have a much better handle on memory management than the older versions.
I agree but in my case system had 100MB RAM free but when I launched another app it would close other app and system would still have 100 MB RAM Free. So imagine me opening media player and listening to mp3 and then I launch Firefox and music stops, yet there is still 100 MB RAM Free.
I have changed settings and it's better now, Free RAM drops down to 60MB so I can have more apps running.
Previously, Firefox would close whenever I switched out of it, annoying.

MiniCM9

Ohai ladies and gentlemen , i created this thread to share our performance tweaks of minicm9 , we all use different
I use Nova launcher Prime , Supercharger , Swap 256mb and ES task manager
waiting on yours :d
Why do you use a task manager?
Your phone is supercharged!
Well may not be much but I've finally reached 22 hours with battery life I'm sorry that I can't give the specifics of what i did because I randomly did stuff (supercharge, oc, ram manager, optimizations, tweaking the light sensors) so idk what really gave me almost 1 day battery life with heavy use
New Way : Try Fruit Ninja
I used to play Fruit Ninja (The CHINESE VERSION having pomegranate at the end of the arcade mode) to check every type of performance.
Although i tried Benchmark which does not working properly due to no 3D hardware acceleration.
It shows 130 points for RAM
And goes only to 50 FPS on that spiral test.
But when i checked playing Fruit Ninja ,
Graphic Performance is equal to that of any light GB Rom say STARK Rom etc. without any special tweaks. Even while playing Music.
And when i minimize Fruit Ninja for any thing it does not get off close due to less Ram and on maximizing it do not lags for a while even and go on smoothly.
Also i tried Temple Run and it just running as in GB Rom
And also tried Trial Extreme Winter which is going awesome.
By the way , i am unable to understand that how a tweak can do something, and if they do why they are already not included on the Roms.
I used to format system myself and clear cache and wipe data every time and i disable the services like facebook, widgets, gtalk, gmail etc which starts automatically on any event, using AUTOSTART app , this is enough for me to get good performance.
Here's mine: supercharger, apex launcher, smartassv2 governor with min cpu set to 19 Mhz, max to 600Mz, Only get 12 hours of battery with normal use
Sent from my E15i using XDA
here's mine
ADW Launcher ex latest
KSM - On
Compcache - Off (speeds up a lot! As the os does less work to get data on and off the ram, compression increases ram access time)
Min freq - 19
Max freq - 748
Governor - smartassv2
Undervolt - Off
Full day battery with wifi nearly always connected!
And smooth and fast too...
Apex launcher
600-19 mhz frequency
Smartassv2
Ram manager pro hard multitasking
I got 12 hours max with medium usage.this rom is amazing,but i dont think its usable for daily usage yet.
1day 17 hours
no oc ,smartv2,delete and freeze some app, no undervolt( i found battery drain, dunno why) night sleep using air-plane drop 1%
oc 748.
no supercharger.
apex launcher.
ondemand governor.
1 - 2 days battery life.
nashshafrulrezza said:
oc 748.
no supercharger.
apex launcher.
ondemand governor.
1 - 2 days battery life.
Click to expand...
Click to collapse
My battery life barely stands for half a day....even when mostly idle.. :/
Sent from my XPERIA X8 using xda premium
To reiterate and expand on my post here:
SD card:
Do NOT make an ext4 partition with swap (and make sure there isn't one)
System setup:
Flash minicm9 and gapps as normal
Remove unwanted applications and services (e.g. for me, Google Talk, FM radio, etc.).
Remove DSP Manager.
If you like the dark ICS theme, you can replace your Contacts.apk, Mms.apk and Email.apk with the ones from here. Flashing doesn't work for me, but you can extract and copy them manually. Do not replace your music.apk.
Flash this zip to get SRS audio support if you want virtual surround when listening to music on earphones (stock player). Similar to what the DSP Manager can do for you, but a lot more lightweight.
Do not 'install a2sd' via console
System configuration:
Set up your autobrightness settings like this
Test your pulse notification light. If it stops flashing after a couple of seconds, go to system/lib/hw via your root file manager and delete/rename lights.shakira.so. Once you reboot, your notification light should work normally.
Disable Google's location service (GPS is okay)
Min CPU: 320MHz (important); Max CPU: ~? (I use 748)
Governor: SMARTASSV2
Disable zRam
Do not enable 'Allow purging of assets'
Do not enable Kernel samepage merging
Surface dithering: Yes
16bit transparency: No|Yes (up to you)
You should now:
Have a for the most part very fluid minicm9 (using Trebuchet). There should be no crashes or instablity, apps will not hang or FC. Memory will feel a little short, but apps should load quickly enough and be incredibly responsive once loaded. Stock browser will choke on low memory, I suggest Opera mobile as an alternative.
This is a very usable state of affairs, but if you want more and have a decent SD card, keep reading:
Performance tweaks:
Do NOT use Supercharger.
Move large apps that are not usually running to SD (e.g. Opera) via Settings»Apps»Move to SD. If this option is greyed out, follow this guide to move them anyway (NB: the command for the ICS platform is set-install-location rather than setInstallLocation).
Install SD-Booster and a SD card speed test of your choice. Adjust the cache until you get an optimal read/write speed (for me, this is at 4096KB) – more is not always better. You can uninstall the speed tester once you're done.
Install Swapper2.
Set swap place to somewhere safe on your SD card (do not use an ext partition)
Set swap size to at least 128M, I recommend 256M.
Set swappiness to 20
Advanced options» tick Recreate swap file and Reformat swap
Enable swap once (may take a bit as it writes the file).
When it says 'Done' open Terminal emulator and type in 'free'. You should now see the available swap (however much you set).
Go to your favourite file explorer and navigate to your swap file/folder. Make a copy of the .swp file
Back in swapper2 go to Advanced options again, and UNtick Recreate swap file & Reformat swap. Once you hit okay, it should say 'Swap file removed, all ok!'. Note that enabling swap will now fail as it can't find the file (bug?)
This is why we made the copy back in your file manager. Open it up and rename the copied swap file to its original filename.
Back in swapper2 (without touching the settings) click 'On'. It should now enable swap just fine. Verify in terminal, and you are done!
Note that to connect your USB storage, you will have to turn off swapper2. As you don't recreate/format swap every time this should be pretty much instantaneous (as long as you remember to do it!)
Your ROM should now still be running every bit as smooth as it was before, BUT you should have a lot more memory to work with, which means apps will no longer reload all the time (I would still suggest to free up apps via home button » swipe if you no longer need them).
Enjoy!
---
If you've set everything up properly, this should be about what you can expect in performance:
http://vimeo.com/42602916
(pass to view is xda)
epithetic said:
Remove unwanted applications and services (e.g. for me, Google Talk, FM radio, etc.).
Remove DSP Manager.
Click to expand...
Click to collapse
Hello,
how to remove those applications? I don't have "uninstall" button.
Use Titanium Backup or Root Explorer to delete these apps.
Sent From My W8 Using Tapatalk
^ this.
tethnekos said:
Hello,
how to remove those applications? I don't have "uninstall" button.
Click to expand...
Click to collapse
Open system/app in a root file manager and delete the .apks you don't use or need.
You can backup your system beforehand if you're concerned about deleting something important.
OK, let me add my experience. Not gonna talk here about self-evident things like remove apps you don´t need, watch what they do in background etc.
Two main things are of concern. Battery life and performance. Now I´m only gonna talk about the latter.
I was one of those unfortunates who used to stare more than 5 secs at the black screen when starting phone, contacts, messages, settings. Tried pretty much every possible combination of governors and CPU freqs to no avail.
Then one single thing that made it better - to some 2-3 secs - was to disable compcache.
The second step I took was experimenting with swap. Now my phone, contacts .. etc open almost INSTANTLY. I´ve got a class 10 32GB SD and I was using ext4 since Slade´s ZP kernel, but without swap. Now it was for the first time I´ve set up a swap in ext4 and for me that solved performance problems perfectly.
So, if you have a DECENT SD card, you may want to give it a try for yourself.
One more thing. If anybody is worried about ext4 speed and/or SD wear - there is a option to disable data journalling on ext4. More on that later if anybody´s interested, or try to google.
CosminAdriaan said:
Ohai ladies and gentlemen , i created this thread to share our performance tweaks of minicm9 , we all use different
I use Nova launcher Prime , Supercharger , Swap 256mb and ES task manager
waiting on yours :d
Click to expand...
Click to collapse
Dolphin Companion,Apex Launcher,root browser, Undervolt, max.600MHz and min.120MHz, ultra brightness all time, LIVE WALLPAPER(lexus)... 3-4days!
drfr said:
If anybody is worried about ext4 speed and/or SD wear - there is a option to disable data journalling on ext4. More on that later if anybody´s interested, or try to google.
Click to expand...
Click to collapse
Does that solve the problems with ext4 swap?
Because for me (see above) swap works great but as soon as there is an ext4 swap partition/swap file on ext everything comes to a grinding halt.

need help memory leak/ low memory ram

hi guys quite new here in xda.. my samsung s4 has been acting slow recently, there are huge delays when going to touchwiz or when flipping the menus, etc... when i look at my memory ram, it says 1.74 use out of 1.97 or something,, i tried everything like forced off other apps, greenify.. any advise as how to free more ram.. and also my phone memory is too low... i am aware of the bloatwares but my phone memory is only 1.84 gb left out of possible 8gb plus... i tried putting every apps on sd card and yet still memory seems low.. pls help
my droid max 9/2013 was slowwwww! then I downloaded two apps and i like my phone again:
all-in-one toolbox pro 5.1.5
History eraser
(your mileage may vary)

Amazon tablet optimization. Memory load pressure cured.

Favorite rom -
Faux clock / any kernel tuner -
Enable kms - (setting recommended from Google for low memory device)
Set kms page_to_scan to 100
Set kms sleep_milleseconds to 500
Enable set io scheduler from 2048k - 4096k
Ram memory pro - (this setting help with memory swap when using kms, zram, and swap file combinations)
Enable at boot setting
Set balance tuning for apps and multitasking
Setxperia - (not available in store for tablet/must find and sideload) (setting recommended from Google for low memory device)
Enable zram with 400 MB size (zram have priority before using swap file / that where the magic at) (least used data get page out to zram and then to the page file)
Set swap file to data partition with 200 MB size
Set swappiness set to 100
Create swap. Total swap setting aside should equal to 615 MB
Use zramcc to check if zram/swap working. Swap total size should be 615MB. (reduce swap file size from 400 to 200 to minimize lag when all available swap are used up)
Link2SD - no need for explanation. I used this with a fast flash card to hold my titanium backup and app linkage. This app allow me to have all my apps that I used.
Seeder 2.0 - no need for explanation. This just classic lag free app. Check the entropy resources before and after usage before complaining how old and useless this app is.
Misc -
Unload/uninstall any memory hogged app, like Facebook Messenger (takes up almost 50MB), that like to stay in the system memory permanently. Can't even kill it with task manager. DO NOT USED ANY MEMORY CLEANER OR ADVANCE TASK KILLER. This will cause a swap overload. Let android manage the memory task. Reboot the tablet once all the settings have been applied. The tablet will behave very well and feel like a more expensive tablet.
I have the stock opengapps replace all the core stock rom app. Afterward, I removed any gapp that I do not use.
My Amazon Fire experiences:
My launcher is loaded with widgets and I can pretty much open any application that I used without any freeze or as little lag as possible. I game on this table now and no longer use my phone. Brave frontier and valkyrie crusade.
https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1
Sent from my KFFOWI using Tapatalk
Kms or Ksm???
Update on information
Is all of this information still up to date? Any new additions/tweaks?
Also for some reason, after using zramcc I don't see 615 I only see 415 total.
svvparakala said:
Is all of this information still up to date? Any new additions/tweaks?
Also for some reason, after using zramcc I don't see 615 I only see 415 total.
Click to expand...
Click to collapse
Err...not really...although much of the guidance is reasonable albeit not optimal IMHO. Check out "L Speed" if seeking a quick tuner with a large following and solid reputation. Tweak one thing at a time and assess benefits before moving to the next item.

Categories

Resources