Questions tagged [cpu-usage]

CPU usage indicate how much of a workload is being handled by the CPU.

CPU-usage or CPU time is the amount of time for which a central processing unit (CPU) was used for processing instructions of a computer program.

CPU time accounting :http://public.dhe.ibm.com/software/dw/linux390/perf/CPU_time_accounting.pdf

2881 questions
1
vote
1 answer

Microsoft Azure Linux VM always having high CPU usage 24h/day even without any users

I have a VM running on Azure with a PHP script that may invoke the VM should it be activated. I don't know if it's a technical issue to deal with my code or something else, but even after days with no requests of any services to the VM i.e. no…
eykiriku
  • 93
  • 1
  • 9
1
vote
0 answers

HTML 5 Video uses a lot of CPU (on a MacBook)

I've run into a problem with a HTML5 video. I use an HTML5 video (MP4 and WebM) to run almost full screen on my website. The video is working fine. It auto-plays the video, and repeats playing. The only thing is: it uses a lot of CPU. I've tested it…
jorritvw1
  • 29
  • 5
1
vote
2 answers

Correctly measure CPU usage with HyperThreading?

I know there are several answers here on SO on how to measure CPU usage with either of two approaches: By using the performance counters (PDH API) By using GetProcessTimes() and dividing that against either wall time or times from…
Rudolfs Bundulis
  • 11,636
  • 6
  • 33
  • 71
1
vote
1 answer

Having trouble getting CPU usage in java using a batch file

I am trying to create a CPU usage meter by executing a batch file and returning the result. Here is the method that gets the CPU usage. When the batch file is ran it returns the results in a wierd format so I sort through it looking for the only…
Zenith
  • 209
  • 3
  • 13
1
vote
1 answer

Graphing application Memory and CPU performance metrics Java Netbeans

I realize there are plenty of questions similar to this one but some of the answers are dated and I'm not sure there is something better available to Java developers now. I am not trying to find a problem with an application. I need to show…
Patricia
  • 5,019
  • 14
  • 72
  • 152
1
vote
2 answers

Does an AWK script take up a lot of CPU?

Does AWK uses a lot of processing power? If so, is there a better scripting language to do it? Or should I do it in C itself (where rest of my code is).
hari
  • 9,439
  • 27
  • 76
  • 110
1
vote
0 answers

Elasticsearch high cpu usage during load test (50 req/sec)

I have some trouble with elasticsearch. Currently: I have a machine specs as follows CPU vendor: Intel CPU model: Xeon (2001 MHz) CPU total logical cores: 24 CPU cache: 15kb VM name: Java HotSpot(TM) 64-Bit Server VM VM vendor: Oracle…
1
vote
2 answers

Does anyone know how a System.Windows.Forms.Timer affects the host application and the system in general?

Does anyone know how a System.Windows.Forms.Timer affects the host application and the system in general? A threaded background loop on one hand has a very high CPU usage %, whilst a Timer with a very high tick rate shows no effect in Windows Task…
user42250
1
vote
0 answers

Identifying the sql server thread(query) causing high CPU usage

I have MSSQLSERVER database.Since yesterday,it is causing high CPU usage around 98%-99% usage.I got Performance Monitor which can help in this.Can any one help in debugging the high usage issue using Performance Monitor. Any other way is also…
Wild Eagle
  • 41
  • 1
  • 4
1
vote
2 answers

CPU usage becomes 0 as soon as I attach the process to windbg

I was given a memory dump to analyze for High CPU usage of a service which is running on Windows 2008 R2 (Client machine). The dump was taken using task manager. I tried using the symbols which were available with us on the dump which was provided…
NJMR
  • 1,886
  • 1
  • 27
  • 46
1
vote
1 answer

Preformance of waiting on a serial port read?

I have written a small COM Redirection and cloning python script that will take the input of a physical serial port, and then output them to a two virtual serial ports (one of which is a read-only). Problem is that I been noticing that using this…
needoriginalname
  • 703
  • 3
  • 9
  • 27
1
vote
0 answers

How many CPUs Are Optimal For simultaneous Vagrant Virtual Machines?

I am trying to decide how to tune Vagrant VMs for performance. In this case, the application is web development (linux + ruby + node.js + java, etc). I usually have to run either one VM by itself, or two VMs simultaneously. In my case, it's on a…
rcd
  • 1,348
  • 1
  • 14
  • 27
1
vote
0 answers

Send CPU usage information from mininet hosts to Opendaylight Controller

I am implementing a load balancing application in OpenDaylight. So I need the Cpu utilization of hosts created using Mininet. I want the hosts to send their CPU usage info to the controller at regular intervals. What is best way achieve this…
Sanjana S
  • 11
  • 2
1
vote
1 answer

Why does this simple Python TK Gui progam take 100% CPU

I am trying to build a very simple GUI, done that before this way, never a problem. Right now, on a Mac, I can't seem to make it work. This is the code from Tkinter import * class App: def __init__(self, master): # Gui Creation Block …
Eloque
  • 311
  • 2
  • 10
1
vote
3 answers

Will increasing thread priority make my long computation run faster?

Let's say I have a GUI application that performs long computations for the user (for example, video processing). Should I increase the priority of my computation process/thread to make it run faster? What would be the harm in doing so?
Emile Cormier
  • 28,391
  • 15
  • 94
  • 122