![]() |
2010-02-10
, 12:30
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#52
|
What about changing the "flash procedure"? Let everything be in the big partition. The flasher tool could not really <i>flash</i> the whole device. But just replace everything but /home. User files would be preserved...
![]() |
2010-02-10
, 12:31
|
Posts: 53 |
Thanked: 143 times |
Joined on Dec 2009
@ Russia
|
#53
|
@SR, can you explain to me how to disable the watchdog on the device? you were saying you had considerable performance increase after disabling it?
@sr: I did see your previous post regarding aufs and unionfs. Great work in coming up with those results, even if the results themselves were kind of depressing! One thing I was wondering about though: If I got what you were doing right, you were using a ram disk backed by a flash drive; essentially your ram-disk was a write-through cache backed by the flash.
For the root partition problem, the situation is slightly different - both backing and front store are persistent. In this case, the fast flash stores the clean Nokia distro and the big flash stores all user additions. The big flash is superimposed over the fast flash so that reads see the big flash first, and writes only hit the big flash. This is more of a read-through rather than write-through scenario, if you get what I mean. I also assume that writes to files that already exist in the fast flash (i.e. modifications) go directly to the fast flash, rather than stick in the big flash like normal writes.
Do you think unionfs is so hopeless that there is no point in trying, or do you think you could have a look at how unionfs works in those conditions? Your basic idea is so pure and elegant that I really hope there is a way of saving it!
Does anyone here know anyone working on unionfs? Are there any Nokians here? Could Nokia consider putting in some work on unionfs?
![]() |
2010-02-10
, 12:39
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#54
|
mkdir -p /home/nroot/rootfs cd /home/nroot/rootfs mkdir bin boot cdrom dev etc floppy initrd lib media mnt proc root sbin srv sys syspart tmp usr var for f in *; do mount -o bind /$f /home/nroot/rootfs/$f; ln -s rootfs/$f ../$f; done mkdir -p home/user opt mount -o bind /home/opt opt mount -o bind /home/user home/user chroot .
The Following 2 Users Say Thank You to titan For This Useful Post: | ||
![]() |
2010-02-10
, 14:18
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#55
|
regarding performance: on a HDD nilfs2 performance was not so great
http://www.phoronix.com/scan.php?pag...s_nilfs2&num=1
My benchmarks http://talk.maemo.org/showthread.php...332#post504332
showed that real fs performance on NAND is not that much better than eMMC:
in the best case (compressed zero data) seq. write was 8 vs. 24 MB/s, seq read
19 vs. 30MB/s but with much higher CPU load for UBIFS.
![]() |
2010-02-10
, 15:09
|
Posts: 113 |
Thanked: 30 times |
Joined on Oct 2009
|
#56
|
What about changing the "flash procedure"? Let everything be in the big partition. The flasher tool could not really <i>flash</i> the whole device. But just replace everything but /home. User files would be preserved...
I think that having this absurdity of moving everything to /opt and still being at the edge of filling rootfs is actually "Not. An. Option".
![]() |
2010-02-10
, 19:40
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#57
|
![]() |
2010-02-10
, 19:58
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#58
|
![]() |
2010-02-11
, 01:25
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#59
|
![]() |
2010-02-11
, 02:28
|
Posts: 172 |
Thanked: 170 times |
Joined on Jan 2010
@ Sweden
|
#60
|
I think that having this absurdity of moving everything to /opt and still being at the edge of filling rootfs is actually "Not. An. Option".
Help improve N900, vote for:
Information about what the email client is doing
Find applications easily with tags for sub-menus
A better help system
Limit download of emails per connection type (don't fetch attachments)
A better use of internal flash