Active Topics

 


Reply
Thread Tools
Posts: 44 | Thanked: 25 times | Joined on May 2012 @ Karhula, Finland
#11
Originally Posted by ajalkane View Post
Hmm... seems like running as root is required. We're getting into the murky waters of aegis land now. You can try:

Code:
aegis-exec /opt/dropcache-mdn/bin/dropcache.sh --3
I'm at work now, could someone throw a test with this command?

Nevermind, customer just left.
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2011
#12
Originally Posted by ajalkane View Post
Hmm... seems like running as root is required. We're getting into the murky waters of aegis land now. You can try:

Code:
aegis-exec /opt/dropcache-mdn/bin/dropcache.sh --3
it works. Thanks
 
Posts: 44 | Thanked: 25 times | Joined on May 2012 @ Karhula, Finland
#13
Originally Posted by ajalkane View Post
Hmm... seems like running as root is required. We're getting into the murky waters of aegis land now. You can try:

Code:
aegis-exec /opt/dropcache-mdn/bin/dropcache.sh --3
Running with Profile:

Starts: 12:00 every day.
Runs the script at start.

Ends: 18:00 every day.
Runs the script at end.

I'm monitoring my battery and applications from now on, will tell you if there's any noticeable battery drain, sluggishness and application errors.


Thanks to everyone this far!
 

The Following 2 Users Say Thank You to weedm8 For This Useful Post:
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#14
Originally Posted by weedm8 View Post
The benefit I'm looking here would be that the N9 really feels sluggish from time to time. Let's say that 1 minute would suck alot, BUT how about a free memory every 3-24h example.
Cached memory *is* essentially free memory. It's only used to speed access to something which is no longer needed right now, but might be needed again in the near future. If "real" memory is required, then that cache will go away.
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 

The Following 9 Users Say Thank You to w00t For This Useful Post:
Posts: 44 | Thanked: 25 times | Joined on May 2012 @ Karhula, Finland
#15
Hello my fellow maemo.orgers.

I did keep the profile running for yesterday and the outcome.

Idle consumption did not change.
No sluggishness noticed
No errors.

I will try to tighten the automated drop cache profile from:

Starts: 12:00 every day.
Runs the script at start.

Ends: 18:00 every day.
Runs the script at end.


to this:

Profile 1:
Starts: 06:00 every day.
Runs the script at start.

Ends: 09:00 every day.
Runs the script at end.

Profile 2:
Starts: 12:00 every day.
Runs the script at start.

Ends: 15:00 every day.
Runs the script at end.

Profile 3:
Starts: 18:00 every day.
Runs the script at start.

Ends: 21:00 every day.
Runs the script at end.



Could someone try the same and post some results too?

I'm running stock CPU clock, pr1.3 and FasterN9 with ProfileMatic & Drop Cache script mentioned earlier in this thread.


EDIT:
(12:00 & 18:00 auto-free memory profile)
Battery 88%, Lasted for 4 hours, 57 mins
Running with rules: Silent, BlueTooth off, GSM mode, Availability offline and Power saving when idle for 30minutes.

Power usage:
Active - 12mins - impact 45%
Idle - 4h 47minutes - impact 55%

Avg consumption: 19mA
avg active: 198mA
avg Idle: 11mA

Estimated usage time left: 2d 19h 37mins
Estimated active left: 4h 34mins
Estimated idle left: 2d 2h 28mins

Backlight: 80% - 30seconds.

Consumers:
Device idle: 33%
Meego system: 16%
Battery Usage: 11%
Cellular Network: 10%
Audio PLayback: 8%
Clock: 6%
Stand-by Screen: 5%
Home Screen: 4%
Uptimer: 3%
ProfileMatic 2%
Phone: 1%
Synchronization services: 1%

Those that are bolded seem a bit weird. Any idea why Clock for example is hanging on that list? And why Battery Usage app eats 11%?

Last edited by weedm8; 2012-07-11 at 07:48. Reason: added profile descriptions
 

The Following 3 Users Say Thank You to weedm8 For This Useful Post:
Posts: 12 | Thanked: 13 times | Joined on Nov 2011 @ Tampere Finland
#16
Originally Posted by reinob View Post
if the kernel needs memory it will free
The most exciting thing about Drop Cache for me is that it is really able to solve some 'slow visual performance' issues on N9 sometime. (I am the author, and an originally primary target of the app was mostly to do some performance tests/measurements only).

I did not believe to users feedback (I thought it works like placebo pills) before I have tried it with a very sluggish animation between Home screens (I have closed every application before - without any improvement). 'Drop Cache' somehow solves such issue.

From my point of view - there is some low level bug somewhere in the kernel, or perhaps some wrong configuration for cgroups, or something like that - and it is just resetted by such 'drop cache' action. It would be nice if it would be possible to do such reset without full cache reset - perhaps I will try to dig in deeper later. (But it is really hard to reproduce the problem).

Originally Posted by reinob View Post
your N9 will have to reload stuff again -> slower + more battery consumption.
Yes, more battery consumption at idle state, even some visible delay if user is doing something (like playing in a game) for short period of time, and so on.

Anyway, I will try to update the application later, with some warning to user, perhaps do it at idle state + charging state only, and so on.
 

The Following 5 Users Say Thank You to mdn For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#17
@mdn,

I don't have an N9 so I cannot check. What's the (default) value of /proc/sys/vm/dirty_background_ratio?

Perhaps the N9, given its huge available memory, has a large percentage of memory available for the write-cache, so that when it actually has to write everything to "disk" the whole system halts for a while.

The N900 has ratio = 10%, which is the default in the kernel.
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
mrsellout's Avatar
Posts: 889 | Thanked: 2,087 times | Joined on Sep 2010 @ Manchester
#18
The default value I have is 10.
 

The Following 2 Users Say Thank You to mrsellout For This Useful Post:
Posts: 180 | Thanked: 79 times | Joined on Mar 2012
#19
Have you guys tried fastern9? Speeds up the n9 to no end. I'm 99% lag free.
 
Posts: 12 | Thanked: 13 times | Joined on Nov 2011 @ Tampere Finland
#20
Originally Posted by reinob View Post
I don't have an N9 so I cannot check. What's the (default) value of /proc/sys/vm/dirty_background_ratio?
It is 10, dirty_ratio = 40.
It should not be related directly as mostly helps just a dropped cache - without 'sync' in advance.
 

The Following User Says Thank You to mdn For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:12.