[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761065: ITP: cputool -- Utility which manages CPU usage and system load



On 09/10/2014 06:50 PM, Simon Paillard wrote:
On Wed, Sep 10, 2014 at 12:27:21PM +0000, Nigel Kukard wrote:
Package: wnpp
Severity: wishlist
Owner: Nigel Kukard <nkukard@lbsd.net>

* Package name    : cputool
   Version         : 0.0.7
   Upstream Author : Nigel Kukard <nkukard@lbsd.net>
* URL             : https://gitlab.devlabs.linuxassist.net/cputool/cputool
https://gitlab.devlabs.linuxassist.net/cputool/cputool/blob/master/cputool.c

* License         : GPL-3+
   Programming Lang: C
   Description     : Utility which manages CPU usage and system load

CPUTool allows the limiting of cpu usage of a process or a process group to a
given limit and allows the suspensions of process execution if the system
load exceeds a defined treshold.
[..]
CPUTool is different that it allows the limiting of CPU time to process groups
in addition to single processes. It also monitors load and pauses the process
should this exceed the specified threshold.
How it is better from what provides cgroups kernel feature, configured through
sysfs or userspace tool ?

cgmanager - Central cgroup manager daemon
cgroup-tools - control and monitor control groups (tools)


I would'nt say its better, its suited to a different use case.

* It can pause a process based on load, cgroups cannot do this (something the proprietary tool cpuwatch does)

* It runs anywhere that it can access /proc/$pid of the process its operating on and has no other requirements apart from this (similar to the cpulimit tool already in Debian, except cputool operates on process groups and also supports load monitoring, it also has an optimized design allowing it to operate on thousands of processes)

-N


Reply to: