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

romuz

Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    Going to try test with longer "each tune should last..." option.

    500 Tunes and no fails with 1500-2000 ms option :)
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    it's in timeshifter class.

    timeAudioEvent and timeVideoEvent are initialized in the ctor of the timeshifter class.

    the tvcardhandler class has a ref. :
    _timerShifter = new TimeShifter(this);

    and tvcontroller instantiates the tvcardhandler class (one instance per class) during tvcontroller.initcontroller.

    so its safe to say there could be a problem :)

    /gibman

    I suspect this block:
    (The timespan check is probably failing because of the massive nr of tunes being thrown at it.)

    In what class that is in? I would hope it is instantiated per tune request - otherwise it is definitely hazard waiting to be happen.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    what options did you use in your previous test ?

    this wasnt clear for me.

    /gibman

    Going to try test with longer "each tune should last..." option.

    500 Tunes and no fails with 1500-2000 ms option :)
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    It was defaults: 500-1000

    btw 1000 tunes without fails for now :)
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    It does look its related to the wait period of 1000msecs

    .... if (ts.TotalMilliseconds > 1000) ...

    in the code I highlighted previously.

    So if you keep ur timeshifting last for more than those 1000msecs and it would probably be fine.

    /gibman
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    More complex test:
    2 cards 2 users
    Users can share channels selected
    each tune should lasts 2000-3000
    Tune delay 2000
    Same issue is ocured

    Without "Users can share channels" option all is fine
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    Looks promising.
    No fails on 1000+ tunes even with default timing settings.
    on 2 cards with 2 users with "Users can share channels" option enabled
     

    Users who are viewing this thread

    Top Bottom