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
# 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 #772
Difficulty: Medium
An arcade system board is a dedicated computer system created for the purpose of running video arcade games.
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. HP-UX

CPU Usage

Hi Experts, We encountered problem in one of the production system where some processes were taking higher CPU and after some time it came back to normal.. From system prespective, is there any way to check why processes took more cpu during that particular period. (16 Replies)
Discussion started by: sai_2507
16 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. UNIX for Dummies Questions & Answers

cpu usage

when i got the cpu usage values of the all process running in my sytem i see that 140% of the cpu is used. (using ps aux command) i have a 4 cpu system. can we say that averagely 35% of each cpu is used? and if i want to speak more precisely, how can i find out that, which cpu is used at... (4 Replies)
Discussion started by: gfhgfnhhn
4 Replies

9. 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

10. UNIX for Dummies Questions & Answers

CPU usage

What would I use to see the CPU usage of my process in Unix? (2 Replies)
Discussion started by: Karen
2 Replies

Featured Tech Videos