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

AWS Cloudwatch shows CPU Utilization very low each time ECS scaling

For each time ECS Fargate service scales in or out, Cloudwatch show the CPU utilization with very low percent (about 2 -> 3%) (same with Memory) on graph and then it will be increased gradually although before that time, it's quite high (polices:…
tuq
  • 1,328
  • 2
  • 11
  • 21
1
vote
1 answer

Tracking CPU usage on customer machine to detect high CPU usage process

My customer complain that our window desktop application slow down sometimes. I don't see any strange in the my application log file. So I think that the CPU may be used by another application. So, is there any way (or tool) to track high CPU usage…
Loc Phan
  • 4,304
  • 4
  • 29
  • 35
1
vote
2 answers

VAST difference in execution time for simple loop: How come?

I have noticed a VAST difference in execution time for even a simple loop on two similar but different devices, i.e. a Samsung Galaxy S4 and S7. On the S7 the test below takes ~5 msec and on the S4 ~250 msec, a 50X difference. I'm sure the S7 is…
DontPanic
  • 2,164
  • 5
  • 29
  • 56
1
vote
2 answers

Handling windows events in a tight loop?

I have written a compiler and interpreter for a scripting language. The interpreter is a DLL ('The Engine') which runs in a single thread and can load many 100s or 1000s of compiled byte-code applications and excecute them as a set of internal…
1
vote
1 answer

Get Operating system,disk space of connected computers windows

Using c# I want to get OS name, disk space, CPU usage of the connected machine to my server. I can get connected machine name by using the following code foreach (DirectoryEntry computers in root.Children) { foreach (DirectoryEntry computer in…
farrukh aziz
  • 162
  • 1
  • 2
  • 9
1
vote
1 answer

activity monitor display in Xcode

I once connected an iphone running a specific app to a Mac running Xcode 9.x and could see in the left hand pane a horizontal bar graph of CPU performance, memory usage and maybe a graph on memory leak I was never able to reproduce this display.…
Tori
  • 1,358
  • 4
  • 19
  • 38
1
vote
0 answers

Keras can't use all cores (CPU)

I have quite strange case. On new Mac (mid 2017 2,3 GHz Intel Core i5) Keras don't use all 4 cores. I run the same code on my old machine and everything is fine - CPU usage shows 300-400%. I've read this thread but nothing…
Karmanoid
  • 31
  • 1
  • 7
1
vote
1 answer

How do I figure out what's holding a lock and blocking my Java thread?

I'm using Wildfly 11 with Java 8 on Amazon Linux. We're troubleshooting a high CPU utilization issue and have the Wildfly CLI tool at our disposal. I noticed some of our Java threads have been running for quite awhile and wanted to figure out why.…
Dave
  • 15,639
  • 133
  • 442
  • 830
1
vote
1 answer

Maximum percentage of RAM process should used

In a nutshell: I'm a computational scientist and I have an expensive (CPU-time) simulation to run on a computer cluster. The most CPU-intensive part of my program is a binary tree structure which is used to accelerate my code. The tree grows as the…
solalito
  • 1,189
  • 4
  • 19
  • 34
1
vote
0 answers

Does mongoose promise error result in high CPU usage for queries?

I am posting it as a separate question as I am new here and hence I'm unable to comment. The answer I viewed here says the Mongoose promise error can be fixed by adding the following line before mongoose.connect and before declaring any schema (if…
Unais K
  • 23
  • 6
1
vote
1 answer

Maximum Concurrent C++ Compilations VS Maximum Number Of Parallel Project Builds

I noticed earlier that when my VS is building my big c++ solution, my CPU usage was less than 25%. Wondering if I can set VS to always use 100% CPU, I did some research: Found two options that can be configured for this purpose: Maximum Number Of…
Sandra K
  • 1,209
  • 1
  • 10
  • 21
1
vote
0 answers

Compute Engine Resources CPU Usage

I'm running a data processing job on Google Compute Engine and I noticed that while my process is at 100% CPU Usage, the total is more at like 12% CPU Usage. Can someone explain the difference between the number for the PID and the number for total…
1
vote
1 answer

What is the simplest method to achieve 100% CPU usage in F#?

Sometimes I write code that I expect to be able to fully saturate the CPU. For example, to calculate the Mandelbrot set, you might use something like this: type MandelbrotPoint = |Escaped of int |NotEscaped let…
Chechy Levas
  • 2,206
  • 1
  • 13
  • 28
1
vote
1 answer

Top command Android 8

I am trying to read (and understand) the CPU usage provided by the top command in my Samsung Galaxy S7. From another post here I can see the explanation of the top command with the output that this person is getting. However, when I go inside my…
codeKiller
  • 5,493
  • 17
  • 60
  • 115
1
vote
2 answers

Strict control over the statement_timeout variable in PostgreSQL

Does anybody know how to limit a users ability to set variables? Specifically statement_timeout? Regardless of if I alter the user to have this variable set to a minute, or if I have it set to a minute in the postgresql.conf file, a user can always…
Abstrct
  • 793
  • 1
  • 6
  • 9