Raised This Month: $51 Target: $400
 12% 

FastDL not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ghost34
Member
Join Date: Jul 2017
Location: In the middle of nothing
Old 08-20-2017 , 14:59   FastDL not working
Reply With Quote #1

I have set up fastdl option for my csgo server
This is my setup in server.cfg
Quote:
//FastDL
sv_downloadurl = "http://www.mysite/csgo"
sm_cvar sv_allowdownload 1
sm_cvar sv_allowupload 1
sm_cvar net_maxfilesize 64
It still downloads the additional content REALLY slow. Any help?
Ghost34 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-20-2017 , 15:51   Re: FastDL not working
Reply With Quote #2

If the server has a upload speed of 1 megabit, and your player's download speed is 100 megabit, you will never be able to do more than 1 megabit theoretically.

Location of each server may also influence it a lot, neighbor countries may perform well (but also the opposite.

If you are crossing different continents (e.g. player in Europe, HTTP sv_downloadurl hosted in other continents such as USA or Asia), then that itself will influence it a lot.

sv_allowupload and sv_allowdownload has to do with sending files to and from the game server directly, and won't do anything if sv_downloadurl is set up properly.

Speed issues are usually hard to debug, however, without more information such as for example the real URL you put into sv_downloadurl and one or some working files that exist there, we can only advise you to contact your hosting provider.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Ghost34
Member
Join Date: Jul 2017
Location: In the middle of nothing
Old 08-20-2017 , 16:46   Re: FastDL not working
Reply With Quote #3

"http://www.********.****.de/csgo" is the site
Some files that exist on the webserver
Quote:
materials/models/player/voikanaa/hitman/agent47/face_d.vmt
materials/models/player/voikanaa/hitman/agent47/face_d.vtf
materials/models/player/voikanaa/hitman/agent47/face_n.vtf
models/player/custom_player/voikanaa/hitman/agent47.mdl
models/player/custom_player/voikanaa/hitman/agent47.phy
models/player/custom_player/voikanaa/hitman/agent47.vvd
models/player/custom_player/voikanaa/hitman/agent47.dx90.vtx
I am in Bulgaria.
__________________

Last edited by Ghost34; 08-21-2017 at 19:37.
Ghost34 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-20-2017 , 17:34   Re: FastDL not working
Reply With Quote #4

Do you have any large files (e.g. close to 100 MB) on it?

And out of curiosity, are you using their free service or do run with a paid plan from them?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Ghost34
Member
Join Date: Jul 2017
Location: In the middle of nothing
Old 08-20-2017 , 17:43   Re: FastDL not working
Reply With Quote #5

Paid plan, and I don't use larger files than 40 mb
__________________
Ghost34 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-20-2017 , 17:55   Re: FastDL not working
Reply With Quote #6

If you're interested, you can shout out (you can eventually send a PM using this link) with one of the largest files you have there, and I can make a few speed tests from various locations.

Or you could download (or create) a test file, e.g. http://proof.ovh.net/files/100Mio.dat - and then you upload it to your hosting, and try to download the file from your hosting. This way you can see if the hosting is slow too.

The IP addresses that your (sub)domain points have more than 500 domains attached to it, and that thing may raise concerns about issues due to an overload from too many customers at once, in which case you wouldn't be able to do anything except from switching provider.

Another thing to consider is that the sv_downloadurl concept will take each file individually, and as such, this will cause a lot of round trips client <-> download server round trips if there are hundreds or thousands of files, there is nothing you can do about this one though, unless you can convince your players to download a full archive and extract it ("manually" !) first, but that thing doesn't usually work that well...
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-21-2017 , 19:18   Re: FastDL not working
Reply With Quote #7

From a cable modem connection (with 300 mbit download), I'm getting getting around 17.3 MB/s, which is roughly 138,4 Megabit.

From one of my servers (1 gbit (1000 mbit)), I'm getting 46.5 MB/s, roughly 372 megabit.

Therefore, I doubt the server's speed itself is the issue under normal circumstances. Your server could however be overloaded from time to time from other customers, which could cause negative issues at cetain times of the day.


Another thing, whcih I failed to spot from the beginning:

Quote:
Originally Posted by Ghost34 View Post
This is my setup in server.cfg?
Do you actually mean "server.cfg"?

With CS:GO, "server.cfg" is loaded first, then "gamemode_xxx_server.cfg". So "gamemode_xxx_server.cfg" is overwriting the settings from "server.cfg"

So depending on your server type, try putting your settings in "gamemode_xxx_server.cfg" (e.g. "gamemode_casual_server.cfg" or "gamemode_competitive_server.cfg", ... etc., depending on the server type).

Since the link is redirecting to https:// (SSL encrypted), using "http://" is causing further round trips, so I also suggest to use "https://", e.g.:

Code:
sv_downloadurl "https://hostname.here/csgo"
Try the other config, and let us know if that helps.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Ghost34
Member
Join Date: Jul 2017
Location: In the middle of nothing
Old 08-21-2017 , 21:20   Re: FastDL not working
Reply With Quote #8

That didn't help
__________________
Ghost34 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-21-2017 , 21:31   Re: FastDL not working
Reply With Quote #9

If you open up your game server's console, and enter in "sv_downloadurl", does the correct URL show?

Like here:
Code:
sv_downloadurl
"sv_downloadurl" = "http://some.address.here/" ( def. "" )
 replicated
 - Location from which clients can download missing files
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 08-21-2017 at 21:46.
DarkDeviL is offline
Ghost34
Member
Join Date: Jul 2017
Location: In the middle of nothing
Old 08-22-2017 , 16:02   Re: FastDL not working
Reply With Quote #10

yes
__________________
Ghost34 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode