Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Feature Request: make HTTP requests obey bandwidth setting http://sldev.free.fr/forum/viewtopic.php?f=9&t=1248 |
Page 1 of 1 |
Author: | DBDigital Epsilon [ 2013-06-21 17:30:19 ] |
Post subject: | Feature Request: make HTTP requests obey bandwidth setting |
Would it be possible to make HTTP requests obey the MAX bandwidth setting in prefs/networking? The problem is with LL pushing hTTP more and more, if two people are on SL with the same connection. Or a connection is anything less than a very large and reliable one, teleporting into a new area, can flood/max out a connection (massive packet loss) causing rezing to fail among other issues. If the MAX bandwidth setting also worked for HTTP requests, it would fix this problem. I can only turn on HTTP fetching on occasionally due to this issue. And I now see that you mentioned a few things to try here viewtopic.php?f=6&t=1087&p=5020&hilit=bandwidth+setting#p5020 but for some reason I never got the notification of a reply even though I was following the post. My router is far from be being maxed out. I have checked/watched that (it is a decent router running DD-WRT which shows in it status circus, memory capacity etc). It is the bandwidth. It maxes out and everything fails when it happens as a result. And when I say connection maxes out, I am looking in the routers bandwidth/connection status, not the viewers meters. I have tried Max HTTP requests at 8, to no avail. I will try lowering that further with debug. MTU is set properly. Still it would be wonderful if the MAX Bandwidth setting could work for all connections in the viewer instead of just UDP. |
Author: | Henri Beauchamp [ 2013-06-21 18:57:17 ] |
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti |
There is no way to limit the HTTP bandwidth in the viewer given it uses Curl and threaded fetches. Perhaps later, when the llcorehttp library will be used for all HTTP fetches everywhere in the viewer. Anyway, HTTP is a TCP protocol and cannot loose packets (at worst, it will time out waiting for packets). If you are loosing many UDP packets when the bandwidth usage on your link is high, then it's a clear sign that your network is crippled, and the viewer can't do anything for this (fix your network: check the MTU, check your router configuration, replace any lousy/buggy router, etc...). |
Author: | DBDigital Epsilon [ 2013-06-21 20:09:53 ] |
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti |
Actually that is not quite true. Packets can be lost, if TCP or UDP. TCP are re transmitted, where UDP is "streaming" and is just skipped. So either can have "packet loss" but TCP should be retransmitted so should be "lossless" in the end. Of course I am sure you know this. Again it is not my packet "loss" that is the problem, it is the connection being maxed. The packet loss points to a problem, which when I went digging found the problem to be a maxed connection. Turning off HTTP helped/fixed the situation. That is a fact. And since hTTP/TCP on causes the connection to be maxed, the problem can be fixed with a max bandwidth throttle. I figured that the MAX bandwidth setting didn't apply to HTTP (TCP) connections due to the libraries used on LL's end or you might have implemented something by now. But searching the forums I didn't find anyone requesting this before, so figured I would ask. But again it is not my connection, my settings are fine, and everything works great unless I either turn the max bandwidth up too high OR I use HTTP (TCP). Sure I suppose upping the bandwidth for the connection itself would work, but at the moment SL is the only program I have such issues with, and secondly that would be expensive lol. Anyway at the moment I am just glad there is a work-around for my situation. And I hope that in the near future a more permanent fix can be done. By the way the only reason I said HTTP as everything in the viewer says HTTP with regard to TCP connections. Otherwise I would have called them TCP. But I wished to avoid confusion. |
Author: | Henri Beauchamp [ 2013-06-24 17:48:09 ] | |||||||||||||||||||||||||||
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti | |||||||||||||||||||||||||||
The true solution to your problem is not to limit your HTTP traffic, but rather to configure the QoS on your system (do a search on the Internet for how to do this: there are plenty of good tutorials for each OS). |
Author: | DBDigital Epsilon [ 2013-06-30 15:28:43 ] |
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti |
Actually it is not my network as I said before. This week it has improved greatly. Things are rezing well even with HTTP on (granted I don't have the fetches on past 3 or 4 but otherwise no issues. This implys something was changed at LL's end as I have done NOTHING since my last post (except usual cache clears). So again the issue was not my configuration, modem, or router. They weren't reset, rebooted, reconfigured or any of that since my last post. My assumption is LL made changes on their backbone. Of course I could be mistaken, but either way the change was not one I had made. Another indicator it was not anything I did...the bandwidth doesn't max out like it use to after a teleport (and I am talking about the monitors in the network router not viewer). The bandwidth remains at it is lower levels as it was back months ago (January or so I started noticing a problem). And by the way while I agree I cannot know with 100% certainty if packet loss was TCP or not (and I wasn't implying that it was). I was simply saying the effects of failing to rez with HTTP on which happened when my connection was maxed (cause-effect of watching bandwidth after a teleport). Which may not be packet loss per say and should eventually catch up but it usually failed to so. Which again indicated there was a "loss" of data at some point. Or a failure of a server to even send it in the first place. And if the packets were "suck" in my modem/routers memory this would likely show in the buffer, which it didn't. Either way the point is moot as it is fixed and not by anything I did/changed. |
Author: | linyifei [ 2013-06-30 23:11:59 ] | |||||||||
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti | |||||||||
|
Author: | DBDigital Epsilon [ 2013-09-07 20:44:06 ] |
Post subject: | Re: Feature Request: make HTTP requests obey bandwidth setti |
Another suggestion: Perhaps a separate bandwidth control for textures/http? I happened to notice another viewer had this (I was helping someone with Singularity). Since merging the two is not possible, could a separate bandwidth control be implemented fairly easily? |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |