|
2012-10-26
, 14:24
|
|
Posts: 6,450 |
Thanked: 20,982 times |
Joined on Sep 2012
@ UK
|
#12
|
The Following User Says Thank You to pichlo For This Useful Post: | ||
|
2012-10-26
, 19:37
|
Posts: 95 |
Thanked: 66 times |
Joined on Mar 2012
|
#13
|
|
2012-10-26
, 19:39
|
Posts: 95 |
Thanked: 66 times |
Joined on Mar 2012
|
#14
|
The Following User Says Thank You to bozoid For This Useful Post: | ||
|
2012-10-26
, 20:20
|
|
Posts: 6,450 |
Thanked: 20,982 times |
Joined on Sep 2012
@ UK
|
#15
|
oh jst a note...
it would be most strategic to keep things that often run in NAND/rootfs.
those that are huge & not often invoked, keep them in emmc.
note: it's a lot of work...
|
2012-10-26
, 20:26
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#16
|
|
2012-10-27
, 19:08
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#17
|
|
2012-10-28
, 14:40
|
Posts: 95 |
Thanked: 66 times |
Joined on Mar 2012
|
#18
|
Care to explain what exactly you've done? Would be nice if you could post your /sbin/preinit!
The Following 4 Users Say Thank You to bozoid For This Useful Post: | ||
|
2012-10-28
, 15:25
|
Posts: 96 |
Thanked: 29 times |
Joined on Jun 2011
|
#19
|
Basic idea: /lib, /usr/bin, /usr/lib, /usr/share are all from eMMC. ie: I do a "mount -o bind /home/mnt/.emmcfs0/lib /lib" etc in /sbin/preinit. There's a /lib-nand that still resides in NAND, & which was the original /lib. Same for usr/bin, /usr/lib, /usr/share. Files in /lib-nand are soft linked over to /lib (on eMMC). Due to the way it is, install of new apps would install into eMMC.
My /sbin/preinit attached. Not the latest yet as there's one small bit I'm fixing.
There's actually some more details... will post later if you want.
I did all that on a new flash image, & then reinstalled my apps.
Found out FAM lets one export list of installed apps & can reinstall all of them using that same list! But I decided to scrutinize each deb being installed this time to control mem usage (separate story; but basically, with only BT & GSM turned on, after 20 hours of idle time, I still have 80% batt left).
kh
|
2012-10-28
, 17:05
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#20
|
how do I use the it ?
do I just execute it or use it as startup script?
The Following 3 Users Say Thank You to reinob For This Useful Post: | ||
Without really understanding what the whole thing was about, I just played it like a game (most kids don't need instructions, they just find a way to, "evolutionarily", play better each time). After a few days I went to my father and said "that's weird, in order to get a better result, I have to stress a single line, where I would have thought that I need to distribute the load equally" (being a 10 year old, I used different wording, but the message was clear). His reply was that I was doing the right thing, and then showed me the book accompanying the software (no, we could not afford "cool" games) and there it was all explained.
Obviously *you* are right. Nothing is perfect, and the above only applies when no "slack" is needed, i.e. when everything happens deterministically and with no possibility of random delays or defects.
Still, in the particular case of the N900, or any computer for that matter, it seems counter-intuitive to "waste" resources (e.g. killing background programs to save memory, even if you will periodically need to start those programs again; moving stuff away from rootfs when you don't actually need that space for anything, etc.)