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)

freemangordon 2012-06-13 11:55

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
2 Attachment(s)
Well, according to some benchmarking I made with iozone, rootfs is definitely faster in reading than /opt.

Attached are the results of the following commands:

./iozone -f /opt/libQtWebKit.so.4 -a -+E -i 1 -i 2 -i 3 -i 5 -i 7 for opt.txt

./iozone -f /usr/lib/libQtWebKit.so.4 -a -+E -i 1 -i 2 -i 3 -i 5 -i 7 for rootfs.txt

the first column is data size in KB, the second is record len, the others are reading speeds in KB/s

I was not able to run iozone in sync mode with file in rootfs, it gives "invalid operation" error, so those results are not the real read transfer rates from the flash, but still are a good indication.

shabmanu 2012-06-13 12:13

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@freemangordon
does cssu thumb consumes less battery power?

don_falcone 2012-06-13 12:25

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

Originally Posted by freemangordon (Post 1221300)
I was not able to run iozone in sync mode with file in rootfs, it gives "invalid operation" error, so those results are not the real read transfer rates from the flash, but still are a good indication.

Which one?
-+r
Enable O_RSYNC and O_SYNC for all I/O testing.

don_falcone 2012-06-13 12:37

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

Originally Posted by freemangordon
I was not able to use "-I"

Quote:

Originally Posted by don_falcone (Post 1221262)
note that option DIRECT IO (-I) seems not supported, as i got
Code:

Can not open temp file: iozone.tmp
open: Invalid argument


...that's what he said. ;)

pali 2012-06-13 12:49

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@freemangordon, recompiling (open) packages with thumb is manual work. What about to wait for our thumb repository in OBS and use patched debhleper scripts which automatically compile binaries in thumb mode and also auto add dependency on cssu-kernel/thumb-kernel?

See my idea from irc log: http://mg.pov.lt/maemo-ssu-irclog/%2...06-08T23:07:15

don_falcone 2012-06-13 13:06

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Ha ha, that log is alone for the "debate" between Estel_ and jacekowski funny to read.

freemangordon 2012-06-13 13:19

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

Originally Posted by pali (Post 1221331)
@freemangordon, recompiling (open) packages with thumb is manual work. What about to wait for our thumb repository in OBS and use patched debhleper scripts which automatically compile binaries in thumb mode and also auto add dependency on cssu-kernel/thumb-kernel?

See my idea from irc log: http://mg.pov.lt/maemo-ssu-irclog/%2...06-08T23:07:15

While that could work for packages in -extras, it won't work for cssu stuff. And core system components (cssu stuff) are the major goal for thumb, as they usually stay resident in memory. And for packages which have assembly code an additional manual work is needed to make them thumb compatible. Moreover some of the packages recognise "thumb" in DEB_BUILD_OPTIONS (modest for example :p ) and add the appropriate compiler flags, so no secial debhelper is needed, while the others does not have a way to affect compiler flags from debian/rules.

@don_falcone: "-+r" seems to not work either, as it affects only writes :(

freemangordon 2012-06-13 13:41

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Hmm, according to:

Nokia-N900:~# time cat /root/libQtGui.so.4.7.4 > /dev/null
real 0m 5.52s
user 0m 0.00s
sys 0m 5.30s

Nokia-N900:~# time cat /opt/libQtGui.so.4.7.4 > /dev/null
real 0m 4.97s
user 0m 0.03s
sys 0m 1.02s

I should move Qt back to /opt ASAP :).

Any thoughts?

Note:
libQtGui.so.4.7.4 is 95510528 bytes long (QtGui debug symbols)

hxka 2012-06-13 13:44

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

Originally Posted by freemangordon (Post 1220597)
- kernel-power-setting v14 is incompatible with kernel-cssu, will be fixed in the next version of KPS.

I have no problems with it, it works just fine.

hxka 2012-06-13 13:47

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

Originally Posted by freemangordon (Post 1221347)
Any thoughts?

Hmm, there is a cache. These times could be wrong, unless you remounted filesystems just before reading.


All times are GMT. The time now is 19:49.

vBulletin® Version 3.8.8