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.

828 questions
119
votes
12 answers

How to tell if a Linux system is big endian or little endian?

I know that certain processors are Big Endian and others are Little Endian. But is there a command, bash script, python script or series of commands that can be used at the command line to determine if a system is Big Endian or Little Endian?…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121
51
votes
5 answers

On a dual CPU server, is it normal for one CPU to run hotter than the other?

I have a dual Opteron server running Linux with libvirt to host several VMs. The VMs work fine and the server processes OK, but I notice one CPU always runs about 69C (throttles at 70C) and the other runs about 15C. This doesn't seem normal to me?…
samoz
  • 1,943
  • 6
  • 18
  • 20
44
votes
10 answers

Does CPU power management affect server performance?

I was doing some simple hand benchmarking on our (live) database server during non-peak hours, and I noticed that queries returned somewhat erratic benchmark results. I had enabled the "Balanced" power saving plan on all our servers a while ago,…
Jeff Atwood
  • 12,994
  • 20
  • 74
  • 92
41
votes
1 answer

I am going to chop the FreeBSD automounter into little pieces and boil them in oil

I am trying to expose a hierarchy of home directories to a number of FreeBSD jails. The home directories are configured such that each is a unique ZFS dataset. The jails are used for development work and hence are created and destroyed on a…
larsks
  • 41,276
  • 13
  • 117
  • 170
35
votes
8 answers

Get a history of CPU/memory usage

Is there someway to record Task Managers info about CPU and memory usage to examine later? Or an equivalent tool?
samoz
  • 1,943
  • 6
  • 18
  • 20
34
votes
6 answers

How do I track CPU Utilization for Window Services?

I am using the windows task manager to track CPU utilization. I notice that my applications are listed but Windows Services are not. For instance, total CPU usage is listed at 70% but the summary of the listed applications is only about 30%. I…
John
33
votes
1 answer

Is it possible to influence the way CPUs are enumerated under Linux?

I have a HP DL380 G7 with 2 mismatched CPUs in it. One is a quad core CPU with faster cores, and one is a 6 core CPU with slower cores. On this box I run an application that due to licensing reasons will only use CPU0-CPU3. For me it would be…
paulos
  • 1,694
  • 9
  • 12
29
votes
2 answers

Disable CPU Scaling in Windows Server 2008 R2

How do you disable CPU power management scaling in Windows Server 2008 R2? After setting the Control Panel, Power Management plan to performance and then rebooting -- CPUID's Cpu-Z still shows the clock speed being scaled.
28
votes
2 answers

How are CPU time and CPU usage the same?

In the Wikipedia page for CPU time, it says The CPU time is measured in clock ticks or seconds. Often, it is useful to measure CPU time as a percentage of the CPU's capacity, which is called the CPU usage. I don't understand how a time…
Jasmine Lognnes
  • 2,490
  • 8
  • 31
  • 51
26
votes
2 answers

Monitoring/controlling Intel Turbo Boost in Linux

Is there a nice way to monitor and/or control Intel Turbo Boost technology on Nehalem processors from a Linux host? I'm looking to do this RHEL/CentOS 5.5 hosts running stock or Realtime MRG kernels. Has anyone here found a good way to leverage…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
25
votes
4 answers

"Peaky" CPU Usage on Domain Controllers

We have two Windows Server 2008 SP2 (sadly not 2008 R2) Domain Controllers in a small 150 client domain that are exhibiting very "peaky" CPU usage. The Domain Controllers both exhibit the same behavior and are hosted on vSphere 5.5.0, 1331820. Every…
22
votes
10 answers

What is the average lifespan of a CPU?

I heard that if you leave a computer on 24/7 at 100% utilization, the CPU is expected to last around 3-4 years. Is there any truth to this claim?
Udi Meiri
  • 321
  • 1
  • 2
  • 5
22
votes
5 answers

KVM: Which CPU features make VMs run better?

We are using Ubuntu 12.04 with the following parameters: Dell R910 Kernel 3.2.0-25-generic #40-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux kvm 1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu13 qemu-kvm 1.0+noroms-0ubuntu13 qemu-common…
20
votes
7 answers

How do I log CPU usage per process?

I have a box on Linode that's going through weird behavior. Every now and then CPU and disk I/O will shoot to 100% and the server becomes unresponsive and has to be booted. I'd like to investigate better what's going on, but I don't know how to find…
agentofuser
  • 547
  • 3
  • 6
  • 14
19
votes
2 answers

Why CPU spent time on IO(wa)?

I know wa (in top) measures the CPU time on waiting for I/O. Many articles say that. But I am confused that, based on 2 knowledge points: if a process uses a system call to read disk, the process is blocked. If a process is blocked, it is cannot be…
HUA Di
  • 293
  • 2
  • 5
1
2 3
55 56