Questions tagged [cpu-usage]

The amount of processing units of the CPU used to execute a task and how long it takes.

685 questions
2
votes
2 answers

50% Load on 2 CPU is the same that 100% Load on One CPU?

Very basic doubt: I have an application running on a VM with 2 vCPU. The average load is a bit less than 50% on both CPUs. Does that means that 1 CPU will be enough for my application? Or more CPUs benefit from threads running in…
Glasnhost
  • 591
  • 4
  • 10
  • 20
2
votes
1 answer

Root user consume huge amount of CPU

I can't understand why root user take huge CPU load, since there is no special processes running. top -c
Hasitha
  • 153
  • 7
2
votes
2 answers

Server crashing everyday around the same time. MYSQL related?

We have a dedicated server with a few applications running including a Vbulletin forum and Wordpress site. The main resource intensive application is a PHP chat application that utilizes MYSQL also. Every day at around the same time the server…
2
votes
1 answer

per processs core limit to allevate high sy/kernel cpu usage

My understanding is high kernel/sy CPU usage is a symptom of network and disk IO or issues of RAM throughput. #516139. However, I suspect in the case below, over allocating threads is giving the kernel (via scheduling) way too much to do and the…
Will
  • 161
  • 1
  • 5
2
votes
1 answer

Cannot move all processes by a user into cgroup using cgred

I am on a CentOS 7.4 server, and trying to setup CGroups. My cgconfig looks like this: # # Copyright IBM Corporation. 2007 # # Authors: Balbir Singh # This program is free software; you can redistribute it and/or…
user450390
2
votes
0 answers

Find out CPU and memory usage percent of Docker container within its running environemt

Does anyone know how to get resource consumption of a specific Docker container within its running environment? Outside of a container, we can get it easily by typing a command "docker stats". Besides, if I try to get resource consumption inside a…
2
votes
1 answer

AWS Amazon AMI EC2 get memory usage with php for shell exec

Apologies for the rookie question would really like some advice on best practice regarding my issue. I have ffmpeg installed in my box and I am running a simple script that converts a .mp3 to a .wav file using shell_exec with php. This works fine…
user1503606
  • 121
  • 2
2
votes
2 answers

Http gzip compression and performance

I've always tried to enable gzip compression on web servers because it seemed to have very low CPU cost and you obtain a significant data transfer reduction. Now I we have a public server that has not gzip enabled and sometimes it's CPU load is…
Marc Climent
  • 277
  • 7
  • 14
2
votes
1 answer

Very High CPU load Low to Medium RAM usage on VPS (mysql over 100% CPU)

I'm on a VPS Virtuozzo server with: 8GB RAM 6 CPU SSD Hard Drive Debian 8.8 PHP 5.6.30 MySQL 5.5.55 There only one website that is served. Its a wordpress with SSL enabled website with around 22000 articles. It gets medium traffic, around 8k users,…
fat_mike
  • 123
  • 8
2
votes
1 answer

isolcpus - binding not working

I am using isolcpus to isolate cores. I would like to bind specific threads to cores, but it is not working. The threads are moved to different cores after I bind them. Cores 13, 14, and 15 are isolated: $ cat /proc/cmdline ro…
Prashanth
  • 121
  • 4
2
votes
2 answers

Why is my AWS instances suddenly becoming irresponsive reporting high "stolen" CPU

The setup I have a bunch of t2.small EC2 instances running hosting the image processing library called thumbor for simple on-the-fly image resizing. Originals are loaded from S3. In front of the instances I have an EC load balancer. I have New Relic…
Niels Kristian
  • 358
  • 1
  • 3
  • 13
2
votes
3 answers

How to determine SQL causing Oracle CPU Spikes

I have a J2EE Spring/Hibernate webapp using Oracle 11g for persistence, occasionally in production the Oracle CPU spikes to 100% usage, restarting Tomcat drops the Oracle CPU. I am unable to replicate this in test, even using an export from…
BZ.
  • 295
  • 1
  • 3
  • 8
2
votes
0 answers

Is there a way to check resource utilization on a cluster running SLURM?

Not sure if this question fits better here or at Unix.SE but I figured it feels more appropriate here. I am running some computation-heavy research on a national cluster which uses SLURM for scheduling jobs. I realized that a part of my batch…
2
votes
1 answer

t2.micro instance is always below baseline CPU usage but still consumes CPU credits - why?

I have a t2.micro instance running Ubuntu Linux on ec2 in Ireland, it's running batch jobs and I've tuned them so that the max CPU is pretty low - it never exceeds 10%. The docs say that: When a T2 instance uses fewer CPU resources than its base…
A E
  • 148
  • 6
2
votes
3 answers

How can I keep a third-party cloud provider accountable for guest VM performance?

I support an ERP system for a manufacturer. We're experiencing intermittent application performance issues on our database, hosted on VMware by a third-party cloud provider. (They're a smaller provider... not Google, Microsoft, Amazon, or the like.)…
durette
  • 164
  • 9