From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Why the niceness is not always taken into account ?
Date: Thu, 18 Apr 2013 11:32:33 -0400 [thread overview]
Message-ID: <4984.1366299153@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Thu, 18 Apr 2013 16:57:41 +0200." <9d781ba01d2c5d6df1653e8feba9f28d@uvsq.fr>
On Thu, 18 Apr 2013 16:57:41 +0200, Alexandre Laurent said:
> Note : the cgroups are not mounted at all.
The cgroups filesystem doesn't have to be mounted for that - the kernel
handles that internally.
> I still have a little question about it :
> Is it possible to force the grouping of specific tasks ?
> (Which could be better than just disabling the feature)
At that point, you're better off mounting the cgroups filesystem and using
something like systemd to put tasks into cgroups and control them. It's
a Really Bad Idea to try to handle that in-kernel. SCHED_AUTOGROUP relies
on the fact that many heavy-load processes are launched from xterms, so
grouping "everything in each xterm" into a separate group and then one group
for everything launched from the desktop works pretty well. and is really
bog-simple to code. Trying to do anything more complicated in-kernel will
be a mess, because nobody agrees on a policy that should be used (other than
the one used by AUTOGROUP)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130418/0271da47/attachment.bin
next prev parent reply other threads:[~2013-04-18 15:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-16 8:35 Why the niceness is not always taken into account ? Alexandre Laurent
2013-04-16 11:03 ` Kristof Provost
2013-04-16 15:38 ` Alexandre Laurent
2013-04-16 17:59 ` Kristof Provost
2013-04-18 14:57 ` Alexandre Laurent
2013-04-18 15:32 ` Valdis.Kletnieks at vt.edu [this message]
2013-04-18 15:56 ` Alexandre Laurent
2013-04-18 17:30 ` Valdis.Kletnieks at vt.edu
2013-04-19 12:20 ` Alexandre Laurent
2013-04-16 15:58 ` michi1 at michaelblizek.twilightparadox.com
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=4984.1366299153@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=kernelnewbies@lists.kernelnewbies.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).