https://bugs.winehq.org/show_bug.cgi?id=41976
Bug ID: 41976 Summary: Very high CPU usage while downloading stuff in Steam Product: Wine Version: 2.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com Distribution: ---
I'm now downloading Crysis in the latest Steam/Wine releases and CPU usage is extremely high:
PID USER PR NI VIRT RES %CPU %MEM TIME+ nTH COMMAND 31543 birdie 20 0 2731.0m 227.1m 51.7 1.4 6:43.52 42 Steam.exe 31401 birdie 20 0 8.0m 5.6m 49.0 0.0 5:44.30 1 wineserver
One extra note: I'm downloading to tmpfs so disk IO has zero effect on this process.
The current download speed is around 3MB/sec (24Mb/sec).
This is a bug.
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wineserver
https://bugs.winehq.org/show_bug.cgi?id=41976
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com --- My CPU is Intel Core i5 2500.
When I set my CPU frequency to exactly 1600MHz, this CPU usage doesn't change much.
So at 3.4GHz and at 1.6GHz two cores are roughly 50% busy which seems a little bit like a Linux kernel scheduler bug.
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Priority|P2 |P5
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal Priority|P5 |P2 Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com --- On a second run CPU usage decreased to 4% for Steam.exe and 0% for wineserver. Perhaps, it's a certain bug which manifests only after an initial Steam installation.
https://bugs.winehq.org/show_bug.cgi?id=41976
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name --- Closing invalid.
https://bugs.winehq.org/show_bug.cgi?id=41976
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to Jeff Zaroyko from comment #3)
Closing invalid.
It's not invalid, it's 100% reproducible but Steam restart always fixes it. But whatever.
https://bugs.winehq.org/show_bug.cgi?id=41976
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Ever confirmed|0 |1 Resolution|INVALID |---
--- Comment #5 from Jeff Zaroyko jeffz@jeffz.name --- Reopening then. Not sure why it was resolved invalid already.
https://bugs.winehq.org/show_bug.cgi?id=41976
Manoa manoa@manoa.flnet.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |manoa@manoa.flnet.org
--- Comment #6 from Manoa manoa@manoa.flnet.org --- to me this happens consistently regardless if downloading or not in steam, as soon as it is started, it uses same ~60% CPU
https://bugs.winehq.org/show_bug.cgi?id=41976
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41976
Filip Volejnik f.volejnik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |f.volejnik@gmail.com
--- Comment #7 from Filip Volejnik f.volejnik@gmail.com --- I suffer from this bug consistently - I can't start Steam without it eating up CPU all the time.
It really seems to be network related, though, since it does NOT happen when (re)starting Steam in Offline Mode.
https://bugs.winehq.org/show_bug.cgi?id=41976
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.0-rc2? If yes, maybe oprofile could help.
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|REOPENED |RESOLVED
--- Comment #9 from Artem S. Tashkinov aros@gmx.com --- I stopped using Steam under Wine more than three years ago, so I'm closing this bug report.
If there are people who are still affected (as for Wine >=4.10) I will reopen it.
https://bugs.winehq.org/show_bug.cgi?id=41976
Constantine sytsko1990@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sytsko1990@gmail.com
--- Comment #10 from Constantine sytsko1990@gmail.com --- (In reply to Artem S. Tashkinov from comment #9)
I stopped using Steam under Wine more than three years ago, so I'm closing this bug report.
If there are people who are still affected (as for Wine >=4.10) I will reopen it.
I still have this issue using last version of wine (stable) on my MacBook. My CPU loads up to 90%
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|ABANDONED |---
--- Comment #11 from Artem S. Tashkinov aros@gmx.com --- As indicated by the last comment.
https://bugs.winehq.org/show_bug.cgi?id=41976
--- Comment #12 from Ken Sharp imwellcushtymelike@gmail.com --- Please retry in Wine 7.9 (or later).
https://bugs.winehq.org/show_bug.cgi?id=41976
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED
--- Comment #13 from Artem S. Tashkinov aros@gmx.com --- I've stopped using Steam under Wine a long time ago, so let's mark it fixed unless someone can confirm it again.
https://bugs.winehq.org/show_bug.cgi?id=41976
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Ever confirmed|1 |0 CC| |z.figura12@gmail.com Resolution|FIXED |---
--- Comment #14 from Zeb Figura z.figura12@gmail.com --- (In reply to Artem S. Tashkinov from comment #13)
I've stopped using Steam under Wine a long time ago, so let's mark it fixed unless someone can confirm it again.
I can confirm that win32 steam has very high CPU usage when downloading. I'm not sure it's a bug, though, since I haven't tested on the same hardware on Windows.
https://bugs.winehq.org/show_bug.cgi?id=41976
--- Comment #15 from Artem S. Tashkinov aros@gmx.com --- Sadly this is reproducible in Wine 8.5.
https://bugs.winehq.org/show_bug.cgi?id=41976
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |imwellcushtymelike@gmail.co | |m Component|wineserver |-unknown
--- Comment #16 from Ken Sharp imwellcushtymelike@gmail.com --- I tried downloading large game files over my 1Gbps connection with the following results:
Windows Steam on Wine 8.12 – started around 300% CPU going up to 1000% CPU Linux Steam – started around 300% CPU going up to 1000% CPU Windows Steam – never exceeded 50% CPU
However: Windows Steam couldn't grab the file at more than 150 Mbps for reasons beyond my imagination, so I limited the download speeds on all clients to 100 Mbps.
Windows Steam on Wine 8.12 – around 300%-500% CPU Linux Steam – around 300%-500% CPU Windows Steam - around 35%-50% CPU
(Where 100% = 1 hardware thread fully utilised on a 8c/16t Xeon)
So make of that what you will. I never saw wineserver get particularly busy.
Wine does use more CPU than Windows, but not more than Linux.
Does the Steam client use any Wine/Proton parts for its UI? I couldn't see anything obvious listed in an ltrace.
Bug?
https://bugs.winehq.org/show_bug.cgi?id=41976
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download, performance Ever confirmed|0 |1 Severity|normal |trivial URL| |https://cdn.cloudflare.stea | |mstatic.com/client/installe | |r/SteamSetup.exe
--- Comment #17 from Ken Sharp imwellcushtymelike@gmail.com --- Also this:
https://github.com/ValveSoftware/steam-for-linux/issues/6684
"It does a lot of decryption, decompression, and delta-patching work."
I guess there's a performance bug here as it differs from Windows on the same hardware.