![]() |
Re: How to set swappiness?
Quote:
There's a reason for creating a new event.d script though (I also edited rcS at first). |
Re: How to set swappiness?
Quote:
i'm so new to linux that i only found out about vi a few days ago whilst trying to add aliases to root/.profile and i only found out cos i overwrote the damn file and lost the ability to run any apt command or do a reboot learning something new every day tho :D |
Re: How to set swappiness?
Google for Vi Cheat Sheet... ;)
Oh, and have a nice journey... :cool: |
Re: How to set swappiness?
what about that:
HTML Code:
# my rcS.e fix |
Re: How to set swappiness?
Quote:
Code:
description "it is my own N900 tuning"echo "95" > /proc/sys/vm/dirty_ratio It could not expose you to very common bug - the sequence like '95>' without space has a special meaning in shell. Note: I didn't evaluate the effect of that "echo" commands. |
Re: How to set swappiness?
For an explanation of these settings and values see http://www.knownokia.ca/2010/08/n900...-and-more.html
FWIW, I'm gonna try them out next days. |
Re: How to set swappiness?
I have a long time ago made a script that sets swappiness to 100 it is on the garage it is called "seatbelt" install the script will set swappines at startup.
whether this is a good thing to do i do not know. It worked great on the 770 |
Re: How to set swappiness?
To save users the time of searching, It's here ...
Using the seat belts read me file, I'm guessing we have to do this? As root. Copy the script to /etc/init.d Change script mode to executable Create this symbolic link using this command: ln -s /etc/init.d/<Script Name> /etc/rc2.d/S80seatbelt" Reboot And To reverse changes, remove the link and script... So basically all we need to do is create a sym link to a script for it to run on start up? |
Re: How to set swappiness?
Quote:
Quote:
No need for fugly sysvinit junk. On Maemo 5 just put in /etc/event.d/tuning Code:
description "N900 tuning" |
Re: How to set swappiness?
Quote:
|
| All times are GMT. The time now is 05:48. |
vBulletin® Version 3.8.8