Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow download speed in Battle.net #91

Closed
amittamari opened this issue Jan 27, 2020 · 7 comments
Closed

Slow download speed in Battle.net #91

amittamari opened this issue Jan 27, 2020 · 7 comments
Labels
speed-issue Reported speed or performance issue

Comments

@amittamari
Copy link

Describe the issue you are having

Slow download speed in Battle.net, about 1.5MBps with lancache, and ~10MBps without lancache.

How are you running the container(s)?

docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/lancache-dns:latest
docker run --restart unless-stopped --name lancache --network host --detach -v /cache/data:/data/cache -v /cache/logs:/data/logs lancachenet/monolithic:latest
docker run --restart unless-stopped --name sniproxy --detach -p 443:443 lancachenet/sniproxy:latest

DNS Configuration

Manually set DNS on the client computer (Windows 10 Home)

Output of container(s)

I'm getting traffic in /data/logs/access.log, but the speed is very slow for some reason.

@MathewBurnett
Copy link
Member

I wonder if you can provide me a little more information.

  • Which game?
  • Do you have a snippet of the logs from the time?
  • Are you confident that you had spare bandwidth both up and down while you were experiencing the speed issue?
  • Can you confirm you get good speeds with other content providers other than battlenet?

@maxvat22
Copy link

maxvat22 commented Jan 27, 2020

Have the same problem here , downloading speed is the same as he mentioned up with every game i test. So a problem to resolve this? i get around 15MBps without lancache and when i start get around 3MBps maximum ...

@MathewBurnett
Copy link
Member

This could be the way clients calculate the moving average of speed. As the real speed seen at the client is 0 until its max speed for a chunk. The client will likely display the average of the last X speeds. Are you able to monitor the bandwidth the cache is pulling through your firewall?

@amittamari
Copy link
Author

I wonder if you can provide me a little more information.

  • Which game?
  • Do you have a snippet of the logs from the time?
  • Are you confident that you had spare bandwidth both up and down while you were experiencing the speed issue?
  • Can you confirm you get good speeds with other content providers other than battlenet?
  • CoD:MW, haven't tried anything else but I will.
  • Yes, but basically I get all HITs and download speed is averging around 1.7MBps.
  • I'm certain that I had spare bandwidth, other computers were downloading at normal speeds.
  • Yes, Steam downloads at 100+MBps with GTA V.

@EpicFail113
Copy link

I see similar performance.

@hotgore
Copy link

hotgore commented Feb 1, 2020

Same issue, get about 3MB/s with 12core CPU, 12GB of RAM and on a NVMe drive.

@unspec unspec added the speed-issue Reported speed or performance issue label Feb 22, 2020
@unspec
Copy link
Member

unspec commented Feb 24, 2020

Regarding slow initial blizzard downloads:

The latest version of monolithic/generic now supports changing the slice size used by nginx. We've found that increasing from 1m to 8m offers a small performance boost to specific use cases (single user initial downloads of blizzard games in particular). See http://lancache.net/docs/advanced/tuning-cache/#tweaking-slice-size for information on how to make use of this.

Please note that it does come with some potential downsides (discussed in the above link) and will invalidate any already cached data on your cache if you change the value.

To tidy up the issues, if you choose to test this please post any feedback on this issue: lancachenet/generic#100

If you need any other support please see http://lancache.net/support/ or open a new issue.

@unspec unspec closed this as completed Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
speed-issue Reported speed or performance issue
Projects
None yet
Development

No branches or pull requests

6 participants