Zram, Swapfile and Swappiness - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Could one of the devs please a create/start comprehensive /definitive guide on how to create a swapfile, how and where to and what values to set. I've found setxperia the easiest and most flexible way to create one but am confused what values to set.
my currently configured setup is
lupus kernel for stock v5.1
hasa miui 3.1.25 (while waiting for zellycream 2.5.2 mdpi)
105mb (max available size) swapfile created in cache partition, zram 26mb (half of max available value of 52mb) and swappiness 50mb (again half of max available value of 100mb).
are these values in any way effective? if not, what should be the ideal real world size, i'm not much of a heavy duty gamer but others are so what would be the ideal sizes for gamers and non-gamers respectively? is setxperia the ideal way to setup these values? if not, what is?
TIA!

Yes this values are ideal and perfect.
But if you want more heavy duty games to run download swapper 2
Tool from play store and double your ideal sizes it will be perfect...
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......

thanks for your feedback, i've uninstalled setxperia and tried out swapper 2 (going with the app's recommended settings). from my understanding, it does its magic after the phone boots up (i found a setting for "run swapper at startup"). i'm curious, is there an app that creates something like init.d scripts to have swap enabled while or before the phone fully boots up rather than as an app that does its magic after bootup?
also, swapper 2 most probably has "safe" generic recommended settings identical for all users but what would be the recommended settings to use in various different scenarios like for use by heavy duty gamer or for a person that browses mostly etc.?

rahimali said:
thanks for your feedback, i've uninstalled setxperia and tried out swapper 2 (going with the app's recommended settings). from my understanding, it does its magic after the phone boots up (i found a setting for "run swapper at startup"). i'm curious, is there an app that creates something like init.d scripts to have swap enabled while or before the phone fully boots up rather than as an app that does its magic after bootup?
also, swapper 2 most probably has "safe" generic recommended settings identical for all users but what would be the recommended settings to use in various different scenarios like for use by heavy duty gamer or for a person that browses mostly etc.?
Click to expand...
Click to collapse
try zram using kernels...try system control app...

Related

[APP] RAM Manager v2.0.4 | PLAY GTA 3 AND OTHER HEAVY GAMES WITHOUT LAGS

RAM MANAGER
IT IS NOT MY WORK, all credits goes to Juwe11
COMPATIBLE WITH ICE CREAM SANDWICH
REQUIREMENTS
Android 2.1+
Root
SUPPORTED DEVICES
All Android devices which have RAM 64+ (and more)MB
ABOUT
This application was made for making RAM of all android phone to the best optimization. This application improves perfomance of your phone in all directions. Switching between applications is very fast, your system will be smoothness as never before. You can fully use your multitasking and you still have as much memory as you need.
FEATURES
Balance - Option which makes your RAM to the best optimization, this option is for everyday using when you use your phone for the most functions and you want have fast phone without lags.
Balance (with more free memory) - This option is on the same base as balance, but this option should be advantageous for users who have less RAM than 512 MB. This option makes your RAM to the best optimization with more free memory but with a bit less multitasking.
Balance (with more multitasking) - This option is on the same base as balance, but this option should be advantageous for users who have more RAM than 512 MB. This option gives you more multitasking.
Hard Gaming - Option which stabilizes your RAM for playing the hardest games. Use this option for games which lags on your phone. Your games will be smoothness and without lags. Play GTA 3 and other heavy games without lags.
Hard Multitasking - Option for users which are really hard working on their phones. You can have a lot of running apps with fast switching between them and without lags.
Default (Samsung) - Default settings by Samsung, this settings also use phones as LG, HTC, etc.
Default (Nexus S) - Default settings which use all Google phone.
Default -This option reverts your RAM to your default settings, which you had before you install this app.
All Balance options include additional option "Non-killable launcher".
Chosen option is automatically set on each reboot.
You can easily switch between all options without rebooting.
WHY USE THIS APP
This application is the best solution for all who have problem with free memory, with multitasking, with slow swapping between applications or with slow speed of your phone. But I recommend to use this application all who want have better phone, because this application increase speed of your phone and other parameters which depend on RAM as much as never before.
WHAT THIS APP AFFECTS
OOM_ADJ (Out of memory)
Every process has value which gives the kernel a hint, which process it can kill in an OOM (out of memory) situation.
LMK (Lowmemorykiller)
Works with your applications in memory. It affects your multitasking and free memory. But Android works with memory differently than you may be accustomed. Android needs to have running applications in foreground because of fast switching between your applications. It means that it's not good if you have too much more free memory. Your system gives you so much memory as you need.
VM (Virtual Machine)
Works with file cache, amount of data, dirty data in memory. We managed them by setting the SWP(swappiness), VCP(vfs_cache pressure), DEC(dirty expire centisecs), DWC(drity writeback centisecs), DRA(dirty ratio), DBR(dirty background ratio) and drop caches and we found the best optimization of these values to make several option for different using your phone. Basically it controls in general whole system speed, speed of launching applications, browsing files, switching speed through applications, overall process of the application and battery endurance.
DO NOT USE RAM SCRIPTS AND TWEAKS
If you want be really sure that application works, I recommend do not use some RAM script and tweaks. I tested application with RAM script and it worked, but if you want be really sure, do not use those RAM script and tweaks.
FREE VERSION
Free version will have only Balance option.
RAM Manager Free on Market
great app thanx
Thanks for sharing, even though MOST people already know this app...
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
lucastan96 said:
Thanks for sharing, even though MOST people already know this app...
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
Yeah,,
I've already tried it..
Its really amazing app..
But im using supercharger v6 now
Sent from my X8i using Tapatalk
sidewalk_ said:
Yeah,,
I've already tried it..
Its really amazing app..
But im using supercharger v6 now
Sent from my X8i using Tapatalk
Click to expand...
Click to collapse
Is Supercharger better than Ram Manager?
Sent from my W8 using Tapatalk
lucastan96 said:
Is Supercharger better than Ram Manager?
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
Yeah,
I personally think so..
I can play Star Battalion without using CF3D now :thumbup:
Sent from my X8i using Tapatalk
I am using this since 2 months. Really awesome app. I used to select HARD MULTITASKING
I like more free memory setting.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Yes, i like that it is easy operating with interesting options its good to try something new and see how it goes instead of using supercharger all the time
I think the I and my in the thread should be changed to the or something. It's not your app. Plus you should add this app cannot be used with supercharger.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Thanks! Great App!
already changed that!
the reason why i copied whole thread is information.... for those who maybe dont know what this app actually does!
You should add the Market paid link too...
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
what is the problem if i use both of them. ram manager and script like v6 supercharge ?
X_Laws said:
what is the problem if i use both of them. ram manager and script like v6 supercharge ?
Click to expand...
Click to collapse
Better use only one of these two...but it may work togheter, you can try out

[Q] Reducing System(not user) Memory? and amount to keep free?

SAUROM with build.prop tweaks, nothing else flashed through CWM
Hi I noticed that when over about 525mb or RAM usage on our device it starts to increase launcher lag and general lag across:
GO Launcher
ADW Launcher
TW Launcher
I tried different CPU governers:
Smartass2
Ondemand
Power Save (dur dur dur)
And right after I turn it on within 5 mins this is my RAM:
http://www.box.com/s/65b898b945607334c5b5
http://www.box.com/s/6cc0ab0a29bd003e9dc6
Can I reduce the amount of memory the apps marked with RED use?
Can I remove the ones circled in GREEN safely by deleting the apk?
How much memory do we want to keep free at all times?
Thanks in advance!
fixed 2nd link sry
zeppelinrox who makes scripts told me to use less dalvik heap size and i tried it,,are phones are 128mb,,,i turned mine down to 64mb and it seems to run alot more smoother now,,,I've noticed both roms have 128mb which is too much and not needed for this device..That's why i keep my stock with only a overclocked kernel and just add my own build prop tweaks....
wish777 said:
zeppelinrox who makes scripts told me to use less dalvik heap size and i tried it,,are phones are 128mb,,,i turned mine down to 64mb and it seems to run alot more smoother now,,,I've noticed both roms have 128mb which is too much and not needed for this device..That's why i keep my stock with only a overclocked kernel and just add my own build prop tweaks....
Click to expand...
Click to collapse
Thanks for the response. I will look for an app that can help me modify this and post back if it uses less memory.
memory optimizer root works for adjusting more aggressive settings it free too....
wish777 said:
memory optimizer root works for adjusting more aggressive settings it free too....
Click to expand...
Click to collapse
i just checked it out but actually going to roll with RAM Manager Free or RAM Manager Pro seems awesome, thanks for your help as you were the only one that replied lol.

[Q] SetCPU and S3

