Jump to content


Photo

zgemma h7 and openwebif

stream

  • Please log in to reply
8 replies to this topic

#1 kallquk

  • Senior Member
  • 38 posts

+1
Neutral

Posted 17 December 2020 - 16:18

Hello,

 

I have a zgemma h7s with latest openpli 7.3 of december.

 

I am trying to take out 10 streams of fta services from same transponder, to a PC same subnet. Between streams are hd and sd ones

But after fifth stream established begins the problem. One or two of firsts streams go offline/online, web accessing is quite impossible, the stb responds with delay to remote, but I can have ssh access. After several hours, the box is blocked too

The cpu is 0% busy, very few of RAM used, flash have much space too.

The ethernet is linked 1G to the router, where the traffic is far away from hardware limit. After enabled debug, a line prevails in logs:

 

[eMPEGStreamParserTS] broken startcode

 

For my surprise, this stb, for this purpose, is manifesting worse performance that a very old zgemma star s stb with same openpli version, with 100m ethernet, less RAM, much slower cpu soft float etc etc

 

Can anyone give me any information ?

Can I do something in configurations ?

Is reached any limit not shown in what I checked ?

 

thanks in advance


Edited by kallquk, 17 December 2020 - 16:21.


Re: zgemma h7 and openwebif #2 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 17 December 2020 - 18:16

Hi,

 

The STB network card and bus are not as performant as a PC so indeed even if the interface claims to support Gigabit you will never get the full network bandwidth available from your STB.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: zgemma h7 and openwebif #3 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 December 2020 - 19:12

Not only the hardware isn't all that (the PHY is part of the SoC, not a dedicated network chip as you find in PC's), the driver software is also very basic.

 

One of the biggest issues is that it doesn't support scatter/gather, which means it can only allocate memory for buffers if the memory is available in one continues block. The more memory gets fragmented, the bigger this problem becomes.

 

