Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 13:54:23 +0200
From:      rudo tomori <rudotx@gmail.com>
To:        soc-status@freebsd.org
Subject:   cpu limits status report
Message-ID:  <CALamsEsPuUHt3inw6b-%2BtgqJYiu08O1=HZ2K3MV11-bGV8zeuA@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 was mainly working on testing. One guy provided me access
to some machines with different architectures and I successfully
tested my work on amd64/9-release, amd64/current, sparc64/9-release
and powerpc/9-release. I also committed some code - I reverted back to
the original version of the function rctl_enforce() and I added a new
function rctl_over_limit() that I use for checking if the pcpu limits
are adhered to.

This week I want to see how per-jail %cpu limits work. I assume that
the rctl infrastructure already enables me to specify and enforce
per-jail pcpu limits. So I want to see how this works in practice. I
also have some small issues in my head that I want to address this
week. This includes fixing some includes in my code and preventing
system processes from being interrupted by rctl sleep.

rudo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALamsEsPuUHt3inw6b-%2BtgqJYiu08O1=HZ2K3MV11-bGV8zeuA>