![]() |
Re: How to set swappiness?
how do i edit with midnight commander? i can locate the rcS edit it but it wont save my settings?
|
Re: How to set swappiness?
Quote:
However, the swapiness 100 is definitely wrong, at least with current kernel - it doesn't have a conditional swapiness which would stop swap ops in progress if there is no "not-enough-memory" condition and some urgent flash IO. |
Re: How to set swappiness?
You must become root before starting mc. Install package 'rootsh', start xterminal, write
Code:
root |
Re: How to set swappiness?
I highly recommend to anybody who wants to change rcS - instead of that just create a file /etc/event.d/somename with following lines:
Code:
description "my somename fix" This would not corrupt your N900 in case of problem and it allows the next Nokia OTA upgrade. You need to be root and run your favorite editor (see prev posts for know how to edit file). |
Re: How to set swappiness?
Quote:
|
Re: How to set swappiness?
how do i get this symbol in n900??
> |
Re: How to set swappiness?
Quote:
Consider that writing a single 4K RAM page consists of 8 x 512B writes (with the only benefit being that -this- page will be contiguous) and if you're pushing off more than a few pages swap partition, you're going to be hurting. The eMMC lacking moving parts should maintain throughput much better. If you're real curious, you could always throw IOMeter at it ;) |
Re: How to set swappiness?
|
Re: How to set swappiness?
Quote:
To save you some time, here is what the manual says: "Press and hold (the diagonal blue arrow) and then press the sym key." |
Re: How to set swappiness?
Actually, flash devices are more suitable for streaming then random access - there is a serious logic behind that. Yes the random access in flash is faster for READ but write is another story and it is not very good for flash devices yet.
In any way, swap write is essentially a sequential operation. Kernel does a special logic behind this. |
All times are GMT. The time now is 09:41. |
vBulletin® Version 3.8.8