maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   How to upgrade the internal memory by extending the root filesystem to a memory card (https://talk.maemo.org/showthread.php?t=1165)

fanoush 2006-08-17 13:43

Hmm, did a bit non-scientific test of filesystem performance for both systems

ext2 on mmc

Code:

Nokia770-26:~# time tar >/dev/null cf - /usr
tar: Removing leading '/' from member names
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
real    1m 23.95s
user    0m 3.23s
sys    0m 12.28s

jffs2 on internal flash

Code:

Nokia770-26:~# time tar >/dev/null cf - /usr
tar: Removing leading '/' from member names
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
tar: Names longer than 100 chars not supported.
real    1m 11.50s
user    0m 3.44s
sys    0m 54.65s

This reads everything under /usr. Looks like jffs2 is a bit faster but look also on sys time. While with mmc sys time is only 12s (i.e the cpu is mostly idle and waits for mmc i/o) with jffs2 it is 54s (out of 71s) so the CPU is mostly maxed out while reading. This means that when you want your nokia to actually do something cpu intensive while reading (xvid playback, any application startup), using MMC is probably better.

fanoush 2006-08-17 14:23

Quote:

Originally Posted by neiljerram
does anyone know if it's safe to mount an ext3 fs as ext2,

yes
Quote:

Originally Posted by neiljerram
or why the corresponding insmod for ext3.ko (same as above but with 3 instead of 2) fails?

module dependencies, you need ext2.o and jbd.o inserted for ext3.o

schmolch 2006-08-17 22:51

i got 1m25 internal and 2m33 mmc (fat)

fanoush 2006-08-18 05:36

well, you can't boot from fat or have exact copy of linux filesystem on fat, what exacly did you measure and how? You also need to be aware of filesystem cache and flush it somehow before each test.

schmolch 2006-08-19 21:28

Quote:

Originally Posted by fanoush
well, you can't boot from fat or have exact copy of linux filesystem on fat, what exacly did you measure and how? You also need to be aware of filesystem cache and flush it somehow before each test.

I used fat cause i was too lazy to make a ext2 and backup all my stuff. So i just copied /usr to the mmc and tar'ed it to /dev/null from there. I know thats kinda ugly and maybe i even copied whole dirs that were supposed to be only links on ext2.


Btw... initially i was wondering if the mmc card would not be slower than the internal Memory.
But now i got the impression the internal memory is flash too.
Now we got the opposite case because if both are flash one would have to assume that the mmc-card is faster because its newer (and therefore has higher density and higher speed, not sure if this assumption is correct in that case though).

kcallis 2006-10-20 05:42

Sorry if this has been asked before...
 
Unfortunately, I am reading the forum with my 770, and I just jumped to the end. If I make the extension to root, if I use the bootroot application, this will allow me to switch between booting of the mmc card, and booting straight from the device?

I doubt that I am going to remove my card, but I want the comfort of knowing that should my mmc card get damaged, I will always be able to fall back to the default layout.

Assuming that the above is true, when I boot off of the default root filesystem, how does the mmc look to the 770? For instance, if I create a directory on the mmc filesystem (lets call it /home/user/ebooks), and later on I decide to boot back into the 770, can is still be able to point the 770 to the mmc card to view my ebooks with no problem?

Like I said, I don't plan not to not book off the mmc, but I like to know my options!

kcallis 2006-10-21 00:04

Hmmm...
 
I finally decided to expand my root... So I cleard everything off of the mmc card and was all set to go. I downloaded the http://wolfram.ravenwolf.de/extrootfs_1.0_arm.deb, got ready to install it and got a following message:

package architecture (arm) does not match system (armel)

I am running under 2006 with the kernel that supports IP6 and 2GB mmc. So what did I do wrong?

fpp 2006-10-21 09:16

Nothing. The root extender only exists for the obsolete 2005 OS. It was never ported to the present one.

Milhouse 2006-10-21 22:31

Quote:

Originally Posted by kcallis
So what did I do wrong?

You didn't read more of this thread than just the title? ;)

kcallis 2006-10-22 00:01

And you should have taken a good look at my openning
 
Quote:

Originally Posted by Milhouse
You didn't read more of this thread than just the title? ;)

Statement!!! ;)
> Unfortunately, I am reading the forum with my 770, and I just jumped > to the end. If I make the extension to root, if I use the bootroot
> application, this will allow me to switch between booting of the mmc > card, and booting straight from the device?


Of course, it would be nice is there was a 770 version of the site so that it was more easier to read. Nevertheless, with the guidance of one of the user, I was able to successfully boot off the MMC, and now I am a happy camper!!!

Unfortunately, I am reading the forum with my 770, and I just jumped to the end. If I make the extension to root, if I use the bootroot application, this will allow me to switch between booting of the mmc card, and booting straight from the device?


All times are GMT. The time now is 20:53.

vBulletin® Version 3.8.8