The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
|
2011-03-01
, 21:39
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#72
|
Hi, I suspect this is a bug that may have began fundamentally before I subjected my N900 to these kernel tweeks. However, shortly after doing so, I developed a "symptom" in the form of the N900 crashing/rebooting spontaneously when dealing with very specific UI events - namely, selecting chunks of text with Home/End/PgUp/PgDown + Shift while the system is under medium to heavy multitasking load. My N900 has the aforementioned keys mapped to FN+Left/Right/Up/Down, so it's Shift+Fn+Arrow key.
There are other rare reboots without such presses but that's where I noticed it the most. I've been fiddling with some of the kernel parameters to see how I can get the best of both worlds - I suspect that what it is is some combination of having really low-and-easy-to-reach I/O locks, plus the RAM-heavy environment of multitasking.
To be fair I didn't originally implement all of the tweeks suggested here: I used my own marginal knowedge to try to find a middle ground between the hawaii tweaks (I don't like to call them swappolube tweaks without first pointing out that they came from hawaii) and this.
But in the meantime, I want to ask: the people who are benefitting from these mods, and you using your N900 for heavy multitasking, and if so, what kind? I/O heavy multitasking, processing-heavy multitasking, memory heavy multitasking (keeping in mind that you can and probably will be heavy on all/some of them), and how would you describe your multitasking in more plain english terms? Lots of files/data loaded into ram, as in video/music/whatever playing or heavy document/file editing, heavy web-browsing, what? Because when I play youtube videos, copy/edit files and use ftp/ssh/vnc, I am mostly reboot safe. But it's when I push the system and then just lightly use interactive UI elements that involves text (the MicroB browser being by far the primary offender), and do heavy text selection primarily, that it goes and reboots.
I'm not quite sure what's going on, and it seems that rasing dirty ratios slightly, and the vfs cache at 200, and for all I know my N900 is just dying from some hardware bug (never overclocked), but it's definitely odd, and if someone else is having spontaneous reboots after having these mods installed that has similar usecases to mine (lots of using the N900 as my primary web browsing and posting-my-rants tool), might mean something, and can help come up with better optimizations that get the majority of the benefits of this without impeding other use cases.
|
2011-03-01
, 22:36
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#73
|
The Following 2 Users Say Thank You to nightfire For This Useful Post: | ||
|
2011-03-02
, 03:36
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#74
|
Hey MT,
Mine's been rock solid with the config listed here. :/ I multitask heavily all the time and reboot about once a week for some reason or another.
I will admit that I stopped striping my swap as my tests from the other thread were somewhat bogus. In real-world scenarios I found swapping to the internal storage + SD was slower as:
a) it ties up the internal storage and
b) SD card is much faster for reads and writes.
I'm now swapping exclusively to SD (9mb/sec write, 17mb/sec read) and everything's stable and snappy.
|
2011-03-03
, 15:58
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#75
|
I don't know about a) but this isn't true for me when I stripe swap like u have suggested in ur 1st post:
/dev/mmcblk0p3 partition 786424 0 -2
/dev/mmcblk1p1 partition 639988 88092 -1
and SD card has prio -1 and is filled with 88 MB and internal has prio -2 and filled with 0 Bytes my device feels much more responsive. My 8 GB class 6 card is most likely similar in read and write to ur card. Also I'm using readahead of only 16 and nr_request of 1-4. One explanation can be that the bigger stripped swap space affects somehow the calculation of the swap function. The other is that I randomly and accidently choose a size of the 2nd swap and the 1st space together that match the 128 kb page limit but I'm really unsure. Is ur internal swap then disabled und useless waste? Anyway I got an error in my sfdisk program when it should count from 1 to INFINITY like told in the wiki about partitioning the sd card my program count from 0.
|
2011-03-03
, 16:02
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#76
|
|
2011-03-03
, 17:23
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#77
|
|
2011-03-03
, 17:28
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#78
|
|
2011-03-03
, 17:32
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#79
|
|
2011-03-03
, 17:40
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#80
|
There are other rare reboots without such presses but that's where I noticed it the most. I've been fiddling with some of the kernel parameters to see how I can get the best of both worlds - I suspect that what it is is some combination of having really low-and-easy-to-reach I/O locks, plus the RAM-heavy environment of multitasking.
To be fair I didn't originally implement all of the tweeks suggested here: I used my own marginal knowedge to try to find a middle ground between the hawaii tweaks (I don't like to call them swappolube tweaks without first pointing out that they came from hawaii) and this.
But in the meantime, I want to ask: the people who are benefitting from these mods, and you using your N900 for heavy multitasking, and if so, what kind? I/O heavy multitasking, processing-heavy multitasking, memory heavy multitasking (keeping in mind that you can and probably will be heavy on all/some of them), and how would you describe your multitasking in more plain english terms? Lots of files/data loaded into ram, as in video/music/whatever playing or heavy document/file editing, heavy web-browsing, what? Because when I play youtube videos, copy/edit files and use ftp/ssh/vnc, I am mostly reboot safe. But it's when I push the system and then just lightly use interactive UI elements that involves text (the MicroB browser being by far the primary offender), and do heavy text selection primarily, that it goes and reboots.
I'm not quite sure what's going on, and it seems that rasing dirty ratios slightly, and the vfs cache at 200, and for all I know my N900 is just dying from some hardware bug (never overclocked), but it's definitely odd, and if someone else is having spontaneous reboots after having these mods installed that has similar usecases to mine (lots of using the N900 as my primary web browsing and posting-my-rants tool), might mean something, and can help come up with better optimizations that get the majority of the benefits of this without impeding other use cases.