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)

n900d-i-y 2012-10-22 09:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
After I slowly installed CSSU thumb, I have to say this works great.

Thanks freemangordon :)

Estel 2012-10-22 15:07

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

Originally Posted by vi_ (Post 1283600)
Id rather FMG squandered his time writing cool **** for the n900 than boring **** on the wiki.

same here, but if he doesn't want to write boring **** on wiki, then, he need to write same boring **** over and over, in this thread, at least 3 times per week... Instead of writing cool **** for N900 ;)

/Estel

nman 2012-10-23 02:40

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Just installed and couldn't be happier with the improved feel & responsiveness....thanks for awesome work freemangordon!

bennypr0fane 2012-10-25 22:30

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

Originally Posted by szopin (Post 1222064)
Sorry, not sure if someone brought this up before but this:
http://www.google.com/url?sa=t&rct=j...V578uGl8MNH9Dw (PDF warning)

ARM vs Thumb vs Thumb2. Performance(speed)-wise ARM trumps (check page 4), size is for thumb 1 and 2. I would love to see iozone benchmarks of course, but thought this might give some background.

So has anyone else performed any benchmarks yet?
Is there any confirmation other than "feels faster" that this an improvement in performance?
If I understand correctly, running Thumb2 will limit the apps I can use, yes?
Thanks, Ben

woody14619 2012-10-25 22:57

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

Originally Posted by bennypr0fane (Post 1285580)
So has anyone else performed any benchmarks yet?

Not that I'm aware of, outside of some memory use tests. The system memory footprint is clearly smaller, as key apps that are "always on" have been recompiled. (Camera-ui being one example.)

Quote:

Originally Posted by bennypr0fane (Post 1285580)
Is there any confirmation other than "feels faster" that this an improvement in performance?

I can tell you system drive space and memory availability are both better. I can run at least one flash app on my testing device that I can't run on my non-thumb device. On the non-thumb device the flashplayer brings the device to a crawl and then crashes. On the thumb one, it slows quite a bit, but does eventually load and work. (Probably is close to hitting the limits for how much memory it needs.)

Quote:

Originally Posted by bennypr0fane (Post 1285580)
If I understand correctly, running Thumb2 will limit the apps I can use, yes?

No. You can run anything you want on thumb2 that you could run on non-thumb. You simply won't get the benefits from those apps. For example, none of the closed bits can ever be recompiled. If you couldn't run non-thumb, this whole thing would be pointless.


One thing I have noticed is that since updating my test device, I've yet to have an app randomly close with a yellow banner. (Eg "internal error contacts application closed") I'm starting to wonder if there is a rouge library out there that Nokia made with thumb turned on that was causing random crashes before, that this errata patch now fixes.

Hurrian 2012-10-25 23:40

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

Originally Posted by woody14619 (Post 1285593)
One thing I have noticed is that since updating my test device, I've yet to have an app randomly close with a yellow banner. (Eg "internal error contacts application closed") I'm starting to wonder if there is a rouge library out there that Nokia made with thumb turned on that was causing random crashes before, that this errata patch now fixes.

In fact, there was. It's the facebook share plugin.

freemangordon 2012-10-26 05:46

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

Originally Posted by bennypr0fane (Post 1285580)
So has anyone else performed any benchmarks yet?
Is there any confirmation other than "feels faster" that this an improvement in performance?
If I understand correctly, running Thumb2 will limit the apps I can use, yes?
Thanks, Ben

you may want to see the result of "openssl speed" for stock and -thumb device:

http://pastebin.com/Bpdt8nr7

joerg_rw said that maybe he will do more in-depth benchmarking and comparison, but so far there is none such.

freemangordon 2012-10-26 05:49

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

Originally Posted by woody14619 (Post 1285593)
One thing I have noticed is that since updating my test device, I've yet to have an app randomly close with a yellow banner. (Eg "internal error contacts application closed") I'm starting to wonder if there is a rouge library out there that Nokia made with thumb turned on that was causing random crashes before, that this errata patch now fixes.

Yep, Hurrian is right, it is libfacebooksharing... that is thumb-compiled. And that is one of the reasons why there will be a kernel distributed with CSSU (non thumb) at some point.

reinob 2012-10-26 07:10

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

Originally Posted by bennypr0fane (Post 1285580)
Is there any confirmation other than "feels faster" that this an improvement in performance?

At least in theory it should be faster. ARM code runs indeed faster than Thumb2. But thumb2-compiled code is smaller.

I submit that any decrease in execution speed with thumb2 is drowned by the decrease in loading time (NAND/eMMC/MMC -> RAM) due to the slow throughput of the flash memory in the N900, which is its biggest bottleneck.

Even though I haven't tried thumb2 (yet), I'm convinced that everything should run faster, or, better said, *load* (start-up) faster.

Android_808 2012-10-26 14:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
woody14619: The only "internal error ... application closed" errors I've had are from Email/TinyMail and MicroB. All others seem to be fine.

