[Help Us!] stress test your tvserver. (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    Have you ever wondered about just how stable your setup is when it comes to tuning channels, then this addition might just be for you.

    Its a modded vers. of setupTV which should work with 1.2 alpha setups.
    (Its already incl. in SVN for the next release)

    Look for the new tab called "test channels".
    The rest is self-explanatory-

    but please do post your results.

    currently Im running this FTA (no-CAM) test:
    dvb-s2 hauppauge nova HD
    dvb-s2 floppydtv
    dvb-s skystar2

    3 virtual users
    each tune 500-2500 msec
    tune delay:200
    users share channels:checked

    stats:
    630 succeeded
    19 failed (all no audio/video found)
    1580 msec avg tuning time

    When I do the same test for my cinergy 2400i dual dvb-t card (2 virtual users / other cards excluded from the test), then matters are different.
    It crashes tvservice after around 20 tunings :( :(
    I did manage to find another driver for it that doesnt crash, but instead I get TS stream corruption.
    Pick your poison I guess.

    Atleast this tool made me realize this problem.

    It would be nice just to see how well cards behave with the tvserver.

    Things that you can do to alter the outcome of the test:

    1) use other device drivers
    2) change network provider (tuning provider). see card details in setupTV.
    3) use pausecard vs stopcard on card idle. see card details in setupTV.

    the more virtual users you add, the more you will stress the tvserver.

    /gibman
     

    KayDiefenthal

    MP Donator
  • Premium Supporter
  • July 18, 2006
    1,176
    92
    42
    Germany - Bonn
    Germany Germany
    Country flag
    AW: stress test your tvserver.

    yes it works

    # Time State Channel mSec Name Card Details
    1 21:28:03 ERR Unknown 7476 16505 setuptv-491 N/A No Video/Audio detected
    2 21:28:04 OK BR-alpha 1312 setuptv-439 2
    3 21:28:04 ERR arte 84 setuptv-477 N/A All cards are busy
    4 21:28:04 ERR Unknown 7504 87 setuptv-491 N/A All cards are busy
    5 21:28:06 OK Dr.Dish TV 1184 setuptv-439 2
    6 21:28:06 ERR ZDF HD 95 setuptv-477 N/A All cards are busy
    7 21:28:06 ERR 13EME RUE 87 setuptv-491 N/A All cards are busy
    8 21:28:09 OK kabel eins 1373 setuptv-439 2
    9 21:28:09 ERR ZDF 84 setuptv-477 N/A All cards are busy
    10 21:28:09 ERR Kabel 1 Schweiz 72 setuptv-491 N/A All cards are busy
    11 21:28:11 OK DAS VIERTE 1256 setuptv-439 2
    12 21:28:11 ERR ZDFinfokanal 91 setuptv-477 N/A All cards are busy
    13 21:28:11 ERR STYLIA 84 setuptv-491 N/A All cards are busy
    14 21:28:13 OK RTL Television 1247 setuptv-439 2
    15 21:28:14 ERR PMU sur Canal+ 99 setuptv-491 N/A All cards are busy
    16 21:28:14 ERR EinsExtra 81 setuptv-477 N/A All cards are busy
    17 21:28:16 OK ProSieben 1299 setuptv-439 2
    18 21:28:16 ERR TELE 5 109 setuptv-477 N/A All cards are busy
    19 21:28:16 ERR NRJ HITS 98 setuptv-491 N/A All cards are busy
    20 21:28:18 OK Super RTL 1292 setuptv-439 2
    21 21:28:18 ERR WDR Köln 100 setuptv-477 N/A All cards are busy
    22 21:28:18 ERR SAT.1 A 90 setuptv-491 N/A All cards are busy
    23 21:28:21 OK zdf_neo 1259 setuptv-439 2
    24 21:28:21 ERR Einsfestival 101 setuptv-477 N/A All cards are busy
    25 21:28:21 ERR BOOMERANG 73 setuptv-491 N/A All cards are busy
    26 21:28:23 OK SAT.1 1472 setuptv-439 2
    27 21:28:23 ERR Das Erste HD 109 setuptv-477 N/A All cards are busy
    28 21:28:23 ERR TAQ XXHARD 89 setuptv-491 N/A All cards are busy
    29 21:28:26 OK VOX 1579 setuptv-439 2
    30 21:28:26 ERR 3sat 79 setuptv-477 N/A All cards are busy
    31 21:28:26 ERR HOGARUTIL 108 setuptv-491 N/A All cards are busy
    32 21:28:28 OK RTL2 691 setuptv-439 2
    33 21:28:28 ERR EinsPlus 97 setuptv-477 N/A All cards are busy
    34 21:28:28 ERR TEST CDN 8 81 setuptv-491 N/A All cards are busy
    35 21:28:30 OK SIXX 1313 setuptv-439 2
    36 21:28:30 ERR Phoenix 117 setuptv-477 N/A All cards are busy
    37 21:28:30 ERR France 24 (in Arabic) 103 setuptv-491 N/A All cards are busy
    38 21:28:33 OK DMAX 1304 setuptv-439 2
    39 21:28:33 ERR hr-fernsehen 107 setuptv-477 N/A All cards are busy
    40 21:28:33 ERR C+ ACCIÓN 104 setuptv-491 N/A All cards are busy
    41 21:28:35 OK n-tv 1383 setuptv-439 2
    42 21:28:35 ERR Das Erste 125 setuptv-477 N/A All cards are busy
    43 21:28:35 ERR MOSA 4 (1) 96 setuptv-491 N/A All cards are busy
    44 21:28:37 OK ZDFtheaterkanal 1344 setuptv-439 2
    45 21:28:38 ERR arte HD 117 setuptv-477 N/A All cards are busy
    46 21:28:38 ERR MULTI-X 94 setuptv-491 N/A All cards are busy
    47 21:28:40 ERR 24 HORAS 1759 setuptv-491 N/A Channel is scrambled
    48 21:28:43 ERR (14) 1216 setuptv-491 N/A Unknown error occured
    49 21:28:46 ERR FRANCE 3 2401 setuptv-491 N/A Channel is scrambled
    50 21:28:49 ERR PLAYHOUSE 1829 setuptv-491 N/A Channel is scrambled
    51 21:28:53 ERR W9 2211 setuptv-491 N/A Channel is scrambled
    52 21:28:56 OK MOSA 5 2032 setuptv-491 2
    53 21:28:58 OK TV3 CAT 1403 setuptv-491 2
    54 21:29:01 ERR ANIMAUX 1785 setuptv-491 N/A Channel is scrambled
    55 21:29:03 ERR (12) 1159 setuptv-491 N/A Unknown error occured
    56 21:29:06 ERR GUIDE TV 1479 setuptv-491 N/A Unknown error occured
    57 21:29:28 ERR .. 20723 setuptv-491 N/A Unable to create/start graph

    here the info for one technotrend tt budget dvbs2 3200
    channels FTA with 2 users

    if you want more test

    here the list of aviables cards

    3 floppedtv dvb s
    3 floppydtv dvb s2

    1 knc one dvb s with ci
    1 knc one dvb s2 with ci

    1 tt budget S3200 dvbs2 with ci
    1 tt budget 1100 dvb s

    1 digital devices CineS2 dual tuner Dvb s card with cis
     

    joxen

    MP Donator
  • Premium Supporter
  • May 14, 2008
    146
    14
    stockholm
    Sweden Sweden
    gibman

    the stress test rely fu... my cinergy 2400i dt

    i dont have eny problem whith 1.2 alpha to do manual control but whith your files i only can time shift one time

    after that the card is in responcibel have to do a restart of computer to make card come alive again .

    my other cards working but i only have 1 channel whitout mdapi so i dont think you whant logs .


    and yes i did do fta test no (mdapi) on cinergy 2400i dt

    what logs do you want it hangs after the first channel change .

    sorry for bad spelling ..
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    my cinergy 2400i card is messed up as well.

    I see the following things when testing the card with 2 virtual users:

    1) crashes tvservice, I have a local workaround for this here, but it really is a driver problem.
    2) no PMT found
    3) no audio/video found

    once either of the 3 problems occur I have to stop tvservice, and disable-enable the cinergy card drivers again.

    download devcon.exe (google it)
    create a batch file with:

    devcon disable Ngene\VEN_18C3*
    devcon disable PCI\VEN_18C3*

    devcon enable PCI\VEN_18C3*
    devcon enable Ngene\VEN_18C3*

    this saves me a lot of time.
    also make sure that tvservice.exe is gone from the list of processes in taskmanager.

    testing the card with one virtual user seems a lot more stable on this card.

    btw. when stress testing a single card with more than one virtual user you are bound to see errors happening like:
    All cards are busy - ofcourse this depends if you have multiple muxes defined on that card.

    In this case one of those virtual users will randomly try to tune into a channel that is locked by another virtual user.

    The errors you should be paying special attention to would be:
    * crashes
    * no audio/video found
    * no pmt
    * channel is scrambled
    * graph creation problems

    /gibman
     

    joostzilla

    Retired Team Member
  • Premium Supporter
  • August 10, 2006
    818
    1,057
    49
    Drunen
    Netherlands Netherlands
    Sorry if this question sounds stupid: What is the exact purpose of this stress test?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Sorry if this question sounds stupid: What is the exact purpose of this stress test?
    In short: "Make tv engine more robust".

    1) Easier to find bugs on tv server side
    2) To check if some drivers / HW are behaving badly
    3) To help people stabilize their HTPC / server (spotting buggy drivers etc).
     

    mylle

    Portal Pro
    April 14, 2005
    574
    66
    Denmark
    Denmark Denmark
    Hi Gibman,

    This is a great initiative. Her are my logs:

    Tuners:
    card1 dvb c floppydtv
    card2 dvb c tt 1501
    card3 dvb s digital devices cine 2 dual
    card4 dvb s digital devices cine 2 dual
    card5 dvb t Hauppauge sms1000

    For these logs i have only used card 1 and 2 and only on FTA channel

    Note though that even though tvserver says card1 and card 2....logs say card 2 and 3?

    # Time State Channel mSec Name Card Details
    1 10:45:46 OK Kanal 5 1301 setuptv-472 2
    2 10:45:47 OK NatGeo Wild HD 1318 setuptv-424 3
    3 10:45:48 OK Sverige 1 1304 setuptv-472 2
    4 10:45:50 OK DR HD 1275 setuptv-424 3
    5 10:45:51 OK TV 2 Charlie 1305 setuptv-472 2
    6 10:45:52 OK National Geographic 1184 setuptv-424 3
    7 10:45:54 OK DR K 1416 setuptv-472 2
    8 10:45:55 OK TV4 Sverige 1308 setuptv-424 3
    9 10:45:56 OK TV 2 Sport 1303 setuptv-472 2
    10 10:45:57 OK Cartoon Network 1158 setuptv-424 3
    11 10:45:59 OK DK4 1348 setuptv-472 2
    12 10:46:00 OK RTL 1235 setuptv-424 3
    13 10:46:01 OK 6'eren 1152 setuptv-472 2
    14 10:46:01 OK TV 2 Norge 338 setuptv-424 3
    15 10:46:03 OK TV 2 News 1334 setuptv-472 2
    16 10:46:19 ERR Discovery World 15581 setuptv-424 N/A No Video/Audio detected
    17 10:46:35 ERR Folketings-tv 16379 setuptv-472 N/A No Video/Audio detected
    18 10:46:37 OK TCM 1469 setuptv-424 2
    19 10:46:38 OK TV 2 Film 1206 setuptv-472 3
    20 10:46:40 OK NRK1 1908 setuptv-424 2
    21 10:46:41 OK TV3 1255 setuptv-472 3
    22 10:46:43 OK DR Ramasjang 1570 setuptv-424 2
    23 10:46:44 OK Canal 9 1247 setuptv-472 3
    24 10:46:45 OK CNN 1127 setuptv-424 2
    25 10:46:47 OK TV 2 Nord 1301 setuptv-472 3
    26 10:46:48 OK MDR 1298 setuptv-424 2
    27 10:46:49 OK 3+ 1125 setuptv-472 3
    28 10:46:51 OK Discovery Science 1441 setuptv-424 2
    29 10:46:52 OK Kanal Nord 1254 setuptv-472 3
    30 10:46:53 OK Voice Tv 1128 setuptv-424 2
    31 10:46:54 OK 24Nordjyske 1086 setuptv-472 3
    32 10:46:57 OK EuroSport 2700 setuptv-424 2
    33 10:46:58 OK Kanal 4 1238 setuptv-472 3
    34 10:47:00 OK Discovery Travel & Living 2049 setuptv-424 2
    35 10:47:01 OK TV 2 Zulu 1195 setuptv-472 3
    36 10:47:02 OK Disney Channel 1345 setuptv-424 2
    37 10:47:04 OK DR Update 1274 setuptv-472 3
    38 10:47:05 OK Sverige 2 1301 setuptv-424 2
    39 10:47:06 OK DR 2 1331 setuptv-472 3
    40 10:47:09 ERR Nature/Crime/Playboy 2483 setuptv-424 N/A No signal
    41 10:47:09 OK Zaptor Tv 293 setuptv-472 3
    42 10:47:12 OK Animal Planet 1791 setuptv-424 2
    43 10:47:12 OK DR 1 474 setuptv-472 3
    44 10:47:13 OK Discovery Channel 507 setuptv-424 2
    45 10:47:16 OK Folketings-tv 1489 setuptv-308 2
    46 10:47:17 OK Discovery Science 1371 setuptv-406 3
    47 10:47:18 OK TV 2 Sport 1295 setuptv-308 2



    Succeeded = 430
    Failed = 18
    Avg Msec = 1774
    virtual users = 2
    each tune 500-1000 msec
    tune delay:1000
    users share channels: NOT checked

    On the failed tuned channels the logs say "card N/A". It would be nice to see what card faild of the two?

    regards
    Jacob


    UPDATE: Event though the channels are FTA I for som reason had the cam setting enabled. Without CI and smart card thougt. Aften disabling the cam under the firedtv properties i now get 0 errors over 800 tuning requests.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    hmmm very interesting.

    Try and enable the CAM again.

    Could you test the outcome of:
    if (channel.FreeToAir)

    you should step into:
    return true;

    maybe this doesnt happen.

    -->

    public bool SendPMT(int subChannel, DVBBaseChannel channel, byte[] PMT, int pmtLength, int audioPid)
    {
    try
    {
    if (!_useCam)
    return true;
    if (channel.FreeToAir)
    return true; //no need to descramble this one...

    /gibman

    UPDATE: Event though the channels are FTA I for som reason had the cam setting enabled. Without CI and smart card thougt. Aften disabling the cam under the firedtv properties i now get 0 errors over 800 tuning requests.
     

    mylle

    Portal Pro
    April 14, 2005
    574
    66
    Denmark
    Denmark Denmark
    Hi Gibman,

    Im not at programmer so i have no clue how to test what you are requesting. I just compiled my own release SVN26683.

    regards
    Jacob

    UPDATE:
    OK. I testet some more.

    It seems that the CAM setting does not matter. I ran the test again with cam enabled and i only got 2 failed tune requests in 400 attempts.

    But this is when i test with only 1 virtual user. My first test was with 2 virtual users.

    Now, if i test with 2 virtual users i get more errors but now it is also using both dvb-c card concurrently.

    A sure fail happens when the floppydtv or technotrend card tries to tune 2 channels at the same time on the same MUX. It never tries to do that when only using 1 virtual user.

    Also using 3 virtual users fail 1/3 of the attemts. obviously because there are only 2 tuner cards availible for tuning?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 2
    ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
    high attachment test Testforum 0
    azzuro [News] MediaPortal 1.24 Pre-Release ready for testing! News and Announcements 0
    HTPCSourcer [Finished] Nereus: Test results #1 MediaPortal 2 196
    ajs [solved] MP1.23 Temporary Bugfixes - Test General Support 8
    morpheus_xx Test builds of MP2.3 WiP, x64, Nereus and more... MediaPortal 2 44
    ajs [News] MediaPortal 1.23 Pre-Release ready for testing! News and Announcements 6
    O [News] MediaPortal 1.22 Pre-Release ready for testing! News and Announcements 2
    E [solved] No Live TV in MP2.2 Client - Can TEST Successfully in "MediaPortal 2 TV Configuration" utility General 8
    morpheus_xx General Testing TVE 3.5 Sat>IP support (MP2 only) TV Engine 47
    O [News] MediaPortal 1.21 Pre-Release ready for testing! News and Announcements 6
    D [solved] Initital testing with second client - cannot play recorded TV General 33
    O Core Testing of the new TsWriter.ax TV Engine 77
    ge2301 MP 2.2 Release - Testing Archive 86
    high [News] MediaPortal 1.20 Pre-Release ready for testing! News and Announcements 10
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    badboyxx TV card is listed as unknown in TV-server config General 4
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    T How do I install the Kodi TVServer plugin General 8
    C Manual Control doesn't work anymore inside TVServer General Support 4
    I TVServer issues Installation, configuration support 2
    T Things I wish I had known setting up and first using TVServer for good reception of DVB-T Installation, configuration support 0
    Similar threads
























    Top Bottom