maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900 (https://talk.maemo.org/showthread.php?t=84829)

lma 2012-06-16 12:47

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by hxka (Post 1222693)
Code:

Nokia-N900:~# dd if=/dev/zero of=/10Mfile bs=1K count=10K
10485760 bytes (10.0MB) copied, 0.169525 seconds, 59.0MB/s
Nokia-N900:~# dd if=/dev/zero of=/uc/10Mfile bs=1K count=10K
10485760 bytes (10.0MB) copied, 0.195251 seconds, 51.2MB/s


Interesting that /uc is ~15% slower. Is that reproducibly so?

hxka 2012-06-16 13:09

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by lma (Post 1222737)
Interesting that /uc is ~15% slower. Is that reproducibly so?

That's obviously because of zeroes are too easy to compress, and compressing isn't a bottleneck. Remember that dd calculates speed of writing data to file, not an actual speed of writing (un)compressed data to flash.
For 'real' usage that definitely won't reproduce.
But I'm lacking of fast source of pseudorandom data to test it, /dev/urandom is VERY slow on N900 (~1.6MBps on my N900 OC to 900MHz).

szopin 2012-06-16 14:53

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by hxka (Post 1222674)
For now, I have
Code:

Nokia-N900:~# du -xhs /
345.6M  /

So, without optifying uncompressing whole rootfs is not an option.

This is actually great news and an option. 30% of 345 is 103mb, so less than 256. The more optimistic view of 40% leaves around 50 mb of rootfs. Thumb2 could bring yet unknown performance (both using uncompressed rootfs and smaller code footprint) and significant battery saving (no CPU overhead on any/most system processes). This thread is pure gold, fingers crossed.

jonwil 2012-06-16 14:53

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
The code in https://garage.maemo.org/plugins/scm.../?root=browser should be matching source code for tablet-browser-daemon (i.e. browserd), there is also source at https://garage.maemo.org/plugins/scm.../?root=browser for browser-neteal.

The browser UI itself is not open source unfortunately :(

hxka 2012-06-16 17:15

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@szopin, not all of files in rootfs are ELFs.
It's bit tricky to count size of all ELFs in rootfs, I've ended up with this:
Code:

Nokia-N900:~# cat iself.sh
#!/bin/sh
file "$1" | grep ": ELF" 2>&1 >/dev/null && echo "$1"
Nokia-N900:~# du -ch $(find / -xdev -type f -exec sh iself.sh {} \;) | tail -1
191.2M        total

And 30-40% is a reduction of code size, not resulting code size.
So, 345.6−191.2⋅0.4=269.12. Too much, even if not to take into account that not all of them are open source and can be recompiled, that partition size is 251.25 MB, not 256 and that filesystem iteslf require some space to store inodes and other stuff.

Mohammed Muid 2012-06-16 17:17

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by szopin (Post 1222793)
This is actually great news and an option. 30% of 345 is 103mb, so less than 256. The more optimistic view of 40% leaves around 50 mb of rootfs. Thumb2 could bring yet unknown performance (both using uncompressed rootfs and smaller code footprint) and significant battery saving (no CPU overhead on any/most system processes). This thread is pure gold, fingers crossed.



BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# du -xhs /
298.1M /
Nokia-N900:~#
i got this. i have no idea what is this. i just installed it. absolutely no clue. just understood that it will make N900 a little faster and apps will eat less RAM

shabmanu 2012-06-16 18:10

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
just now i updated from tumb6 to tump9 but rootfs is still same why?

freemangordon 2012-06-16 19:18

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Guys, I would really love if you stop measuring WRITE speed, what matters is READ speed, as that is what is applicable for executables :P

Also we don't really need to move all of the executable code in an uncompressed directory (there is no enough space), just the one that is frequently used. Even if not thumb-compiled.

hxka 2012-06-16 20:56

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
If somebody interested, on a pure PR1.3.1 (only rootsh, file and busybox-power installed) there are 263.1MB of files on rootfs and 149.6 MB of them are binaries.

Alfred 2012-06-17 15:24

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I have updated to the latest version, and have been experiencing a little slowdown...


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

vBulletin® Version 3.8.8