ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Implement as IO write mode "write-through" for downloads #11403

Open es20490446e opened 3 weeks ago

es20490446e commented 3 weeks ago

As seen in https://github.com/ValveSoftware/steam-for-linux/issues/6684, downloads on Steam cause IO cache starvation for other applications.

To fix this problem Steam shall implement as IO write mode "write-through". Aka flush pieces to storage as soon as they complete validation.

This will make the storage to only consume the download data it can actually write to storage, when it can write it.

Otherwise, since downloads are huge, they quickly take over all the IO cache.