public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Lse-tech] Re: CPUSET Proposal
Date: Thu, 25 Sep 2003 05:39:44 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106446847905842@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106444308519469@msgid-missing>

> BTW: What do cpusets provide that couldn't be done with user-level
> tools on top of the existing sched_setaffinity() system call?

I don't see how you can do the migrate_cpuset_processes() from a user
level daemon.  Just because two tasks happen to be allowed on the same
CPUs doesn't mean they are in the same cpuset.  The kernel must track,
across forks, which tasks share a given cpuset.

There are also some resource management capabilities, such as tracking
and controlling how much memory a cpuset takes, and swapping (with
possible oom kill) against a cpuset that one can consider extending this
to, but only if it's in the kernel.  But I'm not ready to push this
point ... yet.

And the permission model has to remain a rather primitive "root can do
anything, anyone else can just subset their parent" if it lacks kernel
hooks to track uid/suid ownership of each cpuset.

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

  reply	other threads:[~2003-09-25  5:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 22:26 [Lse-tech] Re: CPUSET Proposal Hanna Linder
2003-09-25  5:39 ` Paul Jackson [this message]
2003-09-25  5:48 ` William Lee Irwin III
2003-09-25  6:09 ` Paul Jackson
2003-09-25  6:23 ` William Lee Irwin III
2003-09-25  6:38 ` Paul Jackson
2003-09-25  6:44 ` William Lee Irwin III
2003-09-25  6:51 ` Paul Jackson
2003-09-25  6:59 ` William Lee Irwin III
2003-09-25  7:11 ` Paul Jackson
2003-09-25 13:11 ` Hubertus Franke
2003-09-25 13:19 ` Hubertus Franke
2003-09-25 13:21 ` Hubertus Franke
2003-09-25 13:26 ` Simon Derr
2003-09-25 16:50 ` Dave Hansen
2003-09-25 18:49 ` Luck, Tony
2003-09-25 20:28 ` Yu, Fenghua
2003-09-26  7:17 ` Sylvain Jeaugey
2003-09-26  7:47 ` Sylvain Jeaugey
2003-09-26 12:57 ` Hubertus Franke
2003-09-26 13:29 ` Hubertus Franke

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=marc-linux-ia64-106446847905842@msgid-missing \
    --to=pj@sgi.com \
    --cc=linux-ia64@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