Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 16:21:13 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Steve Wills <swills@FreeBSD.org>, freebsd-jail@freebsd.org
Subject:   Re: set jail cpu-list in jail.conf
Message-ID:  <59F09DD9.4080209@quip.cz>
In-Reply-To: <a824404b-6312-18d9-03c3-5ae0b37082f9@FreeBSD.org>
References:  <a824404b-6312-18d9-03c3-5ae0b37082f9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Wills wrote on 2017/10/25 15:58:
> Hi,
>
> I created a patch which adds support for setting the cpu-list of a jails
> cpuset in jail.conf, here:
>
> https://reviews.freebsd.org/D12789
>
> If anyone finds this useful or has comments, please let me know.

It looks much better than my workaround:

alpha {
         host.hostname = "alpha.example.com";
         ip4.addr      = 10.10.10.2;
         exec.poststart += "cpuset -c -l 1,2,5 -j `jls -j alpha jid`";
}

Thank you!

Missing update of man pages for jail(8).

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59F09DD9.4080209>