Notices


Reply
Thread Tools
Banned | Posts: 291 | Thanked: 60 times | Joined on Dec 2009
#51
Originally Posted by IWantToMarryTheN900 View Post
No - I'm serious when I said I'd be interested in an explanation - such as the cogent one that twaelti provided. No need to be defensive - I'm just trying to understand my deivce.
You are doing great......just way too many NOKIA apologizers on this board
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#52
Originally Posted by Guber99 View Post
You are doing great......just way too many NOKIA apologizers on this board
I am not apologizing for Nokia in the slightest. What I am suggesting is that people stop creating the same whining Goddamn threads over and friggin over again and take some responsibility for yourselves. You bought the device obviously right out of the gate. You could have waited several weeks and seen what shook out, but you didn't you wanted your toy NOW NOW NOW and you are paying the price for being a first adopter.

So either suck it up and try make the device better through contributing bug reports/brainstorms, sell it and GTFO and stop polluting the boards with pointless threads or keep the device and just STFU and stop polluting the boards with pointless threads
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
Posts: 25 | Thanked: 93 times | Joined on Sep 2008 @ USA
#53
But you don't seem to understand, that there is no way that they CAN with this development model, as so much of the system is developed outside of their own internal processes.

To further expound,

PulseAudio is always running on the system, and it is routing audio to and from the various ports on the system, be it the headphone port, audio through bluetooth, etc.

Due to the architecture of the underlying sound drivers (which are written in ALSA), switching between headphones, to speakers, to bluetooth etc would possibly require changes in the output format of the sound, which requires reinitialization of buffers, etc... This is very messy, programmatically....

so instead, PulseAudio controls all audio ports and dynamically mixes everything down to the appropriate targets in real time. This takes CPU time...

Further CPU time is also taken by the codecs and sinks that make up the gstreamer pipeline. Due to architectural constraints in gstreamer, there are many of these conversions (some of them are heavily duplicated) many times a second...this can be made more efficient...this is clerical work that must be done alongside architectural refinement (not an easy task, but not insurmountable either)...

couple this with the fact that there are many processes running at different times (the tracker indexer is a good example of I/O suckage that happens at odd times), and that accesses to hardware drivers often pre-empt the kernel (the kernel in maemo is preemptive, this means that accesses to hardware have the capability to temporarily pre-empt, that is, suspend, kernel code so that they can quickly access the hardware, this can temporarily suspend the scheduler for short periods of time so that processes aren't running...), you have situations where a lot of things need to be optimized...

...this will happen...but it will take those of us who are willing to help out to make it happen...not just for coding, but for reporting bugs, etc...

things that will help this situation:

(1) make pulseaudio be nicer on hardware device accesses
(2) make other processes be nicer on the CPU (particularly in minimizing the I/O access, so that iowait can be brought to a minimum.. I/O in embedded devices is a premium resource which must be carefully rationed)
(3) optimized CODECs...while some of the shipped codecs use DSP calls to the OMAP's TI DSP, some don't, and these need to be rewritten to do so. If you install a community compiled gstreamer plugin, there is a chance it will not use the DSP.
(4) make gstreamer as a whole more efficient when doing things like memory copies (critical for moving data between sinks), and minimize the number of conversions needed between sinks.

those are just a few examples,
again, don't worry, it will get there...just understand that quite a bit of these improvements won't come from Nokia, but from the open source community at large.

-Thom
 

The Following 6 Users Say Thank You to tschak909 For This Useful Post:
mullf's Avatar
Posts: 610 | Thanked: 391 times | Joined on Feb 2006 @ DC, USA
#54
Originally Posted by Bratag View Post
I am not apologizing for Nokia in the slightest. What I am suggesting is that people stop creating the same whining Goddamn threads over and friggin over again and take some responsibility for yourselves. You bought the device obviously right out of the gate. You could have waited several weeks and seen what shook out, but you didn't you wanted your toy NOW NOW NOW and you are paying the price for being a first adopter.

So either suck it up and try make the device better through contributing bug reports/brainstorms, sell it and GTFO and stop polluting the boards with pointless threads or keep the device and just STFU and stop polluting the boards with pointless threads
You have a bad attitude.
__________________
Nokia 770 Internet Tablet = best device ever made

Deuteronomy 13:6-10; 2 Kings 2:23-24; Judges 19:22-29
 

The Following 9 Users Say Thank You to mullf For This Useful Post:
Posts: 362 | Thanked: 113 times | Joined on Feb 2010
#55
Originally Posted by craftyguy View Post

A customer should NOT be asked to "STFU" if the product they received is not working as advertised or to their satisfaction. Any company that expected customers to do such a thing would be committing PR suicide...
in THAT case, i think u had a cooling off period??? or distant-selling regulation if u bought online??
I had 7 days to return my phone and cancel my contract if i didnt like it.. Im still in the 7-day period at the moment....

BUT the nexus one is not in the UK yet, and I dont want to order it from us because of phone insurance issues.. and the HD2 is too big for me... so i'd rather stay with the N900 and probably sell it later on if some issues dont get sorted...
 
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#56
Thom, thanks for those explanations. Do you know if, as new versions of PulseAudio are released, we can update to them via the App Manager or do we have to wait for a new firmware release?

Anyway, I'm not sure if PulseAudio should be blamed for the sluggishness of the system when using the Media Player, since in my experience it is the mediaplayer process itself that sometimes takes over most of the CPU. PulseAudio rarely seems to go over 20%, and other media players don't seem to have as much of an impact either (not that I have used them as often as the default one).
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#57
Originally Posted by mullf View Post
You have a bad attitude.
Seriously? Have you looked at Guber99? I mean really LOOKED????

Hit the search, put in Guber99's name in the username box and show "threads started by user".. go on.

SIX

Count them...

SIX

God damned threads that say the exact same thing under the guise of a different title.

And THAT'S IT!

NOTHING ELSE... NADA ZIP ZILCH NOTHING!!!!

SIX

I hereby declare my support for Bratag's bad attitude.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post:
mullf's Avatar
Posts: 610 | Thanked: 391 times | Joined on Feb 2006 @ DC, USA
#58
So ignore him. It's not an excuse for a bad attitude.
__________________
Nokia 770 Internet Tablet = best device ever made

Deuteronomy 13:6-10; 2 Kings 2:23-24; Judges 19:22-29
 

The Following 2 Users Say Thank You to mullf For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#59
Originally Posted by mullf View Post
So ignore him. It's not an excuse for a bad attitude.
In General? No.. with regards to a specific person?.. yes.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 25 | Thanked: 93 times | Joined on Sep 2008 @ USA
#60
Originally Posted by qw3rty View Post
Thom, thanks for those explanations. Do you know if, as new versions of PulseAudio are released, we can update to them via the App Manager or do we have to wait for a new firmware release?

Anyway, I'm not sure if PulseAudio should be blamed for the sluggishness of the system when using the Media Player, since in my experience it is the mediaplayer process itself that sometimes takes over most of the CPU. PulseAudio rarely seems to go over 20%, and other media players don't seem to have as much of an impact either (not that I have used them as often as the default one).
Due to the low level placement of the code, we may only see improvements to pulseaudio initially via firmware updates... I can't answer that....

As for the other part of your reply, it's not just CPU. Pay close attention to iowait (%wa) in top. It's not just CPU time being wasted, it's also the amount of time the CPU has to wait for I/O to complete, these two critical pieces of information can tell us a lot about where the bottlenecks are and how to fix them.

-Thom
 

The Following 2 Users Say Thank You to tschak909 For This Useful Post:
Reply

Tags
waiting impatiently


 
Forum Jump


All times are GMT. The time now is 11:12.