Reply
Thread Tools
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#91
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.
Attached Files
File Type: txt opt.txt (9.0 KB, 147 views)
File Type: txt rootfs.txt (9.0 KB, 139 views)
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer


Last edited by freemangordon; 2012-06-13 at 12:00.
 

The Following 8 Users Say Thank You to freemangordon For This Useful Post:
Posts: 33 | Thanked: 17 times | Joined on Jun 2012
#92
@freemangordon
does cssu thumb consumes less battery power?
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#93
Originally Posted by freemangordon View Post
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.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#94
Originally Posted by freemangordon
I was not able to use "-I"
Originally Posted by don_falcone View Post
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.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#95
@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
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#96
Ha ha, that log is alone for the "debate" between Estel_ and jacekowski funny to read.
 

The Following 3 Users Say Thank You to don_falcone For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#97
Originally Posted by pali View Post
@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 ) 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
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 4 Users Say Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#98
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)
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#99
Originally Posted by freemangordon View Post
- 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.
 

The Following User Says Thank You to hxka For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#100
Originally Posted by freemangordon View Post
Any thoughts?
Hmm, there is a cache. These times could be wrong, unless you remounted filesystems just before reading.
 

The Following User Says Thank You to hxka For This Useful Post:
Reply

Tags
code size, dinosaurs, fmg ftw!, fmg.da.king, performance, thumb, thumb life

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:50.