Questions tagged [central-processing-unit]

The central processing unit (CPU) is the portion of a computer system that carries out the instructions of a computer program, to perform the basic arithmetical, logical, and input/output operations of the system. The CPU plays a role somewhat analogous to the brain in the computer.

The central processing unit (CPU) is the portion of a computer system that carries out the instructions of a computer program, to perform the basic arithmetical, logical, and input/output operations of the system. The CPU plays a role somewhat analogous to the brain in the computer. The term has been in use in the computer industry at least since the early 1960s. The form, design and implementation of CPUs have changed dramatically since the earliest examples, but their fundamental operation remains much the same.

On large machines, CPUs require one or more printed circuit boards. On personal computers and small workstations, the CPU is housed in a single silicon chip called a microprocessor. Since the 1970s the microprocessor class of CPUs has almost completely overtaken all other CPU implementations. Modern CPUs are large scale integrated circuits in packages typically less than four centimeters square, with hundreds of connecting pins.

Two typical components of a CPU are the arithmetic logic unit (ALU), which performs arithmetic and logical operations, and the control unit (CU), which extracts instructions from memory and decodes and executes them, calling on the ALU when necessary.

839 questions
12
votes
7 answers

High CPU load but top processes in top all around 0%

We have a server with unusual high load and cpu util, but we can't figure out why. When we run top all the procs seem to be very low cpu. http://cl.ly/2d1g0K3q261r0R0K3e35 Is there a better way to look for what is causing this?
Ben
  • 555
  • 2
  • 5
  • 7
11
votes
1 answer

difference between taskset and cpuset

I'm trying to reduce the latency of my linux network application. I've learned that there are two tools for "binding" a program to particular CPU core: taskset and cpuset. Which one should I prefer? Are they equivalent on a lower level? (the…
11
votes
2 answers

ESXi and Windows Server CPU parking

For those that don't know, CPU parking is a feature in recent Windows Server releases that allows Windows to pretty much drop a CPU core to zero use, and having nothing use it. It's been introduced as a power-saving measure. There's more detail…
Chris J
  • 1,218
  • 18
  • 32
11
votes
5 answers

Confused by CPU values in Unix 'top' command

In the screenshot below, the overall CPU is being reported as 3% but the mysqld process is reported as using 57%. Is this 57% of the overall 3% and thus mysqld is only using about 1.5% of the CPU? top screenshot…
Teflon Ted
  • 510
  • 2
  • 7
  • 18
10
votes
3 answers

Linux: Why does the CPU frequency fluctuate when using the performance governor?

I'm using a Debian 8 amd64 machine for benchmarking. During experimentation, I would like the CPU to operate at a fixed frequency (preferably the maximum possible). This will rule out the CPU clock speed as a source of variation in the…
10
votes
4 answers

How can I troubleshoot high Kernel time?

I have unusually high Kernel time on my CPUs as shown in task manager. What are some ways I can troubleshoot this?
10
votes
2 answers

Is it possible to limit a Linux process so that it can only run on a particular core on a particular machine?

Let's say I have a quad-core box and four identical processes, each with ten threads. Is it possible, in Linux, to say that Process A is only allowed to run on CPU 0, Process B is only allowed to run on CPU 1, etc?
mike
  • 3,963
  • 11
  • 30
  • 27
9
votes
2 answers

Nginx + php-fpm - Each php-fpm process 70-100% cpu when running

I have a situation in which the following is taking place: We are on linode with 8-core, 8gb of ram , 2.6 ghz - using nginx + php-fpm - we are getting extremely high graphs of cpu usage (which we don't want to be such a bad VPS neighbor)... We…
amurrell
  • 591
  • 1
  • 7
  • 13
9
votes
2 answers

Amazon EC2 micro instance has 100% CPU usage

My Amazon EC2 micro instance has 100% CPU usage very often. I only have a wordpress installation on it. I'm still in production mode, so no users but I get 100% CPU usage. Does someone know how to reduce it? I get Amazon Email notifications every…
Jaba L
  • 93
  • 1
  • 3
9
votes
1 answer

KVM/Qemu, Ubuntu: Why do more guests CPUs enhance Disk-I/O rapidly?

We have an Heartbeat/DRBD/Pacemaker/KVM/Qemu/libvirt cluster consisting of two nodes. Each node runs Ubuntu 12.04 64 Bit with the following packages/versions: Kernel 3.2.0-32-generic #51-Ubuntu SMP DRBD 8.3.11 qemu-kvm…
9
votes
3 answers

Is it possible to get a list of running processes with a Cloudwatch Alarm?

We have an EC2 instance (Ubuntu) that has a few java-based applications and lately we're getting hit with high CPU utilization spikes that trigger one of our Cloudwatch alarms. By the time we get into the server to look at the cpu utilization,…
9
votes
1 answer

AMD 24 core server memory bandwidth

I need some help to determine whether the memory bandwidth I'm seeing under Linux on my server is normal or not. Here's the server spec: HP ProLiant DL165 G7 2x AMD Opteron 6164 HE 12-Core 40 GB RAM (10 x 4GB DDR1333) Debian 6.0 Using mbw on this…
ntherning
  • 265
  • 2
  • 7
9
votes
2 answers

Server CPU's: How much does L3 cache size matter when it comes to virtualization?

Performance-wise, how much does the L3 cache size on Intel Xeon i7 processors matter for virtualization functions? I'm picking out a Xeon 1366 Nehalem/Westmere CPU for a server I'm spec'ing to be a low end virtualization host for about 4-5 VM's.…
Matias Nino
  • 1,392
  • 7
  • 25
  • 40
9
votes
3 answers

Monitor system CPU / system calls in Linux

I have a couple processes that are eating up a lot of system CPU time (as determined by looking at vmstat). Is there an easy way to find out what kind of system calls are being made? I know there is strace, but is there a quicker and easier way? …
9
votes
4 answers

Virtualized CPU cores vs. threads

We've got a KVM host system on Ubuntu 9.10 with a newer Quad-core Xeon CPU with hyperthreading. As detailed on Intel's product page, the processor has 4 cores but 8 threads. /proc/cpuinfo and htop both list 8 processors, though each one states 4…
nedm
  • 5,630
  • 5
  • 32
  • 52
1 2
3
55 56