Re: Why the niceness is not always taken into account ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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) 

Attachment: pgpbZOWzzSlZI.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux