Linux-rt-users archive on lore.kernel.org
 help / color / Atom feed
From: Elana Copperman <Elana.Copperman@mobileye.com>
To: linux-rt-users <linux-rt-users@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: "Vladimir Kondratiev (Mobileye)" 
	<63dc4b5d-c467-4bfb-bce5-74485907c850@intel.mail.onmicrosoft.com>
Subject: Re: cgroups CPU time management + PREEMPT_RT
Date: Tue, 12 May 2020 13:30:27 +0000
Message-ID: <AM0PR09MB3794A1DA3C38B31A4A16E9DD99BE0@AM0PR09MB3794.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <AM0PR09MB3794F5E857CB761859BBEF0B99BE0@AM0PR09MB3794.eurprd09.prod.outlook.com>

Hi, can you help to clarify if there is any implementation support or evidence on configuring cgroups CPU time allocations for RT tasks in conjunction with the PREEMPT_RT patch?

Or are the two requirements contradictory in essence and not jointly feasible?

Thanks

Elana and Vladimir




From: Elana Copperman

Sent: Thursday, May 7, 2020 10:08 PM

To: linux-rt-users <linux-rt-users@vger.kernel.org>; Vladimir Kondratiev (Mobileye) <63dc4b5d-c467-4bfb-bce5-74485907c850@intel.mail.onmicrosoft.com>

Subject: RE: cgroups CPU time management + PREEMPT_RT

 


Hi,

We are new to the mailing list, and new to PREEMPT_RT.

We are working on a project with a safety requirement to configure cgroups for resource management, as well as functional requirement for deployment of PREEMPT_RT patch.

cgroups in general can be used in this context, in particular for managing resources such as memory; and even for managing CPU time for non-RT tasks. 


However, we do see a potential problem with RT tasks, and how the CPU controller would work with the RT scheduling.

There is some obvious concern here, and this seems to be backed by what I find online regarding this question.



Can you help us to clarify what is the current state of implementation, and if there is any support for cgroup CPU controller configuration to work effectively with PREEMPT_RT for RT tasks? 


Thanks 

Elana






  parent reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AM0PR09MB3794D873EEAE20CD9201D14299A50@AM0PR09MB3794.eurprd09.prod.outlook.com>
2020-05-07 19:08 ` Elana Copperman
     [not found]   ` <AM0PR09MB3794F5E857CB761859BBEF0B99BE0@AM0PR09MB3794.eurprd09.prod.outlook.com>
2020-05-12 13:30     ` Elana Copperman [this message]
2020-05-12 13:36       ` Steven Rostedt
2020-05-12 13:41         ` Elana Copperman
2020-05-26 14:33           ` Sebastian Andrzej Siewior
     [not found]             ` <AM0PR09MB37947DEF27E4D91EE8B0BD1A99B00@AM0PR09MB3794.eurprd09.prod.outlook.com>
2020-05-26 15:01               ` Elana Copperman

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=AM0PR09MB3794A1DA3C38B31A4A16E9DD99BE0@AM0PR09MB3794.eurprd09.prod.outlook.com \
    --to=elana.copperman@mobileye.com \
    --cc=63dc4b5d-c467-4bfb-bce5-74485907c850@intel.mail.onmicrosoft.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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

Linux-rt-users archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rt-users/0 linux-rt-users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rt-users linux-rt-users/ https://lore.kernel.org/linux-rt-users \
		linux-rt-users@vger.kernel.org
	public-inbox-index linux-rt-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rt-users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git