How the benchmark workflow works
masterThe benchmark tool is designed to identify Lancache bottlenecks (typically disk I/O) by simulating a sustained, repeatable download workload. It can be used on both the server and client sides without requiring a Steam login.
The workflow consists of two distinct phases:
benchmark setup: Creates a "workload" file containing a collection of apps. This workload defines the specific data that will be requested during the test. You should choose apps that closely match your typical download patterns.benchmark run: Executes the workload created in the setup phase. It performs an initial warmup (downloading all data to ensure it is cached and flushing server memory) followed by multiple iterations of downloading the same workload in a randomized order to measure throughput.
Important Note on Accuracy: To ensure you are testing actual disk I/O rather than system memory (RAM) caching, ensure your benchmark workload size is larger than the Lancache server's total amount of memory.
# Example workflow
./SteamPrefill benchmark setup --use-selected
./SteamPrefill benchmark run --iterations 10