Hi everyone,
This is the first time owning a Samsung device, so the pegasusq governor is a new thing to me, I read about what it actually is on a thread but I wanted to ask to fellow S3 owners what are they using for great battery life - performance ratio?
I'm running Omega 6.0, slipstreamed loads of crap that is not needed (from the "safe to remove" thread) with Apex Launcher. I'm only using 2 homescreens, dark wallpaper, etc, the typical works to try and improve battery life.
Now the thing is, with SetCPU I'm running the default pegasusq governor ranging from 200mhz -1400mhz. Is the pegasusq governor the right choice here? Isn't it basically a variant of the OnDemand governor but Samsung proprietary for quadcore CPUs? I also recall reading a mention of S3's freezing or not waking up when it's set from the lowest underclocking point (200mhz), is that right? I've been using this for a few hours and no problems yet, but just wanted to know what are everyone elses experiences and what's the best configuration that has worked individually for you!
Cheers! Hope I complied with the rules, I did do a search but didn't find anything of this nature apart from a few separate questions!
I use the same governor, 100Mhz - 1704Mhz. No issues. Works great.
Siyah kernel is using pegasusq so i think it is the best governer there is. if you're on stock kernel or lowest underclocking is 200mhz but in custom kernels you can use 100mhz.
I have set my SetCPU to 100mhz - 1200mhz and undervolting all 18-steps to -50mv. I seldom reboot my phone but not encounter any freeze on boot
You should try tweaks for improving the battery life and peformance. Like supercharger, zipalling , random build.prop tweaks.... Etc xD but yeah use the samsungs "for quad core"
Thank you for the prompt replies everyone!
I remember with my Desire the whole development community was pretty much "set in stone" if you will, so it was really easy to choose a kernel etc.
Is there a kernel that you recommend? Is anyone using a "Screen Off" profile without any problems? If so what's the range you have it set at? That's what I was mostly scared as I remember on my Desire the lockscreen or taking calls would lag quite a bit but obviously this is a different beast altogether!
I'm also using AutoKiller Memory with Extreme Settings and some tweaks applied as well.
I use Siyah clocked 100-1704 screen on. 100-300 screen off. No issues.
Sptz said:
Is there a kernel that you recommend? Is anyone using a "Screen Off" profile without any problems? If so what's the range you have it set at? That's what I was mostly scared as I remember on my Desire the lockscreen or taking calls would lag quite a bit but obviously this is a different beast altogether!
Click to expand...
Click to collapse
I set mine to 100-600 not having any issues, when reiveng notification/phone calls doesn't lag at all. Just don't use "power saving" option.
Sptz said:
I'm also using AutoKiller Memory with Extreme Settings and some tweaks applied as well.
Click to expand...
Click to collapse
3rd party apps don't to any good to battery life it only consumes more(for me) cause it's always running in your background which consumes memory and also battery life.
stock task manager is pretty good, been use it always. Closing all apps and clearing memory
bordikun said:
I set mine to 100-600 not having any issues, when reiveng notification/phone calls doesn't lag at all. Just don't use "power saving" option.
3rd party apps don't to any good to battery life it only consumes more(for me) cause it's always running in your background which consumes memory and also battery life.
stock task manager is pretty good, been use it always. Closing all apps and clearing memory
Click to expand...
Click to collapse
Nah, Autokiller isnt a task manager.
Basically, Android automatically kills empty processes (etc) at specified RAM levels. It does this anyway. But on High end RAM packed devices, these values are too low to be of any use as the phone will seldom hit that low a level of free RAM.
Autokiller simply adjusts these values to be more useful for high end devices.
Actually, you don't need autokiller to do this. You can do it in an init.d script although I've not tested this on the SGS3 as I haven't seen a need.
Here is an example I wrote for my Desire AOSP ROM:
Code:
#!/system/bin/sh
echo "8192,16384,19200,23040,25600,30720" > /sys/module/lowmemorykiller/parameters/minfree
Default SGS3 is:
Code:
8192, 10240, 12288, 14336, 16387, 25600
These are for:
Foreground App, Visible App, Secondary Server, Hidden App, Content Provider, Empty App

[Q] Xperia fidelity script for XMP?

