Tag Info

New answers tagged

0

Try the control groups (cgroups) facility. Introduced since Linux 2.6.24, it is a very flexible tool to assign CPU shares to processes as well as to place caps on resource (blockio, network, memory) utilization for each process. Here's documentation.


-1

Use the command "renice" to change a process priority


0

10 minutes is very much long-term as far as Linux's scheduler is concerned. Time slices are something like 10ms. When you're looking at CPU usage percentages, keep in mind that top adds up the per-thread usage of multi-threaded processes. So a 10-thread process that has each thread getting 10% active time will show up as using 100% of a CPU. Linux's ...


4

The nice value will not tell you anything about the actual cpu load, a process produces. Nice-ness is just what you would think: the way, a process behaves under certain work loads. To be more exact: if a process with a high nice-value (==lower scheduling propability) is scheduled, it WILL hold the cpu, until a process with lower nice-value and/or ...


2

A lot of processes in your system are just sitting and waiting for something to happen. This is what most server processors or daemons do (e.g. ssh, mail, X). If you are working in a word processor, it just sits and waits until you click somewhere or type something. Most of the time the process is not scheduled and uses a very low amount of CPU time. You ...



Top 50 recent answers are included