Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 18:05:09 +0200
From:      rudo tomori <rudotx@gmail.com>
To:        soc-status@freebsd.org
Subject:   cpu limits status report
Message-ID:  <CALamsEtUQ6opQWw15iq_c9n-WfYCXtK3%2BPY%2BdxJvQ%2BG9sH_6QQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
the goal of my gsoc project is to enable the system administrators to
configure %CPU limits using the rctl command. So that they can for
example limit a particular user to 50% cpu time.

Last week I implemented a new way to calculate %cpu usage for
short-lived processes or early stages of longer processes. Basicly, I
divide process cpu time by the process wall clock time.

This week I am working on a mechanism that decays %cpu usage of
terminated processes. This is slightly different than my previous
approach, where I simply removed the %cpu from the respective racct
containers when the process terminated.

rudo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALamsEtUQ6opQWw15iq_c9n-WfYCXtK3%2BPY%2BdxJvQ%2BG9sH_6QQ>