-
Notifications
You must be signed in to change notification settings - Fork 20
Can't cache files larger than ~1MB #2
Comments
I'm not really sure. Due to the way this works now with the hashed request URIs I can't isolate just the CS:GO section of my cache like I used to be able to when it was Steam-only, but I can say that I do have >2MB files in my cache.
I'm deleting CS:GO from my local PC right now, I'm not sure if I have it in my cache so I'll monitor both cache size and performance while installing to see if I'm experiencing the same. |
I am unfortunately unable to replicate the problem, when I reinstalled CS:GO it pulled entirely from the cache. Nothing at all went over the internet. Looking at lancache-steam-access.log I see 65 "MISS" entries from today, all of which are "GET /appinfo/" requests (browsing the Steam store and I think some library functions) and over 10,000 "HIT" entries mostly for "GET /depot/" requests (game downloads). CS:GO is depot 731 for most content and 732-734 for OS-specific content, so
gets me all the requests relating to this game's install files sorted by filesize. No request exceeds 1048896 bytes, which is exactly 320 bytes greater than one mebibyte (MiB, 1024^2 bytes) so I'm guessing that's intentional, something like a max chunk size of 1MiB plus a header. None come anywhere close to 2MB, so your test unfortunately indicates nothing as far as I can tell. Adding up all the above chunks I get 4.4GB across 10518 requests relating to CS:GO. The game claims 4.1GB downloaded to produce 7.75GB on disk, so I have no idea where the extra 300MB downloaded comes from (I checked, there are no duplicate requests) but the difference on disk is pretty likely compression-related. |
I want to cache the entire steam repo.
Why nginx can't cache files > 1.1MB? (tested on CS:GO repo)
Real repo (CS:GO) size: ~7GB
Lancache repo size: ~3,4GB
find /srv/www/cache -type f -size +2M
returns nothing
The text was updated successfully, but these errors were encountered: