4.3.5.2. CPU resources
On every Linux system, many programs want to use the CPU(s) at
the same time, even if you are the only user on the system. Every
program needs a certain amount of cycles on the CPU to run. There
may be times when there are not enough cycles because the CPU is
too busy. The uptime command is wildly
inaccurate (it only displays averages, you have to know what is
normal), but far from being useless. There are some actions you can
undertake if you think your CPU is to blame for the
unresponsiveness of your system:
-
Run heavy programs when the load is low. This may be the case on
your system during the night. See next section for scheduling.
-
Prevent the system from doing unnecessary work: stop daemons and
programs that you don't use, use locate
instead of a heavy find, ...
-
Run big jobs with a low priority
If none of these solutions are an option in your particular
situation, you may want to upgrade your CPU. On a UNIX machine this
is a job for the system admin.