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
0 answers

Does dockerd process cpu contain the cpu used by the containers?

We have a CentOS machine running Docker with a couple of containers. When running top, I see the process dockerd which sometimes is using a lot of cpu. Does this cpu utilization contain the cpu usage inside the containers?
Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96
1
vote
0 answers

Low CPU usage for a process

I don't want to limit my process's cpu usage. Rather I want to write it in a way that it consumes less cpu. The system I'm dealing with doesn't allow making any system call. So I can't put it to sleep, I can't do any I/O. The only thing I'm left…
user3834119
  • 411
  • 9
  • 21
1
vote
3 answers

How can I track a thread's Cpu usage in Delphi

I have a program running several threads, but some threads sometimes overload the CPU. so I need to limit these threads CPU usage to %50 something, is it possible in Delphi? edit: sorry guys my question was not clear. I actually want to know how…
waffles
  • 33
  • 1
  • 4
1
vote
0 answers

Cassandra Read Timeouts on Specific Servers

We have a five node Cassandra cluster with replication factor 3. We are experiencing a lot of Read Timeouts in our application. When we checked tpstats on each Cassandra node, we see that three of the nodes have a lot of Read request drops and a…
Pranav Pal
  • 275
  • 6
  • 18
1
vote
1 answer

How can I monitor memory and CPU usage by spark application?

After running my spark application, I want to monitor its memory and cpu usage to evaluate its performance but couldn't find any option. Is it possible to monitor it? How can I monitor memory and CPU usage by spark application?
srla
  • 71
  • 6
1
vote
0 answers

Xcode 9.1 beta 2 100% CPU usage in Idle

Fortunately, MapKit and SpriteKit work well in this beta, but I'm having another problem running Xcode. I'm running MacOS Sierra on an Hackintosh with i5 7600k and even if Xcode 9 beta 2 is idle and the simulator is off, CPU usage is constant to…
Andrea Garau
  • 69
  • 2
  • 5
1
vote
1 answer

Why server CPU usage reaches to 100% with only 25 concurrent users?

I have simple html page with two input fields no css, design nothing. Page size is 134KB. In my performance testing test case I am only trying to load page with 25 concurrent users all hitting at once. I have performed test with both Jmeter and…
1
vote
1 answer

if there are one cpu core and two threads with non-blocking and non-exit, how long cpu time each thread could occupy each time?

More details of my question: the system platform is linux(mac), the thread task is non-blocking and looping. assuming there is only one cpu core, how long cpu time does a thread could occupy each time when there are two threads. how does cpu time…
Panda
  • 101
  • 1
  • 10
1
vote
1 answer

Is CPU idle during an infinite loop?

Below is a paragraph from the book Java Performance: The definitive guide. You write a simple script containing an infinite loop. When that script is executed, it will consume 100% of a CPU. The following batch job will do just that in…
Lawan subba
  • 610
  • 3
  • 7
  • 19
1
vote
1 answer

Linux - Need to limit a 16 core system to 4 to test performance running multiple programs

I have a couple of programs that will be put on a system with limited core's. I want to test performance of these programs on my current system that is a lot more powerful than the one it will be on. Is the only way to fully limit the proper…
1
vote
0 answers

Visual Studio constantly "Loading" / "Updating" something, causing high CPU utilization

I have been running into this issue often, where Visual Studio seems to get stuck "Loading" and "Updating" SOMETHING constantly, causing VS to run at 50% CPU utilization indefinitely. All I do is simply load the dotnet core solution. The…
KickinMhl
  • 1,218
  • 3
  • 14
  • 32
1
vote
1 answer

Call to String.Concat causing high-cpu not showing in CPU Usage tab

My sample app looks as follows. class Program { static List memList = new List(); static void Main(string[] args) { Console.WriteLine("Press any key to start"); …
jim crown
  • 473
  • 3
  • 11
1
vote
0 answers

JBoss app 100% CPU usage (VisualVM profiling)

I've been struggling with the problem of high load for several months now. The server literally stops working. It is necessary periodically to reboot it so that users can continue to work. Please tell me how to find the problem. CPU high load Thread…
Vladimir
  • 157
  • 2
  • 16
1
vote
1 answer

How can I check which PHP file is locking the CPU on Linux?

I've tried with htop and strace, but I can't recognize which files the instruction came from. The only thing that htop shows me is php-cgi -c /var/etc/php.ini.
Delayer
  • 409
  • 1
  • 5
  • 17
1
vote
0 answers

ffmpeg: how to reduce CPU and bandwidth usage when grabbing still frames from live video stream?

I am using ffmpeg to grab still images from live camera feeds (rtsp://192.168.1.88:554/11). The input feeds are 1920x1080 h.264 video. We may need to grab frames from as many as 10-15 cameras simultaneously. All cameras are on the local network…
Ryan Griggs
  • 2,457
  • 2
  • 35
  • 58