Tag Archives : CPU

About CPU: The logical and physical cores

About CPU: The logical and physical cores

This post will demonstrate a detailed method of enumerating processors in a running linux server. Before delving into the topic, some terms should be defined: Physical Package: The physical package is a microprocessor. For each physical package, it plugs into a physical socket on a mainboard, and may [...]
Use cpulimit to limit CPU time for process

Use cpulimit to limit CPU time for process

How we can limit the CPU usage of a sepcified process with the CPUlimit utility? Cpulimit is a simple program that attempts to limit the CPU usage of a process. It’s expressed in percentage, not in cpu time. This is useful to control batch jobs, when you don’t want them to eat too much CPU [...]
How to bind a certain process to specified core?

How to bind a certain process to specified core?

Taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. Under latest version of Debian / Ubuntu / Redhat Linux taskset is installed by default with util-linux package.
© 2006-2010 Admon Home. All rights reserved.
Powered by Linode Japan