lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
737 stars 73 forks source link

Steam slow speed in the evening #11

Closed momper14 closed 5 years ago

momper14 commented 5 years ago

Describe the issue you are having

First, sorry for my bad English.

I’m testing the cache monolith. My problem is, the Steam speed slows down dramatically in the evening. I tested it at 10:00 (UTC+1) and get my normal 5 MB/s but in the evening (18:00 +) it varies between 2 MB/s and 500 KB/s. Without the monolith it’s still 5 MB/s. Tested it with Origin too but no problem here. Same problem yesterday. Same problem with generic or the original Steamcache.

My hardware isn’t maxed out at any point and after its cached I get up to 100 MB/s from the Server (CPU Limited).

Any idea?

Edit: Tested it with Battle.net and Uplay. Also, no problem.

How are you running the container(s)?

docker-compose.yml:

version: '3'
services:
  cache:
    container_name: cache
    hostname: cache
    image: steamcache/monolithic:latest
    restart: unless-stopped
    ports:
      - 80:80
    volumes:
      - cache:/data/cache/
      - logs:/data/logs/
      - cachedomains:/data/cachedomains/
      - www:/var/www/
    networks:
      nginx:
    environment:
      CACHE_MEM_SIZE: 4000m
      CACHE_DISK_SIZE: 3500g

volumes:
  cache:
    external: true
  logs:
  cachedomains:
  www:

networks:
  nginx:
    external: true

DNS Configuration

Running a Pi-Hole with the dnsmasq made files from uklans/cache-domains

Output of container(s)

[access.log](https://github.com/steamcache/monolithic/files/2866258/access.log)
[error.log](https://github.com/steamcache/monolithic/files/2866260/error.log)

Tell me if u need anything more and I will try to give it to you.
VibroAxe commented 5 years ago

Hey @Momper14 So we've made a lot of progress on this in the last few days. We would appreciate any help you can give in testing the solution. Please head over to steamcache/steamcache-dns#69 and follow the instructions there.

Thanks

momper14 commented 5 years ago

Sadly, it didn’t fix my problem. I tested it with 8 IPs (21:30 UTC+1) and got 800 KB/s-1,5 MB/s instead of 300 KB/s-1 MB/s with only 1 IP. It’s an Improvement but still far away from the 5 MB/s which I get in the night/morning or without the cache.

VibroAxe commented 5 years ago

@Momper14 pretty sure this is an issue with your ISP throttling your connections. You are seeing an improvement across your connection pool. I suspect steam is just using more connections

Could you upload a copy of your steam contentlog.txt for a download without any dns interception and one for an uncached download of the same game

momper14 commented 5 years ago

Increased the number of IPs to 13. Looks like its fixed now. Strange.