maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Why does heavy io kills the device? (https://talk.maemo.org/showthread.php?t=71642)

Ayle 2011-03-30 01:51

Why does heavy io kills the device?
 
Hi, my question is in the title: why does heavy io on the emmc murder the responsiveness of the phone? For example if you download a torrent on mydocs, the phone is basically unusable until it's done or you remove the battery to tunr it off. Or when apt- is updating, the phone is unusable there too....
I have this old piii 700mhz with 192mb of ram running ubuntu 6.10 and i could be torrenting and copying files and generally hammering the hard drive without the thing looking like it just froze... What gives?

Bratag 2011-03-30 02:13

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by Ayle (Post 978150)
Hi, my question is in the title: why does heavy io on the emmc murder the responsiveness of the phone? For example if you download a torrent on mydocs, the phone is basically unusable until it's done or you remove the battery to tunr it off. Or when apt- is updating, the phone is unusable there too....
I have this old piii 700mhz with 192mb of ram running ubuntu 6.10 and i could be torrenting and copying files and generally hammering the hard drive without the thing looking like it just froze... What gives?

This topic has been discussed in detail, along with several possible solutions in quite a few threads. Search is your friend.

Start here.

http://talk.maemo.org/showthread.php...highlight=tune

Zas 2011-03-30 03:26

Re: Why does heavy io kills the device?
 
I hated it when it just froze when copying lots of files between mmc and emmc or restoring backups. Installed http://talk.maemo.org/showthread.php?t=69973 and it hasn't completely frozen since.

9000 2011-03-30 07:02

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by Ayle (Post 978150)
Hi, my question is in the title: why does heavy io on the emmc murder the responsiveness of the phone? For example if you download a torrent on mydocs, the phone is basically unusable until it's done or you remove the battery to tunr it off. Or when apt- is updating, the phone is unusable there too....
I have this old piii 700mhz with 192mb of ram running ubuntu 6.10 and i could be torrenting and copying files and generally hammering the hard drive without the thing looking like it just froze... What gives?

Performance does not solely rely on clock speed, especially for multi-tasking system. ARM is designed for low-power devices such that throttling mechanisms are in place to minimize power consumption. The system would run at much less optimal performance at high load.

Also, in a multi-tasking environment, fast switching memory and swap space is required. The serializing nature of flash memory is especially bad for mulit-tasking under high load for normal cpu-bound tasks, least i/o bound tasks.

So, don't push your N900 too hard. ;)

JadeH 2011-03-30 07:23

Re: Why does heavy io kills the device?
 
my N900 reboots sometimes due to heavy IO, it's really annoying, it corrupted an easy debian image and did other bad stuff

9000 2011-03-30 07:31

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by JadeH (Post 978254)
my N900 reboots sometimes due to heavy IO, it's really annoying, it corrupted an easy debian image and did other bad stuff

IIRC your N900 is new and that shouldn't be normal. Do you have SmartReflex on?

Code:

cat /sys/power/sr_vdd1_autocomp
cat /sys/power/sr_vdd2_autocomp

1=on, 0=off

JadeH 2011-03-30 07:48

Re: Why does heavy io kills the device?
 
yeah I've had it with 2 different devices, both would do it anyway weither smartreflex was on or off

epitaph 2011-03-30 07:56

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by JadeH (Post 978274)
yeah I've had it with 2 different devices, both would do it anyway weither smartreflex was on or off

I think there is something terrible wrong with Linux but the problem with all this tweaks and patches is that this device is using vfat for disks and the vfat driver is extremely buggy. You want to repartition the device with ext3.

9000 2011-03-30 07:57

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by JadeH (Post 978274)
yeah I've had it with 2 different devices, both would do it anyway weither smartreflex was on or off

I'd avoid turning them on in any circumstance.

BTW, you'd like to try disable off mode to see if it helps in your case:

Code:

echo 0 > /sys/power/enable_off_mode

epitaph 2011-03-30 08:02

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by 9000 (Post 978282)
I'd avoid turning them on in any circumstance.

BTW, you'd like to try disable off mode to see if it helps in your case:

Code:

echo 0 > /sys/power/enable_off_mode

Are you serious? You can tell her to switch on R&D mode and switch off watchdog, too. It has the same effect.

9000 2011-03-30 09:30

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by epitaph (Post 978284)
Are you serious? You can tell her to switch on R&D mode and switch off watchdog, too. It has the same effect.

Not the same.

But you can go ahead recommend that. JadeH is technical savvy enough to take the challenge.

epitaph 2011-03-30 09:56

Re: Why does heavy io kills the device?
 
Quote:

Originally Posted by 9000 (Post 978349)
Not the same.

But you can go ahead recommend that. JadeH is technical savvy enough to take the challenge.

Interesting. I'm trying to get rid of my R&D mode anyway! Thanks for your reply!


All times are GMT. The time now is 22:18.

vBulletin® Version 3.8.8