Does Xperia Fidelity script work on XMP? Or is there any other similar script for XMP?
Hi
If you download and open it (witha a simple text editor) you see it's "just" a lot of "echo XXX> /sys/devices/YYY....", and can be applied to every "linux machine" who has that devices inside.
Personally, I'd comment the #CPU tweaks section (not using it), I'd prefer to use a differen app to control the CPU (ex: cputuner, set cpu, ...), also because it contains frequencies that could not be implemented in every cpu (for ex, 200000 rate is not a standard value for our mini pro CPU, that has 122000 or 245000).
however i'll try it, looks nice, thanks for make me know it.
Bye.
EDIT: of course, you have to implement init.d support into your system (I did it, look for it in forum) or run it every time with a script manager.
Publiuss said:
Hi
If you download and open it (witha a simple text editor) you see it's "just" a lot of "echo XXX> /sys/devices/YYY....", and can be applied to every "linux machine" who has that devices inside.
Personally, I'd comment the #CPU tweaks section (not using it), I'd prefer to use a differen app to control the CPU (ex: cputuner, set cpu, ...), also because it contains frequencies that could not be implemented in every cpu (for ex, 200000 rate is not a standard value for our mini pro CPU, that has 122000 or 245000).
however i'll try it, looks nice, thanks for make me know it.
Bye.
EDIT: of course, you have to implement init.d support into your system (I did it, look for it in forum) or run it every time with a script manager.
Click to expand...
Click to collapse
I have init.d enabled. Even I'l try it
Did it work on your mini pro?
Sudanminipro said:
I have init.d enabled. Even I'l try it
Click to expand...
Click to collapse
I want to try it on my xperia mini too but I want to make sure if this works

"Homemade" tweaks for your S3. (updated 27/3/13)

Hi all.
I was wondering,what "homemade" tweaks like init.d/script manager scripts or build.prop do you use with your S3...
When i say homemade i mean tweaks you apply on your own,not any tweaks that come with the rom you use.
Tweaks that you've tried and liked,tweaks that you'd recommend.
Here's the things i do to make my S3 more lag free:
-Use Greenify
-Custom script for script manager attached below(updated 27/3/13)
-Build.prop almost clean as i found many of the tweaks unusable in 4.1 or to interfere with the System.
-No init.d tweaks currently (sometimes zipaling and sqlite defrag)
-Custom STweaks settings(Perseus) including overclock,they're too many to write if you want i can attach some screenies.
-Currently testing Crossbreeder mod but with the above my S3 was already fast enough so not much differency,if any.
-zRam 650mb script for a kernel that supports zRam attached below also to be used for script manager.
User's tweaks:
Build.prop tweaks
dxppxd said:
This one is for the soft keys, tablet-like home, menu, back buttons on screen (with respective screen reduction). Adding the line on build.prop:
Enable
qemu.hw.mainkeys=0
Disable
qemu.hw.mainkeys=1
Popular tweak, for the sake of those who don't know them yet.
Click to expand...
Click to collapse
So that's my list right now.
Got anything good to share?
Re: "Homemade" tweaks for your S3.
This one is for the soft keys, tablet-like home, menu, back buttons on screen (with respective screen reduction). Adding the line on build.prop:
Enable
qemu.hw.mainkeys=0
Disable
qemu.hw.mainkeys=1
Popular tweak, for the sake of those who don't know them yet.
dxppxd said:
This one is for the soft keys, tablet-like home, menu, back buttons on screen (with respective screen reduction). Adding the line on build.prop:
Enable
qemu.hw.mainkeys=0
Disable
qemu.hw.mainkeys=1
Popular tweak, for the sake of those who don't know them yet.
Click to expand...
Click to collapse
Thank's,i read many guys use this one.
Bump?
No one uses his own tweaks,only what comes with the rom?
nfsmw_gr said:
Bump?
No one uses his own tweaks,only what comes with the rom?
Click to expand...
Click to collapse
well, yes But i'm interested in the script you posted. What exactly did you change the minfree values and ratios to ? Would these values give more multi-tasking or are they engineered towards having free ram ?
Also Greenifying google maps (as a user app) gives a huge boost to battery life, unless you have Google Now enabled
ArbiterGR said:
well, yes But i'm interested in the script you posted. What exactly did you change the minfree values and ratios to ? Would these values give more multi-tasking or are they engineered towards having free ram ?
Also Greenifying google maps (as a user app) gives a huge boost to battery life, unless you have Google Now enabled
Click to expand...
Click to collapse
Hehe..
Well this is leaning towards better multitasking and most importantly lag free system and multitasking.
I lowered the adj values a bit because stock S3 were killing my apps a bit too fast for me,they're "inspired" from the original Galaxy S only a bit modified to suit the S3.
I found them to be working nicely for me,give them a go if like and post here or pm me.
Except from the adj values i modified a bit the values of sysctl.conf like dirty ratio vfs cache pressure and some nr_request config.
I changed my values a bit right now and also disabled iostats to make it even more less laggy so i'll upload this when i get home.
I usually have around 70mb free ram but my S3 doesn't lag at all,yay!
Now trying 500mb zRam and it's going very nice...i may add it to the op soon...
OP updated 27/3/13.

Categories

Resources