|
2010-01-28
, 18:55
|
Posts: 16 |
Thanked: 0 times |
Joined on Jun 2009
|
#72
|
I think the cleanest solution would be:
/emmc - single ext3 partitions on the eMMC mounted on /emmc
/emmc/opt - directory for addons managed by system
/emmc/home - user directories
/emmc/loopback/ - directory for loopback file incl. MyDocs FAT file
If you really want to boot multiple systems you could create an appropriate
symlink to opt.<version> during boot.
|
2010-01-28
, 21:34
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#73
|
This seems like the best solution to me. Perhaps now that the camera is working with non FAT partitions the loopback file is not necessary. Although mass storage mode might not behave without it.
Also, would ext2 be preferable to ext3?
What would be useful would be a guide or a script to set this up, I wouldn't really trust myself to do this properly.
One other thing somewhat related. How trustworthy are programs with regards to putting large files in /opt? is it likely that one will ever run out of space on the 256mb NAND flash? Might mounting /usr on the internal card be necessary?
|
2010-01-31
, 19:35
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2010
|
#74
|
|
2010-01-31
, 19:59
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#75
|
|
2010-01-31
, 22:37
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#76
|
Version 1.03c ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ext3 472M 7355 12 5320 8 19294 20 727.3 9 nand 472M 24352 18 14912 45 30583 80 5573.1 99 fatpart 472M 9483 15 7197 13 17879 22 970.0 17 fatmmc 472M 10255 14 5511 10 14908 17 743.0 9 fatLOOPext3 472M 2137 3 3066 5 15120 15 198.5 3 ext2LOOPfat 472M 7651 8 5936 8 18320 18 167.1 2 ext2LOOPext3 472M 7947 7 6059 8 18309 18 419.7 7 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP ext3 16 5259 69 +++++ +++ 3684 29 4841 62 +++++ +++ 4112 35 nand 16 4506 49 8280 46 4466 44 5177 54 +++++ +++ 3923 65
ext3,472M,,,7355,12,5320,8,,,19294,20,727.3,9,16,5259,69,+++++,+++,3684,29,4841,62,+++++,+++,4112,35 nand,472M,,,24352,18,14912,45,,,30583,80,5573.1,99,16,4506,49,8280,46,4466,44,5177,54,+++++,+++,3923,65 fatpart,472M,,,9483,15,7197,13,,,17879,22,970.0,17,,,,,,,,,,,,, fatmmc,472M,,,10255,14,5511,10,,,14908,17,743.0,9,,,,,,,,,,,,, fatLOOPext3,472M,,,2137,3,3066,5,,,15120,15,198.5,3,,,,,,,,,,,,, ext2LOOPfat,472M,,,7651,8,5936,8,,,18320,18,167.1,2,,,,,,,,,,,,, ext2LOOPext3,472M,,,7947,7,6059,8,,,18309,18,419.7,7,,,,,,,,,,,,,
The Following User Says Thank You to titan For This Useful Post: | ||
|
2010-02-01
, 15:00
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2010
|
#77
|
Version 1.03c ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ext3-emmc 472M 8139 14 5514 9 18712 22 1024 14 nand 472M 23076 29 16016 49 33616 87 3756 98 fatpart-emmc 472M 13574 19 7266 13 19705 24 1095 11 fatmmc-sd 472M 4911 7 2752 4 9678 10 413.7 5 ext2LOOPfat 472M 10761 13 6649 9 18499 17 150.7 2
nand,472M,,,23076,29,16016,49,,,33616,87,3755.9,98,,,,,,,,,,,,, ext3-emmc,472M,,,8139,14,5514,9,,,18712,22,1023.6,14,,,,,,,,,,,,, fatpart-emmc,472M,,,13574,19,7266,13,,,19705,24,1095.4,11,,,,,,,,,,,,, fatmmc-sd,472M,,,4911,7,2752,4,,,9678,10,413.7,5,,,,,,,,,,,,, ext2LOOPfat,472M,,,10761,13,6649,9,,,18499,17,150.7,2,,,,,,,,,,,,,
The Following User Says Thank You to jom For This Useful Post: | ||
|
2010-02-01
, 15:15
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#78
|
/usr/sbin/bonnie\+\+ -n0 -f -d pathtofs
|
2010-02-01
, 21:20
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2010
|
#79
|
|
2010-02-02
, 08:29
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#80
|
Titan, I think what you suggest will give the most accurate results. When I run the test I also thought about reflashing it, but I didn't want to lose my installation. So I ran 'top' to see if there were any busy processes first.
I've remembered now from my previous tests on a flash card a while ago that formating FAT32 to a cluster size of 32KB significantly improved performance. I think most flash cards and USB sticks are formatted to this (though I'm not sure how to see the parameters on the N900).
When you did your write testing, what parameters did you use?
You need it for normal export partition for computer when connect by usb. additionally without modification you will have problem to access files which was copied from computer.
in my script for change vfat to ext3 when you connect to comuter in mass storage mode partition will be unmounted on n900. After diconnect it will be mounted back.
p.s. For ext2 you will need little bit modify ke-recv. in my patch i add only ext3.
and look like kamera and ke-recv will be fixed in next update because bugs for them get nokia's internal bug tracking number...
Last edited by mikhmv; 2010-01-24 at 17:46.