|
2010-12-09
, 19:58
|
|
Posts: 349 |
Thanked: 309 times |
Joined on Feb 2010
@ PS/IL
|
#292
|
The Following User Says Thank You to Chrome For This Useful Post: | ||
|
2010-12-09
, 20:18
|
Posts: 343 |
Thanked: 819 times |
Joined on Jan 2010
@ Paris, France
|
#293
|
The Following User Says Thank You to P@t For This Useful Post: | ||
|
2010-12-10
, 00:39
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#294
|
|
2010-12-10
, 00:49
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#295
|
The Following User Says Thank You to F2thaK For This Useful Post: | ||
|
2010-12-10
, 01:31
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#296
|
don't want to go into techincallities and all cause I don't want to make a long post.
echo 6 > /proc/sys/vm/page-cluster
I chose this value simply because having done some research I found that increasing the value actually made their computers faster. The original value was "5" which I thought was good enough though just to make things slightly better I increased it to "6" any higher and it would dig into battery life as it makes swap more aggressive.
|
2010-12-10
, 02:51
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#297
|
What research did you do into this? Was it just changing and observing that it made the computers you tested faster, or was there more to it than that?
While investigating the function of each of the settings that swappolube changed, I had a hard time finding much information on this one, so I ended up digging around in the kernel source code, and there was a comment saying that even though there are performance benefits from larger values for systems with larger amounts of RAM there were negative effects from setting this value above 3, so the default for a vanilla kernel is 3 (or 2 on very low memory systems), however there was no indication as to what the negative effects were in the comments. This value is used both for the number of swap pages to read ahead, as well as the number of swap pages to write in one go, it also uses the number in the 2^n fashion, so a value of 6 indicates 64 pages. Higher values are mostly of use when swap is on a hard disk drive where seek time is an issue, so it is beneficial to group read/writes into larger chunks to reduce the amount of time spent seeking. On an SSD seek times are less of an issue, so I would expect less of a benefit from high values, I would also think that lower values would tend to reduce lagginess when writing to swap since it will be doing it in smaller chunks. But to be honest I don't truly know how this affects responsiveness on the N900 and what is the best way to go.
Personally I decided to heed the warning and set it to 3, while swappolube sets it to 0 (IIRC).
The Following User Says Thank You to SavageD For This Useful Post: | ||
|
2010-12-10
, 03:12
|
Posts: 1,179 |
Thanked: 770 times |
Joined on Nov 2009
|
#298
|
|
2010-12-10
, 03:19
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#299
|
Installed this and today I had 3 calls where there was no sound. I couldn't hear the caller and the caller couldn't hear me. When I realised what was happening I asked the wife to call me (she was 1 of the 3 previous callers) and this time wecould hear each other. Strange! This was the only new thing I had installed and it was an issue I had never had before so unless there was some major coincidence this was the source of the problem. Since I could hear on the last call I will give this a try for another day to see.
|
2010-12-10
, 03:34
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#300
|
Did browsing the internet with a bluetooth headset have stuttering before using the patch?