Reviving your slow SGS. - Galaxy S I9000 General

So I recently changed over to the nexus 4, and I say, it is AMAZING. I just got to the point where the SGS just didnt cut it anymore. It has hung in there for a long time, but its starting to become under-powered for new versions of Android.
So in this guide, I am going to show you how to speed up your Galaxy S, and push it to its max performance.
You will need a custom kernel like Semaphore. I made this guide with no regard to battery life, but i did avoid using un-necessary power.
1. Live OC
- This increases the Bus, Ram and GPU speeds.
- This is very good because information can only be transferred as fast as the bus can transfer it. So if your CPU is fast, but your bus is to slow, it creates a bottle neck. So upping bus speed as well as CPU/GPU/Ram speeds can drastically increase performance.
- Find settings that are stable for your phone. For me this was 123%.
- Note that this will change the CPU clock speed choices that you have. Normal.
Click to expand...
Click to collapse
2. CPU Clock Speed / Governor
- Increasing Clock Speeds allow your processor to calculate more per second, therefore increasing performance.
- Start by finding the maximum frequency that your device is capable of handling, while still keeping stability. For me, this is 1400MHZ.
- Set lowest clock speed to 200 or 400. 200 is the best all-round, and actually uses less power than 100MHZ due to faster race to idle. I use 400 for performance.
- Use a snappy governor. Min/max is great, it is what i use.
- For more battery. lulzactive, ondemand, and smartass are all good.
- Enable smooth UI tweak.
Click to expand...
Click to collapse
3. RAM settings / management.
A. MOAR RAM.
- The Galaxy S has very limited ram, so we must make the best of it.
- It has 500mb, but some is allocated for the camera and GPU, so we only get ~400 in the end.
- Use the Bigmem option. Around 400mb, but breaks 720p recording. Its a good sacrifice.
- Also, Un-install any apps that you are not using! This can free up cache space and leave it for important processes. Go to settings/running/caches for more info.
- Go to settings/developer options/background process limit, and set this to keep more ram free. I use 3.
Click to expand...
Click to collapse
B. Enabling Swap
- Enabling swap allows the kernel to use specially allocated memory (on your SD card) to store cached pages that aren't currently being used, instead of storing them in RAM.
- Frees RAM for foreground or heavy processes.
- Make sure you use a fast SD card, and do not set the swappiness to high, both of these can slow your phone down.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
4. CM Performance Settings.
- Setting these properly can also increase performance on your device. It will not create any instabilities.
- I/O schedulers are all very similar. I personally prefer SIO, CFQ, or VR
- Under Memory management, Allow purging of assets and enable Kernel same page merging. Both use more clock cycles, but free needed RAM.
- Avoid ZRAM. Performance gain is not enough for the number of clock cycles needed to compress and decompress the RAM.
- Enable 16 bit transparency. Lighter load on the system when drawing graphics, and has never causes visual artifacts for me.
- Disable surface dithering. One less thing for your device to do, equals more performance.
Click to expand...
Click to collapse
5. Animation Scales (not necessary)
- This simply makes your device LOOK faster buy increasing the speed of the animations.
- Go to developer options and find Window Animations scale, Transition Animation Scale, and Animator Duration Scale.
- Turn them all to 0.5 for a faster UI.
Click to expand...
Click to collapse
Questions? Feel free.

But OC my phone will make my phone die faster yea?
Because I afraid to destroyed my phone
Sent from my GT-I9000 using xda app-developers app

It does reduce life for sure. As does live OC.
I over clocked my phone for a long time, and it has had no bad effects. It works great to this day. It reduces, but not significantly that you should worry about.
Most CPUS are designed to last for 10+ years, and you may take a year or two off. Nothing major!
Sent from my Nexus 4 using xda premium

AlwaysDroid said:
It does reduce life for sure. As does live OC.
I over clocked my phone for a long time, and it has had no bad effects. It works great to this day. It reduces, but not significantly that you should worry about.
Most CPUS are designed to last for 10+ years, and you may take a year or two off. Nothing major!
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I think even less, Ive never heard of anyone suffering at anything from oc anything.
This is an amazing guide and it has everything explained in one place thank you!
Sent from my GT-I9000 using xda app-developers app

