Wine cause more cpu usage and freeze program for a couple of seconds


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Wine cause more cpu usage and freeze program for a couple of seconds
# 1  
Wine cause more cpu usage and freeze program for a couple of seconds

Hi, i am facing a strange issue with wine. I am using ubuntu 14, 17 and 18 and in all version same thing, app which works perfeclty suddenly slow down, and i see that use too much CPU. First, i was thinking that memory is the problem, but now i am thinking that cpu is main problem.
I have a various hardware configuration, all have 4GB ddr3 or ddr4 RAM, and all have intel cpu dual core. GPU mainly intel integrated, but have AMD RADEON and NVIDIAs
I tried with ryzen3 also, but same there. Dont seem that hw is problem. I tried and reinstall whole system.
Things I tried:

Code:
export __GL_THREADED_OPTIMIZATIONS=1

export GPU_MAX_HEAP_SIZE="100"

export GPU_MAX_ALLOC_PERCENT="100

cpulimit -l 20 wine MyProgram.exe

%sudo   ALL = (ALL) NOPASSWD: /usr/bin/cpulimit
echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a

Also tried things from:
Link
Link1

Don't have idea what to try.
maybe someone had similar issue?
# 2  
Code:
echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a

This advice, wherever you got it, is especially harmful. Cache is a good thing! You want to have cache around.

Whatever your application is doing, is bound to be related to what your application is; what is it?
# 3  
Quote:
Originally Posted by Corona688
Code:
echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a

This advice, wherever you got it, is especially harmful. Cache is a good thing! You want to have cache around.

Whatever your application is doing, is bound to be related to what your application is; what is it?

program is like lottery, quiz with numbers, and problem within app the same not seems to be. No update was in that period when slowing start.
Must be somewhere in linux. Don't have a clue where to start. Can I maybe somehow force app to use more gpu, not cpu, or something ike that...Not have much ideas.
# 4  
It could be a threading problem. You could try limiting the program to a single CPU.
Code:
taskset --cpu-list 1 cpulimit -l 20 wine MyProgram.exe

# 5  
Hi tomislav9...

I think Corona688 is asking for the app name that you are using under Wine.

(As English is not your native language...)

What is the application that you are using?
What is the Wine version that you are using?
# 6  
Quote:
Originally Posted by wisecracker
Hi tomislav9...

I think Corona688 is asking for the app name that you are using under Wine.

(As English is not your native language...)

What is the application that you are using?
What is the Wine version that you are using?
app is our interly.

--- Post updated at 04:45 PM ---

Quote:
Originally Posted by Corona688
It could be a threading problem. You could try limiting the program to a single CPU.
Code:
taskset --cpu-list 1 cpulimit -l 20 wine MyProgram.exe

I will try, and let you know results, but as far as i know wine is using only one core, am i right?

I found
Quote:
Problem is that WINE uses single core processing (without hacked versions)
in Link
# 7  
WINE is nothing but a library and has nothing to do with how many cores the EXE uses. I've experienced programs that had to be run in one core under WINE because it was multithreading when it shouldn't have been.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #883
Difficulty: Easy
A computer security vulnerability is a weakness in design, implementation, operation or internal control.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Restart debian server if one specific process has more than 10 seconds have high cpu load

Hi, could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top). If yes the whole server needs to reboot. Thats it, nothing more. ;) Hope someone could help me. Regards woisch (2 Replies)
Discussion started by: woisch
2 Replies

2. AIX

Overall CPU Usage

Hi Guys, I am a newbie on the forum. This is my first post, so first of all I would like to introduce myself. I am a SAS Analyst programmer working for an Health Insurance client. SAS is installed on a 16 CPU AIX Server with partitions running with shared processor. I have couple of... (2 Replies)
Discussion started by: saurabhiim2003
2 Replies

3. UNIX for Dummies Questions & Answers

CPU usage

well i want to get the cpu usage of the current processes.the thing is that i want to list the processes with cpu usage=0 and the others(one list for cpu usage=0 and another for cpu usage>0)..i can list them,but i cant find a way to find the ps with cpu usage=0 and cpu usage>0..pls help me with... (6 Replies)
Discussion started by: strawhatluffy
6 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

6. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

7. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

8. UNIX for Advanced & Expert Users

Cpu Usage

System FreeBSD. Issue: I see that system idle = 0% in the same time top and other commands show that all process eat 0% of cpu. System calls 98% CPU states: 7.9% user, 0.0% nice, 91.8% system,<==!!! But top does not show any process which eats more than 0% Question: how can I see... (0 Replies)
Discussion started by: mirusnet
0 Replies

9. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

Featured Tech Videos