Reply
Thread Tools
Posts: 39 | Thanked: 117 times | Joined on Apr 2010 @ Norway
#11
Originally Posted by robthebold View Post
Edit: BentL, what constitutes too low? I see memory free 163 of 885 mb and swap free 188 of 255 mb, but I don't know what it should be for optimum performance.
When the free swap memory gets below ca. 100 MB, my N9 gets slow or unresponsive depending on task, and I will reboot the device.
 

The Following User Says Thank You to BentL For This Useful Post:
Posts: 109 | Thanked: 84 times | Joined on Sep 2014 @ India
#12
you should not use drop cache frequently.
What happens is that when you open an app, it gets copied into the memory (RAM) from the disk (MMC).
Now when you are done with the app, and close it, it is not completely removed from the RAM, it is instead cached. So when you open it the next time, it doesn't need load it again from the disk.
This loading from disk to RAM is a very slow operation. So if you free all in the drop cache app, the cached memory, your phone will have to copy the app back to the RAM when you next open it, so there might be lags there.
So apps like phone, camera, or any other frequently used app if already there in RAM will benefit you.

Now if we see the swap, it is basically ramzswap, i.e. the 1GiB RAM in N9 is divided into RAM and swap.
So whenever your ram starts filling (how much? that is decided by swappiness), some of it is moved to the swap to make space for new apps in RAM. But it is stored in compressed form in swap. So effectively you can now store more data in RAM than you could have stored if it were not divided into swap and RAM.
So you get to keep more apps open in exchange to a little time for compressing decompressing and copying stuff. This copying is fast as swap has the same speed as of RAM. but it sure takes time.

So if you do a lot of multitasking, ramzswap will benefit you, if not, it is unnecessarily slowing things down.
You can change the swappiness or disable swap completely.

So if you have less or no apps open and still see lot of RAM used, let it be that way.
But if you have lots of apps open, your memory is almost full and probably your swap too. Then you will have to close apps to make room for new ones, or worst case restart to clear swap, as there is no other method to clear swap (not that i am aware of).
 

The Following User Says Thank You to tioubxancur For This Useful Post:
Posts: 146 | Thanked: 99 times | Joined on Jan 2012 @ Lisbon, Portugal
#13
Originally Posted by robthebold View Post
I've been wondering myself if I've just got too much stored in the tracker sparql database. I seem to see my slowdowns and unresponsive apps when new items are being added, like incoming SMSs and new pictures I've just taken. It seems crazy that a database in 2016 would have trouble with just a few thousand entries, but I can't help thinking that it's just got poor index performance. WAG, I admit.

But the cache thing is an interesting alternate theory. I'm gonna try that myself and hopefully prove myself wrong about the DB.

Edit: BentL, what constitutes too low? I see memory free 163 of 885 mb and swap free 188 of 255 mb, but I don't know what it should be for optimum performance.
When I'm having slowdowns, both my memory and swap are <10MB free. After "free all", 100+MB free mem and 50+MB free cache.
__________________
SGH-2100,T39i,T68m,K750,T700,N95-1,N9/64
I like to stroke my N9 - My preciousssss....
Need Portuguese (European) localizations? Ask me.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:39.