Where/how do you enable swap?

good guide but currently not necassary to do,more and more roms are made with enough to tweak the perfomance already done,ive not found anything that has pushed my phone while on a decent custom rom

beardedwonder said:
Where/how do you enable swap?
Click to expand...
Click to collapse
Try this. I never used this guide myself, i just searched it up. Maybe ill add it to the OP if you have success with the guide.
http://forum.xda-developers.com/showthread.php?t=1610835

friartuckme said:
good guide but currently not necassary to do,more and more roms are made with enough to tweak the perfomance already done,ive not found anything that has pushed my phone while on a decent custom rom
Click to expand...
Click to collapse
it is not necessary at all, but there is nothing wrong with getting as much bang for your buck as you can!

AlwaysDroid said:
Try this. I never used this guide myself, i just searched it up. Maybe ill add it to the OP if you have success with the guide.
http://forum.xda-developers.com/showthread.php?t=1610835
Click to expand...
Click to collapse
This thread isn't really a guide then, it doesn't look like you can use swap with semaphore.

beardedwonder said:
This thread isn't really a guide then, it doesn't look like you can use swap with semaphore.
Click to expand...
Click to collapse
I'm abit out of the loop. I used devil kernel and it had it. I know cyancore kernel has it!
Sent from my Nexus 4 using xda premium

AlwaysDroid said:
it is not necessary at all, but there is nothing wrong with getting as much bang for your buck as you can!
Click to expand...
Click to collapse
very true,i agree

Related

Cm7- Vm Heap Size on Htc Wildfire- Performance optimization

