Hallo!I have Wine installed on my Debian 10.5 Buster Linux on an i5 laptop
I am running a heavy Windows application on the wine and everytime the application consumes 100% of one of the CPU cores and stalls forcing me to terminate the application everytime.
Is there a way to make wine applications run on more than one CPU core or use the core more efficiently without hogging 100% of a core?
How to make a wine application run on multiple processors
- DarkShadow44
- Level 9
- Posts: 1338
- Joined: Tue Nov 22, 2016 5:39 pm
Re: How to make a wine application run on multiple processors
If the program is programmed to only use one core, there's nothing Wine can do. Sometimes Wine is slower than Windows, but apart from that, you can't "use a core more efficiently".
The program just freezes? Did you try to wait for some time already?
The program just freezes? Did you try to wait for some time already?
Re: How to make a wine application run on multiple processors
@eric41eric41 wrote: ↑Mon Aug 17, 2020 2:15 pm Hallo!I have Wine installed on my Debian 10.5 Buster Linux on an i5 laptop
I am running a heavy Windows application on the wine and everytime the application consumes 100% of one of the CPU cores and stalls forcing me to terminate the application everytime.
Is there a way to make wine applications run on more than one CPU core or use the core more efficiently without hogging 100% of a core?
The wineserver process is single-threaded and can therefore cause performance issues, by acting as a bottleneck. This holds especially true for multithreaded/ CPU-bound applications.
You can check for bottlenecking, of your application, by using:
Code: Select all
perf record wine ???.exe
The results of this trace (sorted by overhead) can then be displayed by running:
Code: Select all
perf report
Re: How to make a wine application run on multiple processors
The Windows Application that I am trying to run is Metatrader 5.I ran the commands that you suggested ie
and producted a report using command
that I spooled onto a text file with output shown o link below.I am not a Wine expert so what does the output below mean and can it aid in resolving my issue?
https://pastebin.com/TUZatn3r
Code: Select all
perf record wine terminal64.exe
Code: Select all
perf report
that I spooled onto a text file with output shown o link below.I am not a Wine expert so what does the output below mean and can it aid in resolving my issue?
https://pastebin.com/TUZatn3r
Re: How to make a wine application run on multiple processors
Ahh, that trace output is actually quite interesting! Looks like the (unnecessary) Wine builtin winemenubuilder.exe process is going a bit nuts...eric41 wrote: ↑Wed Aug 19, 2020 12:41 am The Windows Application that I am trying to run is Metatrader 5.I ran the commands that you suggested ie
and produced a report using commandCode: Select all
perf record wine terminal64.exe
Code: Select all
perf report
that I spooled onto a text file with output shown o link below.I am not a Wine expert so what does the output below mean and can it aid in resolving my issue?
https://pastebin.com/TUZatn3r


Does it help performance, of Metatrader 5, if you try disabling winemenubuilder.exe?
See: WineHQ FAQ: 6.6.4 How can I prevent Wine from changing the filetype associations on my system or adding unwanted menu entries/desktop links?
Bob