Performance wise it is still seems much faster than non-thumb. Only issue I still suffer, but are beyond the scope of cssu are:
MfE can still slow it down or in some cases cause it to be completely unresponsive for a couple of minutes.
Swap fragmentation from having too many instances of MicroB coupled with Adblock.

Side note: 720p libraries/KP overclock DO give me some problems with DSP still. Some videos don't open/takes forever. Recent Youtube download played suffered tearing, skewed 45 degrees. Weirdly it only affects some content.

Kerio 2012-10-26 14:23

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Performance is also a matter of compiler, though - the default toolchain uses gcc4.2, which is fairly ancient compared to cssu-thumb's toolchain which uses gcc4.7-linaro. Granted, using gcc4.7-linaro to compile with the ARM ISA would yield even better results, at a loss of space.

Acurus_ 2012-10-26 21:42

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

Originally Posted by Estel (Post 1282983)
Just to make it more clear - after installing syslogd package, and running into this problem, just copy your /var/log/syslog file, upload it somewhere, and post in this thread (as link to upload, *not* whole syslog as quotation!).

As for dmesg, you don't need to install anything - you just open terminal, write dmesg, and put output here (also, important to do it quite immediately *after* you got hit by the problem).
---

For the records, no such issue here,modest works fine, same for mail notifications.

/Estel

//Edit

freemangordon, how he is supposed to get dmesg output, if, when hit by the problem, he need to reboot device for getting out of it (desktop "freeze")?

I would say:
"gain ssh access from other machine before problem, and check if you can still invoke commands via ssh, when desktop is "frozen". If yes, get /var/log/syslog remotely (still via ssh, for example, copy it to microSD card inside N900), and for records, try killall hildon-desktop (to see, if desaktop comes back to life)"

Of course, as he is quite new user, it require him to install and configure OpenSSH or dropbear (which he won't regret, anyway, for other occasions).

/Estel

I have found the problem, why my N900 desktop was freezing again and again. I played with QCPUFreq and changed the maximum CPU-Frequenz from 805 to 720 (with and without SmartReflex). But my N900 desktop still freezed, mostly while receiving Emails. Some weeks before, I recognized, that my battery lost performance. Now, after changing the battery, my N900 is running normal with CSSU-thumb. I think, there are stronger power-peaks under CSSU-thumb (for example while receiving Emails), as under a non-CSSU-thumb N900. And that could make problems under CSSU-thumb, when the battery is not full working.

Thanks again for your help. And many thanks for your work on CSSU and CSSU-thumb.

seanmcken 2012-10-27 02:14

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
on my phone thumb is good but sometimes some applications suddenly shuts down.i dnt hav freezing problem. the battery life is good enough now. application launch n close speed is awsome.

Estel 2012-10-27 04:27

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

Originally Posted by Acurus_ (Post 1286085)
Now, after changing the battery, my N900 is running normal with CSSU-thumb. I think, there are stronger power-peaks under CSSU-thumb (for example while receiving Emails), as under a non-CSSU-thumb N900.

Highly unlikely. power regulator inside N900 works in a way, that would result in shutting down whole device (in a "bad", unmanaged way) in case of too long low voltage peak), not any software "hanging". Also, I don't think you had BME disabled - with BME working, device would shut down ("good" way, i.e. quasi-proper shutdown) mu(uuu)ch before any chance for low voltage spike, that would shut device down "bad" way.

Device "dies" of low power @ ~2850 mV. BME shut it down ~3200 mV (no hard treeshold, as it's monitoring momentary peaks, as opposed to average voltage for given second).

/Estel

_David_ 2012-10-27 05:27

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

Originally Posted by freemangordon (Post 1285656)
you may want to see the result of "openssl speed" for stock and -thumb device:

http://pastebin.com/Bpdt8nr7

I'm surprised something like cryptography is sped up so much -- and this is presumably before we get into memory swap situations.

Can you a) put a third table in showing % improvements and b) keep up the good work? :)

About to update from several versions ago.

freemangordon 2012-10-27 09:21

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

Originally Posted by seanmcken (Post 1286143)
on my phone thumb is good but sometimes some applications suddenly shuts down.i dnt hav freezing problem. the battery life is good enough now. application launch n close speed is awsome.

Check which kernel you have running, i.e. "uname -a" in terminal. And share the result here.

@_David_:

a) no way :)

b) of course, there will be a new update these days

Acurus_ 2012-10-27 09:50

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

Originally Posted by Estel (Post 1286156)
Highly unlikely. power regulator inside N900 works in a way, that would result in shutting down whole device (in a "bad", unmanaged way) in case of too long low voltage peak), not any software "hanging". Also, I don't think you had BME disabled - with BME working, device would shut down ("good" way, i.e. quasi-proper shutdown) mu(uuu)ch before any chance for low voltage spike, that would shut device down "bad" way.