Hello,
two days ago i changed the size of my Vm-heap to 32mb. I was curious after i read in some posts that this could affect the performance of resource-intensiv apps. As i am using navigon-navigation a lot i had to give it a try...
After ive changed it and rebootet the device, navigon works MUCH better then before, track calculation is much faster and the app is much more responsive and running fluent. The difference is highly noticeable. For other apps like my browser i experiecend the same.
I read that the downside of it is that it is possible that apps could be moved out of memory because some other apps now use more ram and so the jumping between apps could be more time intensive. But i have noticed no slow down at all.
(Wildfire is not a fast phone, but i think 384 mb ram is really good for that kind of phone, some other phones like galaxy ace have only 287 RAM with better cpu)
My experience is that a lot of apps running much better know, and for me its a absolute performance enhancement, I would even go so far that i would say it was the best performance-enhacement after overclocking the device. So if you are running resource-intensive apps (like navigation browsing) you should definitely give it a try.
Whats your experience with that ? Ever changed the vm heap size? Noticed differences??
Cheers.
im rocking 32 since i s-off my phone with alpharevx beta,and yes its better for intensive apps (imo) but the one thing i cant understand is way my phone i lagging when i get a call??some times the ringtone is playing and the screen is black,any tips thx
darkstep said:
im rocking 32 since i s-off my phone with alpharevx beta,and yes its better for intensive apps (imo) but the one thing i cant understand is way my phone i lagging when i get a call??some times the ringtone is playing and the screen is black,any tips thx
Click to expand...
Click to collapse
im running my phone with the ondemand governor with cpu-min:528 and cpu-max:691 and i have no lag when someone is calling.
Nhs666 said:
im running my phone with the ondemand governor with cpu-min:528 and cpu-max:691 and i have no lag when someone is calling.
Click to expand...
Click to collapse
It is indeed said that such lag is due to the 'extreme' underclocking of the processor.
I'm on CM7 RC1, use SMARTASS with 245 as a minimum, and haven't noticed any lag yet..
Sent from my HTC Wildfire using XDA App
ErwinP said:
It is indeed said that such lag is due to the 'extreme' underclocking of the processor.
I'm on CM7 RC1, use SMARTASS with 245 as a minimum, and haven't noticed any lag yet..
Click to expand...
Click to collapse
I didn't want to implicate that the ringing lag is about the low freq., but i noticed that with such low freq's the phone is not so responsive when pulling suddenly the notificationbar, get it out of standby and such things. Never noticed something like that??
I was testing about it too. i settled with 32mb heap size, which i've found to be the best practice. Anything lower would make apps like navigon or opera lag, anything higher, would give me force closes on apps for some reason.
I also tried to experiment with compcache, with the following settings "disabled, 18%, 26%" and i think 26% makes my wildfire a bit snappier, although it might be just a placebo effect, because there's no difference in quadrant/linpack benchmarks.
why placebo effect....the question is how good can a benchmark represent the practial application in daily usage. Anybody?
I tried vm heap bigger than 32mb too. But while running navigon it seems to me not much as a big improvement so i switched back.
The compcage thing will be the next thing im testing.
Nhs666 said:
why placebo effect....the question is how good can a benchmark represent the practial application in daily usage. Anybody?
I tried vm heap bigger than 32mb too. But while running navigon it seems to me not much as a big improvement so i switched back.
The compcage thing will be the next thing im testing.
Click to expand...
Click to collapse
I have to agree with you Whatever makes my phone "feeling" snappier and faster is good enough in my eyes!
You should really check Juwes Ram optimization thread in the Android development section for some serious performance gain. I flashed it yesterday in CM 7.1 Nightly 144 and the responsiveness boost is quite noticeable.
i agree the synthetic benchmarks are not that important its the daily use performance that mater to me
I have disabled compcache and enabled swap and my phone is snappier than 18%compcache may be Coz of compressing and decompression techniques that slow the process in compcache and scores 3.9 to 4.1 on linpack score with 576 MHz speed...
Sent from my HTC Wildfire
vijaykirann said:
I have disabled compcache and enabled swap and my phone is snappier than 18%compcache may be Coz of compressing and decompression techniques that slow the process in compcache and scores 3.9 to 4.1 on linpack score with 576 MHz speed...
Sent from my HTC Wildfire
Click to expand...
Click to collapse
Hmm i have a swap partition already made just in case and i might try it, but in theory a swap partition (even worse if it's a file) is much slower than the compressed cache due to the SD Speed limitations, unless we are discussing about class 10 cards.
anyone ?

The Best Kernel

Here is the best kernel for stock based x10 roms.
n5-1 http://www.mediafire.com/?z8voe760ok24doy
ALL THANKS TO THJAP
You don't know what you've been missing! This is for locked bootloaders so flash it with xrecovery. For unlocked bootloaders flash baseband .71 with flashtool first which also gives you the stock kernel. Then you can flash this kernel through recovery.
Sent from my X10i using xda premium
Features?
Farik335 said:
Features?
Click to expand...
Click to collapse
Im not even sure whats different about this one over others. All I know is its way better than any other I've tryed.
Sent from my X10i using xda premium
There is no such thing as a "Best kernel"! it grealty depends on what rom you're using, which settings you apply, ram, number of apps, cpu frequencies, governors and i/o scheduler. It also greatly differs per phone!!!!!
This one doesnt work on jaf rom!
It makes my phone to stuck at bootscreen!
And after flashing back to dooms kernel,everything is lagging,so i had to restore a backup!really a great kernel!
After flashing this My phone speed is like flashing the new Adreno ICS Driver its really slow
OK OK OK
I know benchmarks don't mean anything to you guys.
Sent from my X10i using xda premium
Deleted!!!
JeffreyPiket said:
Read this and weep!!!!!
Click to expand...
Click to collapse
Man. I thought that would spark a reaction.
Sent from my X10i using xda premium
tonyreimer said:
OK OK OK
I know benchmarks don't mean anything to you guys.
Sent from my X10i using xda premium
Click to expand...
Click to collapse
Read it and weep!!!!!
Dani897 said:
benchmarks are basically useless to the end user. fun to compare but dont think about it too much. a benchmark like quadrant can show a low score based on one area of poor performance but there is no guarantee that that will cause a bottleneck for data. it can also generate a high score based on one area and there is no proof that it is benificial. for instance we use voodoo lagfix that increases filesystem io according to the method quadrant usses to measure it by a fairly significant amount. it has never been proven to reduce hesitation of the phone outside of perception of the user, it is a good mod and i dont knock it im just trying to be objective. the thing is that data goes throught many componants and is held in ram and cached on the cpu, as long as the useage is light the file system performance is barely an issue because there are several systems that act as buffers, only when processing long sets of data uninterupted will the certain speeds become a bottleneck.
for a good analogy it is like drinking through a straw vs drinking through a hose vs drinking through a 1ft diameter pipe. the straw may slow the speed you can drink while the hose will not, but the pipe can supply much more water yet it is of no benifit to the person drinking because he can only drink so fast.
add cacheing into the analogy and it is like filling a glass through a straw a pipe and a hose. the glass can supply the person drinking as fast as they need it, but only holds so much liquid, it is enough in for on person but if several people want to drink (multi tasking or heavy usage) the staw will be a bottle neck, the hose will not and the pipe though overkill may make things marginally faster. now if there is alot of caheing it may be more like filling buckets and then the pipe may help but only when there is an enormous amount of data being used and in that case it needs to be processed just as fast, this is when the cpu can become a bottle neck.
it is very difficult to write a benchmark that can take this into account so it is hard to tell the usefullness of the data the benchmark gives you without reading the results of the individual tests it performs and making judgment calls.
we can increase our benchmark scores for filesystem by changing the filesystem to ext4, and even better by going with nilfs or nilfs2. we can increase sequencial reads by increasing readahead but that reduces random performance and waists resources. it all becomes a big balancing act and the end results can vary.
there are also ways to change the ram timing, the dalvik cache heap size, alter the ram disks, we can make the rom smaller and remove stock apps that are not needed, turn off background services that use resources, change polling frequencies to save resources, change governors to ramp up faster, alter and compile drivers for more efficient use of hardware, and a long list of other things. some work extremely well, some don't. some will make the phone snappier and have no effect on benchmarks, some will greatly increase benchmarks and not the feel of the phone.
Click to expand...
Click to collapse
:highfive:
Check out the 2d and 3d on the bottom of the top screen shot. I challenge you to get that good on both of them with any other kernel on our old x10.
Sent from my X10i using xda premium
tonyreimer said:
Check out the 2d and 3d on the bottom of the top screen shot. I challenge you to get that good on both of them with any other kernel on our old x10.
Sent from my X10i using xda premium
Click to expand...
Click to collapse
No Comment... don't feel offended.. but
Did you read anything from the text Jeffrey posted?
You, well not you, but any good Dev can tweak a kernel and rom, to be good in Benchmarks.. while the general User Experience just plain sucks..
And to be honest, almost every ICS Rom with a somewhat decent optimized Kernel, has more 2D and 3D points than your screenshot.. i don't even need to post proof. it's a fact, even with the Xperia X10.
And there is no such thing as a best kernel...
Depending on the user, every Kernel has it dis-/advantages..
And thats why i think it's good for your ROM to support multiple Kernels, a thing many dev's are still missing, because when you have multiple Kernels, every user can use the Kernel best suited for his needs.
Tekkpriest said:
No Comment... don't feel offended.. but
Did you read anything from the text Jeffrey posted?
You, well not you, but any good Dev can tweak a kernel and rom, to be good in Benchmarks.. while the general User Experience just plain sucks..
And to be honest, almost every ICS Rom with a somewhat decent optimized Kernel, has more 2D and 3D points than your screenshot.. i don't even need to post proof. it's a fact, even with the Xperia X10.
And there is no such thing as a best kernel...
Depending on the user, every Kernel has it dis-/advantages..
And thats why i think it's good for your ROM to support multiple Kernels, a thing many dev's are still missing, because when you have multiple Kernels, every user can use the Kernel best suited for his needs.
Click to expand...
Click to collapse
Ya, I read it. I haven't tryed ics yet cause i use my phone as my internet connection. OK thats fine. I don't really care if not anyone else uses this kernel but as for me its the best one I've ever had. Peace
Sent from my X10i using xda premium
:silly: That's all!
etedeni fhall
JeffreyPiket said:
There is no such thing as a "Best kernel"! it grealty depends on what rom you're using, which settings you apply, ram, number of apps, cpu frequencies, governors and i/o scheduler. It also greatly differs per phone!!!!!
Click to expand...
Click to collapse
Totally agree with this post

A list of questions

Hello All! I have a somewhat large list of questions that I'm hoping you'll be able to help me figure out!
Here they are:
1. How large of a gain do we see by overclocking the GPU?
2. How large of a gain do we see by overclocking the CPU?
3. Which of the above two creates a larger heat increase?
4. What is "mpdecision" and what does it do?
The fifth question is very specific.
5. When I "supercharge" my phone using Zepplinrox's V6 supercharger, and then finish it with it's sister script the "Ultimate Jar Power tools," I see that the ADJ values don't stick. Why is this? What are ADJ values? Will this prevent me from fully utilizing the Maximum Multitasking Mod?
Thank you for your time patience,
Connor Baker
why would u even want to overclock? this things running a quad core at 1.5 by default. plus those supercharger scripts are meant to speed up slow phones. i don't see what someone could possibly gain by running them on a phone like this.
Sent from my Nexus 4 using xda premium
lowrider262 said:
why would u even want to overclock? this things running a quad core at 1.5 by default. plus those supercharger scripts are meant to speed up slow phones. i don't see what someone could possibly gain by running them on a phone like this.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I know, but I really like to have my phone running at the max, plus I believe that it's needed for the Maximum multitasking mods. It really thrills me to have something faster than my mother's mac in my hand.
Connor Baker
well in that case ill help you the best i can lol... in pretty sure CPU overclock heats up more. GPU overclock can make your graphics glitchy if you go too high. mpdecision lets you shut off your other 3 cores when you don't need them so basically you'll be running single core unless you put your CPU under a heavy load like gaming, which is meant to save battery.
Sent from my Nexus 4 using xda premium
Don't overclock unless you feel you need to, you'll be shortening the lifespan of your device for very little gain, since the n4 already screams as it is.

Tips to Speed up our Phones!!

Hello guys,
Our X8/W8 is a slow speed device and without proper memory management there would be many lags and unresponsiveness in our device.So to overcome these problems I have some tips and thought that I will share it with all you guys.
These are those tips that I know of and those that I believe will actually speed up your phone and some tips here will also allow you to conserve some battery life too.So here we go:
Dont use too many apps.Delete all unused apps.
Dont use more than 2 launchers in the same device.It will cause a lot of RAM loss.
When selecting your default launcher try to select a launcher that is small in size so that it will ony take up a small amount of RAM.
To reduce HomeScreen Redrawing check the "Keep Home In Memory" app found in almost all Custom ROMs.This will reduce the time taken for your HomeScreen to fully load up after you exit an app.
Dont Undervolt the CPU if you find that your Phone is becoming too slow.
When selecting a rom make sure that your ROM is lightweight(small in size).The Custom ROM runs in the RAM of our device and when the Custom Rom is small in size then it will take up only a small amount of RAM and you will have more free RAM.
Odexed ROMs should technically speed up your Phone but the difference will be only minor.
If your manufacturing date is 11W29 or below then it would be good to unlock the Bootloader and flash a Custom Kernel.If the Custom Kernel is a good one then we can notice a change in our Phone's speed.
Remove all bloatware from the Custom Rom.
Reduce the use of Live Wallpapers.
Turn off 3G, WiFi, Bluetooth, GPS, Data Services etc when they are not in use.This speeds up your Rom and also conserves your Battery.
Overclocking should be done ONLY when needed so bad.What it does is that it supplies more power than needed to you CPU and tries to increase its clock speed.This may speed up you phone but it also OVERHEATS the CPU and as a long term effect it may destroy your CPU.So you will have to buy a new phone!
Its better to have a darker theme than a lighter one.Darker themes conserves the Battery and also speed up your device a bit.
Dont use a Third Party Task Killer app. Android will manage it memory by itself.
After Rebooting or Turning on the device wait for a 1-2 minutes even after the screen is fully loaded.This allows the ROM to settle and you can use it more efficiently afterwards.
Use of V6 Supercharger by Zepplinrox,The Adrenaline Engine etc has to be considered over Overclocking as overclocking will ultimately damage the CPU.
This list of tips will be constantly updating.If you have any tips that you use to speed up your phone please post it here and I will add it to this list.
Click THANKS if this helped!!
Enjoy!!!!!!!!
Thanks!!!!
Yokisen said:
Thanks!!!!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=35471324&postcount=1
read point 5.
nice!!
just a question, would u recommend x8 users to use supercharger? or any other tweaks?
hzai93 said:
just a question, would u recommend x8 users to use supercharger? or any other tweaks?
Click to expand...
Click to collapse
Supercharger with lukenda's ultraram settings :thumbup:
Sent from my X8 using xda app-developers app
Isn't there already a thread about speeding up our phone? By lucastan.
Click to expand...
Click to collapse
Thats by using different apps but this one doesnt use any third party apps to speed up our phone.These are general methods to speed up our phone.
Thanks.. !
Sent from my X8 using xda app-developers app
Thanks a lot!!
Sent from my E15i using xda premium
Hazirul said:
Thanks.. !
Sent from my X8 using xda app-developers app
Click to expand...
Click to collapse
Suhairul said:
Thanks a lot!!
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Both of you
There's a button for that...
What u did is called spamming!
wanna thank xda? here
Cool
Sent from my E16i using xda app-developers app
what about for jelly bean?
hey guys do you guys know any good tweak that i can use to speed up my minicm10? just wanna ask since i am addicted to tweaking my phone to its max potential
To reduce HomeScreen Redrawing check the "Keep Home In Memory" app found in almost all Custom ROMs.This will reduce the time taken for your HomeScreen to fully load up after you exit an app.
Click to expand...
Click to collapse
This is bad. Android will kill other more important app. One time it killed my systemUI . So I prefer to wait but I haven't seen redrawing launcher since I'm using custom kernel and good rom
overclocking will ultimately damage the CPU.
Click to expand...
Click to collapse
Have somebody seen bricked x8 by overclock? I don't think so. I'm using my phone with maximum oc my phone can run. 245/787mhz for about year (since I have bought it) and it is still working great without any issues.
Sorry for my English.
Code:
This is bad. Android will kill other more important app. One time it killed my systemUI . So I prefer to wait but I haven't seen redrawing launcher since I'm using custom kernel and good rom
In all my life I have never heard this before.I dont think Android will kill the SystemUI. It is like killing itself, and that is NOTlikely to happen.The "Lock Home In Memory" doesnt make your launcher indestructible! It just make it a little more difficult to kill but yet "kill-able".It will kill the launcher only when a lot of other unwanted apps have been killed.That option just gives the launcher a little more priority.
Code:
Have somebody seen bricked x8 by overclock? I don't think so. I'm using my phone with maximum oc my phone can run. 245/787mhz for about year (since I have bought it) and it is still working great without any issues.
Sorry for my English.
When you overclock have you ever touched the phone's back???
Well you can see that its hotter than usual. This means that more amount of power goes into the CPU.
For example, You take the case of a LED.When you give it the right amount of power it lights up very well,but what happens when you give it a lot more power than needed??It will overheat and eventually get destroyed.Thats the same thing that will happen here.Overclocking may not explode your CPU but if you have overclocked for a long time and then switch to normal then you can see that the CPU is now less efficient than it was before overclocking.
Cheers
Leon
last mini cm10 nightly + nAa .32 v4 its pretty fast but when I add Seeder app it seems to be a lot of faster.
App is reduced some lags so maybe it's only illusion
By doing implementing these tips you can get a better speed without much effort.But surely these tips wont make your phone an Xperia Z but you can surely notice some effects.
Swapper 2
Does using swapper 2 or a similar application help ?
I personally wont recommend Swaping. It will reduce our SDcard life. And we need to use a very high quality SD card which is very costly and and you will have a reduced life span of SD card too. But if you can afford buying a High Quality Class SD card once in a while then its OK.
Leon1234 said:
I personally wont recommend Swaping. It will reduce our SDcard life. And we need to use a very high quality SD card which is very costly and and you will have a reduced life span of SD card too. But if you can afford buying a High Quality Class SD card once in a while then its OK.
Click to expand...
Click to collapse
can be used only while gaming

Low memory killer values

Hello my nexus 6 always slow down after days of use, too much apps on memory and low free ram, so I started stuying other devices oom settings, and found that two of fastest devices I can observe have this settings, so try it if you want , for me these fixed slugginess after days without reboot.
lol!
btw, rebooting your device every once in a while will also keep it fast.
fedef12evo said:
Hello my nexus 6 always slow down after days of use, too much apps on memory and low free ram, so I started stuying other devices oom settings, and found that two of fastest devices I can observe have this settings, so try it if you want , for me these fixed slugginess after days without reboot.
Click to expand...
Click to collapse
which kernel are you using ?
normaly the stocl lmk values are good enough to not be laggy
Dead-neM said:
which kernel are you using ?
normaly the stocl lmk values are good enough to not be laggy
Click to expand...
Click to collapse
All the kernels have the same lmk values, that are too low
fedef12evo said:
All the kernels have the same lmk values, that are too low
Click to expand...
Click to collapse
yes these are the stock value for 3gb of ram i guess but they're not too low. the android will kill old apps when necessary to free up the ram.
with gravitybox i can see that on recent tab my memory can be around 130mb free ( not feeling laggy) and when reopen the recent tab again there is around 400mb free and i don't touch lmk value
i think it's a kernel related problem this is why i ask which one he's using.
fedef12evo said:
All the kernels have the same lmk values, that are too low
Click to expand...
Click to collapse
No... not really...
I highly doubt it truly has to do with your lmk... and probably more to do with vmpressure
I bet you have that either set too low... or its broken all together... which means garbage collections isn't happening when it's supposed to...
If you were to drop_cache... your lag would be gone...
Messing with lmk without proper knowledge just leads to an unstable device
rignfool said:
No... not really...
I highly doubt it truly has to do with your lmk... and probably more to do with vmpressure
I bet you have that either set too low... or its broken all together... which means garbage collections isn't happening when it's supposed to...
If you were to drop_cache... your lag would be gone...
Messing with lmk without proper knowledge just leads to an unstable device
Click to expand...
Click to collapse
Maybe yes you are right, I am using aicp rom that has some tweaks about swappiness and vm cache pressure, what are the best values?
fedef12evo said:
Maybe yes you are right, I am using aicp rom that has some tweaks about swappiness and vm cache pressure, what are the best values?
Click to expand...
Click to collapse
Swappiness: no swap file(why do you need one with 3 GB of ram?) No change...
Vmpressure:
This is kinda grey...
There are 2 schools of thought...
HIGH: run between 100 and 200... your device will drop caches as necessary... with error on the side of... dump early dump often...
LOW: run at like 20... or even 0... but then run a cron.d job every 2 hours or so to "manually" drop caches... and when you realize you can make it longer between drops... you do...
Pros & Cons... I have no bloody idea...
Me personally... I like running between 150 and 200... it keeps my phone happy enough...
rignfool said:
Swappiness: no swap file(why do you need one with 3 GB of ram?) No change...
Vmpressure:
This is kinda grey...
There are 2 schools of thought...
HIGH: run between 100 and 200... your device will drop caches as necessary... with error on the side of... dump early dump often...
LOW: run at like 20... or even 0... but then run a cron.d job every 2 hours or so to "manually" drop caches... and when you realize you can make it longer between drops... you do...
Pros & Cons... I have no bloody idea...
Me personally... I like running between 150 and 200... it keeps my phone happy enough...
Click to expand...
Click to collapse
On aicp stock value is swap 0 and cache pressure 20 , so I am going to try 200 thank you
i used to set my low memory killer values, a long time ago. but ive found that rebooting every day or two does a better job.
I know it's not exactly on topic but what about scrolling cache? I hear if you disable it, scrolling in the UI is glassy smooth.
I don't know how to disable except I did see a setting once when I was running Dirty Unicorns.
Don't know if this was only valid on previous OS version or if it still works for MM.
Sent from my Nexus 6 using XDA Labs
MrBrady said:
I know it's not exactly on topic but what about scrolling cache? I hear if you disable it, scrolling in the UI is glassy smooth.
I don't know how to disable except I did see a setting once when I was running Dirty Unicorns.
Don't know if this was only valid on previous OS version or if it still works for MM.
Sent from my Nexus 6 using XDA Labs
Click to expand...
Click to collapse
Already tried, without scrolling cache, device is very laggy, dont know why, but having it enabled is better

Categories

Resources