From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo@debian.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [conntrack-tools PATCH v2] conntrackd: make the daemon run in RT mode by default
Date: Mon, 12 Jun 2017 11:24:36 +0200 [thread overview]
Message-ID: <20170612092436.GA5500@salvia> (raw)
In-Reply-To: <149725643738.6842.5325404856389402790.stgit@nfdev2.cica.es>
On Mon, Jun 12, 2017 at 10:34:35AM +0200, Arturo Borrero Gonzalez wrote:
> In order to prevent netlink buffer overrun, conntrackd is recommended to run
> at max priority.
> Make conntrackd to use a RT (SHED_RR) scheduler by default at max priority.
> This is common among other HA daemons. For example corosync uses SCHED_RR
> by default.
> The scheduler configuration option is kept in order to allow admins to perform
> fine-tuning, but it is deleted from example configuration files.
>
> Note that this default sched priority is so high that it makes the nice value
> useless, so deprecate the nice configuration. Anyway the nice value can be set
> externally at runtime using nice/renice.
>
> The code is moved to the init() routine. In case of error setting the
> scheduler, the system default will be used. Report a message to the user
> and continue working.
Applied, thanks Arturo.
prev parent reply other threads:[~2017-06-12 9:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 8:34 [conntrack-tools PATCH v2] conntrackd: make the daemon run in RT mode by default Arturo Borrero Gonzalez
2017-06-12 9:24 ` Pablo Neira Ayuso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170612092436.GA5500@salvia \
--to=pablo@netfilter.org \
--cc=arturo@debian.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).