If you want to test network throughput, the ipref3 tool is in the feed (needs another device in the network with also ipref3 installed (see https://iperf.fr/iperf-doc.php).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zgemma h7 and openwebif #4 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 17 December 2020 - 20:16

when I copy files with TotalCommander on H7 it says 30MB/s, not more and not continuously, rather less



Re: zgemma h7 and openwebif #5 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 December 2020 - 20:25

My VU Duo 4K:

root@vuduo4k:/var/log# iperf3 -c 172.16.1.31
Connecting to host 172.16.1.31, port 5201
[  5] local 172.16.1.56 port 35000 connected to 172.16.1.31 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   110 MBytes   919 Mbits/sec    0    243 KBytes       
[  5]   1.00-2.00   sec   109 MBytes   912 Mbits/sec    0    256 KBytes       
[  5]   2.00-3.00   sec   109 MBytes   918 Mbits/sec    0    283 KBytes       
[  5]   3.00-4.00   sec   110 MBytes   919 Mbits/sec    0    283 KBytes       
[  5]   4.00-5.00   sec   110 MBytes   919 Mbits/sec    0    300 KBytes       
[  5]   5.00-6.00   sec   109 MBytes   917 Mbits/sec    0    345 KBytes       
[  5]   6.00-7.00   sec   109 MBytes   914 Mbits/sec    0    380 KBytes       
[  5]   7.00-8.00   sec   110 MBytes   919 Mbits/sec    0    380 KBytes       
[  5]   8.00-9.00   sec   109 MBytes   918 Mbits/sec    0    402 KBytes       
[  5]   9.00-10.00  sec   109 MBytes   914 Mbits/sec    0    402 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.07 GBytes   917 Mbits/sec    0             sender
[  5]   0.00-10.03  sec  1.07 GBytes   914 Mbits/sec                  receiver

SF8008:

root@sf8008:~# iperf3 -c 172.16.1.31
Connecting to host 172.16.1.31, port 5201
[  5] local 172.16.1.60 port 49502 connected to 172.16.1.31 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   110 MBytes   927 Mbits/sec  171    173 KBytes       
[  5]   1.00-2.00   sec   110 MBytes   921 Mbits/sec   65    156 KBytes       
[  5]   2.00-3.00   sec   112 MBytes   938 Mbits/sec   74    208 KBytes       
[  5]   3.00-4.00   sec   111 MBytes   934 Mbits/sec   31    238 KBytes       
[  5]   4.00-5.00   sec   112 MBytes   938 Mbits/sec   21    252 KBytes       
[  5]   5.00-6.00   sec   112 MBytes   939 Mbits/sec   31    180 KBytes       
[  5]   6.00-7.00   sec   112 MBytes   941 Mbits/sec   42    192 KBytes       
[  5]   7.00-8.00   sec   112 MBytes   941 Mbits/sec   31    198 KBytes       
[  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec   21    236 KBytes       
[  5]   9.00-10.00  sec   112 MBytes   940 Mbits/sec   40    208 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec  527             sender
[  5]   0.00-10.03  sec  1.09 GBytes   933 Mbits/sec                  receiver

Interestingly, a lot of retries, while it is connected to the same GB switch as the Duo 4K.

 

 

The Wifi of my H9:

root@h9:~# iperf3 -c 172.16.1.31
Connecting to host 172.16.1.31, port 5201
[  5] local 172.16.1.57 port 38712 connected to 172.16.1.31 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  3.66 MBytes  30.7 Mbits/sec    0    205 KBytes       
[  5]   1.00-2.00   sec  4.79 MBytes  40.2 Mbits/sec    0    308 KBytes       
[  5]   2.00-3.00   sec  4.93 MBytes  41.4 Mbits/sec    0    348 KBytes       
[  5]   3.00-4.00   sec  5.78 MBytes  48.5 Mbits/sec    0    407 KBytes       
[  5]   4.00-5.00   sec  5.23 MBytes  43.9 Mbits/sec    0    407 KBytes       
[  5]   5.00-6.00   sec  4.86 MBytes  40.8 Mbits/sec    0    431 KBytes       
[  5]   6.00-7.00   sec  5.21 MBytes  43.7 Mbits/sec    0    475 KBytes       
[  5]   7.00-8.00   sec  5.77 MBytes  48.4 Mbits/sec    0    544 KBytes       
[  5]   8.00-9.00   sec  5.41 MBytes  45.4 Mbits/sec    0    544 KBytes       
[  5]   9.00-10.00  sec  5.46 MBytes  45.8 Mbits/sec    0    544 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  51.1 MBytes  42.9 Mbits/sec    0             sender
[  5]   0.00-10.04  sec  50.2 MBytes  41.9 Mbits/sec                  receiver

even that is faster that your H7....


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zgemma h7 and openwebif #6 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 17 December 2020 - 20:31

sorry 30MBytes/s, 30x8=240MBits/s copying files from the box external USB hard disk to my PC over LAN, didn´t test iperf



Re: zgemma h7 and openwebif #7 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 December 2020 - 21:05

Changes are the USB disk is the limiting factor there...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zgemma h7 and openwebif #8 kallquk

  • Senior Member
  • 38 posts

+1
Neutral

Posted 17 December 2020 - 22:28

stb is connected cable LAN

My tests are :

 

from same pc to stb:

 

[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  82.3 MBytes   687 Mbits/sec   66    362 KBytes
[  4]   1.00-2.00   sec  92.5 MBytes   778 Mbits/sec  161    351 KBytes
[  4]   2.00-3.00   sec  93.1 MBytes   778 Mbits/sec   63    499 KBytes
[  4]   3.00-4.00   sec  91.2 MBytes   768 Mbits/sec  276    560 KBytes
[  4]   4.00-5.01   sec  95.9 MBytes   800 Mbits/sec  377    482 KBytes
[  4]   5.01-6.00   sec  92.4 MBytes   779 Mbits/sec  195    320 KBytes
[  4]   6.00-7.00   sec  92.4 MBytes   774 Mbits/sec   36    474 KBytes
[  4]   7.00-8.01   sec  92.5 MBytes   772 Mbits/sec   87    417 KBytes
[  4]   8.01-9.00   sec  93.7 MBytes   787 Mbits/sec  300    447 KBytes

[  4]   9.00-10.00  sec  91.2 MBytes   767 Mbits/sec  170    438 KBytes

 

from stb to same pc

 

[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  71.8 MBytes   602 Mbits/sec  303    263 KBytes
[  4]   1.00-2.00   sec  46.0 MBytes   386 Mbits/sec    0    356 KBytes
[  4]   2.00-3.00   sec  43.5 MBytes   364 Mbits/sec  553    273 KBytes
[  4]   3.00-4.00   sec  56.3 MBytes   474 Mbits/sec  221    287 KBytes
[  4]   4.00-5.00   sec  64.7 MBytes   544 Mbits/sec   99    335 KBytes
[  4]   5.00-6.00   sec  65.5 MBytes   549 Mbits/sec  456    252 KBytes
[  4]   6.00-7.00   sec  69.9 MBytes   587 Mbits/sec  197    305 KBytes
[  4]   7.00-8.00   sec  78.5 MBytes   656 Mbits/sec   47    354 KBytes
[  4]   8.00-9.00   sec  71.0 MBytes   597 Mbits/sec  369    287 KBytes
[  4]   9.00-10.00  sec  71.8 MBytes   600 Mbits/sec  135    331 KBytes
 

many retries, may influence it ?

My Streams max may go at 50Mbs.

May be any restriction in enigma2 ?

What player does use enigma2 for streaming?

Can I use ffmpeg or gstreamer?

why results are similar or worse that a very old stb I mentioned first post ?


Edited by kallquk, 17 December 2020 - 22:29.


Re: zgemma h7 and openwebif #9 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 December 2020 - 23:12

gstreamer and ffmpeg are not used if it’s a normal dvb channel that you stream.

Is it HD or UHD channel? Is there a difference if you stream a SD channel?

And why do you want to stream 10 channels from the same transponder at the same time?

But afaik there is no limitation in e2. But I don’t know exactly.
Do you have a harddisk in the box? Can you record the channel 10 times without issues?
And create a debug log. Maybe something is visible in the log.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04



Also tagged with one or more of these keywords: stream

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users