Score:0

Steam Extreme CPU Usage While Downloading Games

co flag

I've recently fresh installed Ubuntu on my laptop (specs below, but more than enough to work with) and started downloading one game on Steam, but suddenly I start feeling my computer a lot slower than usual. I open System Monitor to see what's causing the problem and see that Steam is using practically all the CPU available, I pause the download and see the CPU usage is still high.
I've been testing distributions for the last 10 days and always see performance problems with Steam and its games.
Edit 1: I restarted my laptop to apply some system updates, however the problem still persists.

Edit 2: I also have problems running the games I downloaded on Steam. I usually have 120 fps for 2 minutes and then the games get to slow and lock on 10 fps.

sysmon1

sysmon2

The specifications of my laptop: specs

france1 avatar
ng flag
Lol this is because your computer is unpacking an archive (steam has high compression wich leads to a high cpu usage) don't worry And you prob. should upgrade your cpu because 1.6 GHz is nothing and you might have just 4 cores and not 8 as it says (hyperthreading) Linux has bad gaming performance (you need a strong cpu) but memory, Graphics etc. performance is very good so... just upgrade cpu
Score:-3
in flag

My laptop starts running all cores at 100% when downloading. This could not be a "feature" of the Steam client. Is more like an "active wait loop bug".

Well, the workaround is as easy as renice the steam process.

This is what I did:

for i in $(ps aux | grep steam | awk '{print $2;}'); do renice -n 19 $i; done;

With this change, this CPU goes down and the CPU fan also, but the download and disk write speeds are similar.

Ok. You can also use the "cpulimit" tool instead and set the max cpu rate, for a "bad" process as Steam is.

Basically, when you have a bad neightbour process, talk to the OS to restrict that behaviour.

Irsu85 avatar
cn flag
It is a feature, its steam unzipping the game
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.