|
2012-05-02
, 09:14
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#2702
|
|
2012-05-02
, 09:17
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2703
|
|
2012-05-02
, 09:44
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#2704
|
I have it installed with recommended settings but i can't see any option to disable this watchdog - what excatly di you mean?
echo 0 > /proc/sys/vm/page-cluster echo 512 > /sys/block/mmcblk0/queue/nr_requests echo 512 > /sys/block/mmcblk1/queue/nr_requests echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 32 > /sys/block/mmcblk0/queue/iosched/quantum echo 32 > /sys/block/mmcblk1/queue/iosched/quantum echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 80 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 180 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 180 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
|
2012-05-02
, 12:22
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2705
|
you can't. could you try the settings bellow
Code:echo 0 > /proc/sys/vm/page-cluster echo 512 > /sys/block/mmcblk0/queue/nr_requests echo 512 > /sys/block/mmcblk1/queue/nr_requests echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 32 > /sys/block/mmcblk0/queue/iosched/quantum echo 32 > /sys/block/mmcblk1/queue/iosched/quantum echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 80 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 180 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 180 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
|
2012-05-02
, 17:12
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2706
|
echo 5 > /proc/sys/vm/page-cluster echo 256 > /sys/block/mmcblk0/queue/nr_requests echo 512 > /sys/block/mmcblk1/queue/nr_requests echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 7 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 4 > /sys/block/mmcblk0/queue/iosched/quantum echo 4 > /sys/block/mmcblk1/queue/iosched/quantum echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 125 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 250 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
The Following 4 Users Say Thank You to Estel For This Useful Post: | ||
|
2012-05-02
, 19:54
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2707
|
It's worth to add, that having swap on microSD and ED partition on eMMC also helps with performance. Honestly, I haven't had any reboots, no matter if I lzma 3GB image file for ED (on device), copy <whatever> size/files count directory, or any other heavy I/O thing. Of course, I also modified files suggested by freemangordon, but I use slightly different settings (tweaked to my liking):
I must add, that combination of swap on (class 2) microSD and above settings, not only device doesn't reboot during heavy I/O, but is also fully responsible (seriously, @900 mhz, even during packaging ED image with lzma and compressions (1 above default), I can do other things on device without much problem!).Code:echo 5 > /proc/sys/vm/page-cluster echo 256 > /sys/block/mmcblk0/queue/nr_requests echo 512 > /sys/block/mmcblk1/queue/nr_requests echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 7 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 4 > /sys/block/mmcblk0/queue/iosched/quantum echo 4 > /sys/block/mmcblk1/queue/iosched/quantum echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 125 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 250 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
/Estel
|
2012-05-03
, 12:16
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2708
|
|
2012-05-03
, 14:11
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2709
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2012-05-03
, 18:23
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2710
|
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
Thread Tools | |
|
The problem is the N900's watchdog*, which is supposed to reboot your phone if some process stops responding. Whenever you put the N900's CPU on full load for more than (say) 10 minutes (which can easily be done by file system I/O) you'll likely trigger its reboot routine.
You can alleviate that problem by running every program that's likely to trigger the watchdog with a lower nice priority:
The only safe way to avoid the watchdog being triggered is to make sure the N900 won't be on full load for too long. So in your case it should help to not copy everything at once but to copy one (or some) directory at a time, wait until the load is down to normal again and then start the next one.
*) rant: In my opinion from a technical/hardware point of view the watchdog is the biggest flaw in the N900's design. I've had numerous reboots due to the watchdog, none of them being justified. There was no runaway process, I just wanted to do some task that did not finish within a few minutes (dist-upgrade Easy Debian, compile something, etc.).
So if someone has found a way to disable the watchdog completely (without putting the N900 in R&D mode) I'd be grateful to hear that!
@Estel:
While we're at ranting, I totally agree with your browser rant. Unfortunately text browsers like lynx or w3m don't work that great on the N900, but you might want to try chimera2 [1] in Easy Debian or dillo3 [2] once I've managed to dist-upgrade to Wheezy (which I can't do on the N900 due to the watchdog, therefore I've started to tinker with qemu on my PC).
Afair there was a "dillo3 on Maemo" thread some time ago (it might as well have been a youtube video I stumbled upon). Both browsers are severely limited in their functionality, but for simple browsing they should suffice.
There are also midori [3] and arora [4], which might be alternatives. They are supposed to be lightweight, but according to my experience that highly depends on your system and I haven't found out yet why that varies so much.
[1] http://packages.debian.org/squeeze/chimera2
[2] http://packages.debian.org/wheezy/dillo
[3] http://packages.debian.org/squeeze/midori
[4] http://packages.debian.org/squeeze/arora
Last edited by sulu; 2012-05-02 at 08:33.