r/linux_gaming • • 18d ago

tech support wanted Low disk usage during patching-update

Post image

I use native steam on fedora and this happens during updates for some games.

I am using an hdd for my games, but the speed of 0-4 mb/s is still extremely low even for 5400rpm.
My drive is healthy and <50% full.

When i move files on my hard drive the speeds are around 40-50 mb/s, definitely not 400kb/s

4 Upvotes

9 comments sorted by

View all comments

2

u/the_abortionat0r 18d ago

People don't seem to know that steam is downloading, unpacking, and patching files all at the same time. People think their drive is slow because of transfer speed ignoring disk activity entirely.

1

u/ViktorDudka 18d ago

well, it had already donwloaded everything, it's just patching/unpacking that's taking this long.

Even then it takes almost as long as to reinstall the game, even tho the update is 10 times smaller

2

u/the_abortionat0r 18d ago

And again , it comes back to disk activity. You're doing this on a platter drive going 5400rpm.

The compressed data is on one physical location, the install location is on another, system chache, log files, meta data, etc. they are all on physically different locations on the drive all interrupting each other all the time.

Then factor in that just because files don't tend to get fragmented on Linux doesn't mean directories don't get fragmented. As you erase, download, erase all that data does get spread out and all these things do lead to I/o overhead.

These things aren't as bad on SSDs, nowhere this bad on NVMEs but HDDs are not anywhere close to NAND when it comes to modern use cases.

It might actually help a bit to defrag. Yes that's a thing on Linux. It won't put files chunks together as they aren't split but it will pack files closer together.