CPU

The chip in a computer that runs program instructions; a machine can have several.

In more detail

CPU stands for central processing unit. Modern CPUs have several cores that work in parallel, and the operating system shares processor time between running programs. A program that performs more steps needs more CPU time, which is why algorithmic cost matters.

Examples

redpanda start --smp 1 limits a broker to one core.
A host CPU graph can explain a problem, but CPU is rarely an SLI because users do not ask for a percentage of CPU.
In the browser: CPU stands for central processing unit. Containers share the host processors, and a CPU limit decides how much of that time each one gets. Processors also come in architectures, such as 64-bit Arm or 64-bit Intel, and an image must be built for the architecture it runs on.
A class file runs on any CPU that has a JVM; native code runs on only one kind.
Middleware matchers skip static files so the CPU is not spent running middleware for every image.
A single line of Python stands for many simple processor instructions.
Heavy renders keep the CPU busy on the main thread, so the page cannot respond to input until they finish.

Related terms

Taught in

References

Certification courses