Device "dies" of low power @ ~2850 mV. BME shut it down ~3200 mV (no hard treeshold, as it's monitoring momentary peaks, as opposed to average voltage for given second).

/Estel

Possibley my "therory" is wrong. I have described only, what happened and how I fixed it.

foobar 2012-10-27 10:12

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

Originally Posted by woody14619 (Post 1285593)
One thing I have noticed is that since updating my test device, I've yet to have an app randomly close with a yellow banner. (Eg "internal error contacts application closed") I'm starting to wonder if there is a rouge library out there that Nokia made with thumb turned on that was causing random crashes before, that this errata patch now fixes.

For me the Conversations app dies randomly in that way with thumb installed. Haven't seen (or can't remember) any others, though.

freemangordon 2012-10-27 10:18

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

Originally Posted by foobar (Post 1286243)
For me the Conversations app dies randomly in that way with thumb installed. Haven't seen (or can't remember) any others, though.

Any chance to get a coredump?

http://wiki.maemo.org/Documentation/...5/sp-rich-core

AFAIK conversation application crashing is a long standing bug in stock maemo too, maybe I can fix it somehow if given enough info.

foobar 2012-10-27 11:43

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Thanks, I'll give it a whirl and report back.

Estel 2012-10-27 19:43

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Meow, thumb-compiled pulseaudio bits available in repos :)

Is it "invitation" to install them ASAP, or it's part of preparation for next update, and we should wait until all bits are on place?

/Estel

Android_808 2012-10-27 20:28

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I know some people dislike pulseaudio for its complexity, performance etc etc. This could be quite interesting to see what difference this will make.

StocChr 2012-10-27 22:43

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
hi guys, after installing thumb2 i get an segmentation fault when i want to start fMobi! (i already reinstalled fMobi) any idea?

seanmcken 2012-10-28 07:48

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
after updating pulseaudio my n900 is showing no songs in media player. i already used cmd tracker...prcs.. but no success.even when i go to file mgr and clk on the media file the media player opens but does'nt play the file. plz help

hxka 2012-10-28 08:10

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I cannot confirm this. Looks like you have problems with codecs, not pulseaudio.

seanmcken 2012-10-28 08:33

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
but i dint do anything to codecs.

freemangordon 2012-10-28 10:31

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

Originally Posted by seanmcken (Post 1286590)
but i dint do anything to codecs.

execute "uname -a" without quotes in xterm and post the result here

freemangordon 2012-10-28 10:53

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

Originally Posted by Estel (Post 1286449)
Meow, thumb-compiled pulseaudio bits available in repos :)

Is it "invitation" to install them ASAP, or it's part of preparation for next update, and we should wait until all bits are on place?

/Estel

If you feel comfortable to install it, it is OK. The others better wait for the new update to appear in HAM

freemangordon 2012-10-28 10:59

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

Originally Posted by StocChr (Post 1286501)
hi guys, after installing thumb2 i get an segmentation fault when i want to start fMobi! (i already reinstalled fMobi) any idea?

Yes, give me the .deb so I can install it here and check what's wrong. Upload it somewhere and PM me the link.

Mr. Incredible 2012-10-28 13:19

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
New pulseaudio is working like a charm :)

Android_808 2012-10-28 13:47

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
slightly off core cssu undertakings, but it would be good if someone could provide an updated version of the extra codec package/ffmpeg to go along with pulseaudio. i believe that will result in most of the av chain being replaced.

Acurus_ 2012-10-28 14:34

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Ok, I have read an article about "Audiopulse" in my language on Wikipedia. But I did not understand anything. Is it possible, to explain it an easy and short way???

Mr. Incredible 2012-10-28 14:51

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
It's called "pulseaudio" not "Audiopulse" :p

Acurus_ 2012-10-28 14:53

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
;) Yep. But that is, what I try to understand :confused:

seanmcken 2012-10-28 16:14

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
you are the guy who gave us HD recording right? u did a wonderful job so r u gonna compile those HD recording files to thumb

hxka 2012-10-28 16:30

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
http://talk.maemo.org/showthread.php...2A#post1223738

seanmcken 2012-10-28 16:38

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
im sorry actually im not intelligent dev like u guys but i got it.

seanmcken 2012-10-28 16:39

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
i just meant of some tweaks to those files so it could run faster than now

mr_pingu 2012-10-28 18:30

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

Originally Posted by freemangordon (Post 1285656)
you may want to see the result of "openssl speed" for stock and -thumb device:

http://pastebin.com/Bpdt8nr7

Can I assume both are compiled using the same version of gcc?

freemangordon 2012-10-28 18:39

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

Originally Posted by mr_pingu (Post 1286787)
Can I assume both are compiled using the same version of gcc?

of course not, stock is build with 4.2.1, -thumb with 4.7.2-linaro


All times are GMT. The time now is 09:09.

vBulletin® Version 3.8.8