Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    541
    Hi HoangTV,

    If you decide to change the factory default values for the parameters like <sendbuf> and <MSS> then their tuning should be the result of intense tests in your typical scenario.

    In any case, I expect that the value of <sendbuf> is always kept higher than that of <MSS> (even slightly, in your case i can speculate 12000).
    But, please let me to repeat that you should thoroughly test the choices taken.

    Regards,
    Giuseppe

  2. #12
    Many thanks
    Regards,
    HoangTV

  3. #13
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    In most cases, acting on <sendbuf> only should be enough, without touching <MSS>. Try to increase sendbuf as much as you want (up to 2147483647) and see if the situation improves.

    Here is how it works.

    By default, Lightstreamer keeps a tiny sendbuffer (1600 bytes). This allows the server to implement very fast detection of network congestion and adaptively throttle the data flow. What happens with a small sendbuffer is that the congestion windows is kept small as well. This works great with normal streaming activity. But if a huge amount of data needs to be delivered in a short time (similar to a normal download activity), then such a small sendbuffer would slow down the data transfer a lot. That's why increasing the sendbuffer, possibly to very large values (for example, try 100,000,000 bytes), will boost download performance.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:21 PM.