Jump to content


Photo

Need a new receiver. Which one ?


  • Please log in to reply
95 replies to this topic

Re: Need a new receiver. Which one ? #81 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 13 May 2013 - 12:27

DMM already has problems in their current OE 2.0 as the enigma2 code is not threadsafe (see latest commits and problems these cause for some plugins), the enigma2 code you are using is even older, so for a fully multithreaded enigma2 you would need to rewrite much more.

 

Just doing multithreadding in a single application like screengrabber, or the ambilight dameons, ... is one thing, really running threads in parrallel needs lots of synchronzation, usage of barriers, semaphores and quorums,... which is a completely different coding stile. And it is the worst if you start with a fat mainloop as it is now.

 

On the other hand enigma2 is NOT that fat, as it ran on VERY slow CPUs like the xilleon of the 7025 already with very limited Memory. Therefore if a single CPU is fast enough and you have enough memeory to cache everything there is no need for most of the suggested changes, and therefore I don't think that they are worth the effort or will happen at all.

 

The interessing things for multiple cores/CPU on a STB are recording threads and streaming threads ... and guess what already works now but is not CPU limited due to the involved IO ?

 

PS: People were dreaming of Zeppelins that could circle the world, then came the (jet) plane and these dreams were dead, but earth is now circled on a regular basis.


Edited by gutemine, 13 May 2013 - 12:32.


Re: Need a new receiver. Which one ? #82 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 May 2013 - 12:36

I'm quite sure our enigma2 is threadsafe.

Re: Need a new receiver. Which one ? #83 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 13 May 2013 - 13:20

Then read the latest commits of DMM and enjoy explaination and the disucssions with the Plugin developers in their board.

 

http://www.dream-mul...&threadID=17963

 

Believing is not knowing ...


Edited by gutemine, 13 May 2013 - 13:23.


Re: Need a new receiver. Which one ? #84 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 May 2013 - 13:35

Our e2 mainloop is quite different from the one dmm is using (though we cannot check this anymore nowadays, but I assume the differences have only grown bigger since then).
So please do not make assumptions about thread safeness, without even looking at our code.

We've spent a lot of time chasing smartpointer and locking bugs over the last few years, and I'm quite sure the e2 core is threadsafe nowadays.

That doesn't mean you are allowed to call e2 functions from python threads however, that is another matter.

Re: Need a new receiver. Which one ? #85 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 13 May 2013 - 13:53

Basically we have added an ASSERT(currentThread != mainThread) to eTimer and eSocketNotfier.

We did this to ensure plugins are not calling enigma2 core functionality from any thread other than the main thread.

To make sure a method is called on the main thread I would ASSERT(currentThread == mainThread).

BTW thread safe and "fully multi-threaded" are two different things IMHO. Like MiLo said "Even though E2 spawns a considerable number of threads, most of these threads spend their time waiting on other threads...". Our e2 is believed to be threadsafe, but that doesn't make it "fully multi-threaded" ;).

Re: Need a new receiver. Which one ? #86 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 13 May 2013 - 14:34

Yes, I didn't want to confuse things further, the only problem is that if you want more threading this means different coding style and not just more synchronisation, waits and locks and debugging until they work without causing a mess :-)

 

So the promise of having threads to exploite multithreaded archtectures or multiple CPU cores shoudl stick more to the basic things like is it possible to have the writer thread for multipel recordings running in parallell without screwing up. And that is something which is usefull and already working and caused for example on Dreambox 8000 to decrease the CPU load when the cores were anabled in such case.

 

So it is wrong to say that users have to wait for OE XYZ or any major new developments and codechanges which are not even very likely to happen or would have huge impacts on the performance in case they ever occure.



Re: Need a new receiver. Which one ? #87 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 May 2013 - 14:57

multiple recordings already use multiple threads in our e2

Re: Need a new receiver. Which one ? #88 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 13 May 2013 - 15:17

So the promise of having threads to exploite multithreaded archtectures or multiple CPU cores shoudl stick more to the basic things like is it possible to have the writer thread for multipel recordings running in parallell without screwing up. And that is something which is usefull and already working and caused for example on Dreambox 8000 to decrease the CPU load when the cores were anabled in such case.

I agree the low-hanging fruit is already implemented. If the more difficult stuff is worth the effort remains to be seen.
 

So it is wrong to say that users have to wait for OE XYZ or any major new developments and codechanges which are not even very likely to happen or would have huge impacts on the performance in case they ever occure.

To which statement are you referring?

Re: Need a new receiver. Which one ? #89 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 13 May 2013 - 16:30

Sometimes people/users don't know the effort and problems behind an implementation, they simply want it to work :-)

 

And I was talking about the OpenPLi 4.0 reference, but this was not thought negative, it is only not very likely that anybode will have dramatic improvements in this area as it would be a major re-write of some parts of the code. Enigma2 is is a much better design then enigma1 and Neutrino, but it has some limitations too.

 

And I mean this if you compare it to Frameworks like OpenTV. Hence choosing receiver Hardware is not everything and even drivers are not the point if they do the job - otherwise d-Box would have never made it to the Penguin.


Edited by gutemine, 13 May 2013 - 16:32.


Re: Need a new receiver. Which one ? #90 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 13 May 2013 - 21:17

Hey guys, excuse me, but I think, that thought "Need a new receiver. Which one ?" to be completely lost in this thread :(


Kdo nic nedělá, nic nezkazí!

Re: Need a new receiver. Which one ? #91 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 22 September 2013 - 20:42

Cheapest new technology (but questionable drivers, as the first one on the market, without the proper BRDCM support) is GigaBlue Quad (€249).

 

Then, Ruby Cube (XBMC4STB) for some €290 and again, questionable drivers, HW, SW and so on, as it is just out...

 

Least problematic, with all its problems, it seems Duo2 but expensive (€499?)...

 

The most expensive and best drivers will probably be ET10K (Xtrend)...

 

DMM has Goliath planned for December, it seems (€999)...

 

Questions: GigaBlue Quad is single thread processor?

 

Dual Core or thread for Ruby Cube? But MIPS etc?

 

Dual Core for Duo2 = 2 x 1.3 GHz + tons or RAM!

 

We'll see for ET10K later on this year...

 

So, what are one's needs...???

 

(...there is an answer...)


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Need a new receiver. Which one ? #92 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 23 September 2013 - 05:16

The GB Quad and the Solo2 have the same CPU (BCM7356 @ 1300KHz). The Quad has suffered from driver issues but seems to be rather mature now.

 

The DUO2 has a different CPU (BCM7424 @ 1300KHz).

 

Both these soc's are not dual-core, but dual-threaded.



Re: Need a new receiver. Which one ? #93 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 23 September 2013 - 11:11

Thanx!

 

This is re. Xtrend new boxes coming up...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Need a new receiver. Which one ? #94 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 23 September 2013 - 11:19

Damn... Didn't get it...

Attached Files


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Need a new receiver. Which one ? #95 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,471 posts

+118
Excellent

Posted 23 September 2013 - 15:05

?


on the Glassfibre 1GB DVB-C...


Re: Need a new receiver. Which one ? #96 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 23 September 2013 - 15:13

This I forgot to attach.

 

It is the ET planned new recs (Xtrend/Clark...)...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users