From: Srivatsa Vaddagiri <vatsa@in.ibm.com>
To: Paul Jackson <pj@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cpu_exclusive feature of cpuset broken?
Date: Thu, 16 Mar 2006 22:31:35 +0530 [thread overview]
Message-ID: <20060316170135.GB6548@in.ibm.com> (raw)
In-Reply-To: <20060316083836.f598ff45.pj@sgi.com>
On Thu, Mar 16, 2006 at 08:38:36AM -0800, Paul Jackson wrote:
> While you created a subcpuset 'a', you changed the
> cpus and cpu_exclusive in the root cpuset. This
> changed -all- tasks to only be allowed to run on
> cpu 7.
oops sorry ..i did mean to say that i was trying to change
cpu-exclusive flag of a (and not the root cpuset).
>
> I'd guess you have some kernel thread or such that
> really, really wants to run on some other cpu.
>
> When I read you transcript, I expected it to say:
>
> # mkdir /dev/cpuset
> # mount -t cpuset cpuset /dev/cpuset # s/none/cpuset/ - clearer
> # cd /dev/cpuset
> # mkdir a
> # cd a # the missing step
Yes ..you are right. I did run 'cd a' and then ran the below commands.
> # /bin/echo 7 > cpus
> # /bin/echo 1 > cpu_exclusive
> When I do your commands (without the 'cd a'), I don't
> see any problem or hang on my Altix test box. But that
> probably just means I am not critically depending at that
> moment on some kernel thread running on any particular cpu.
Did you try with the 'cd a' (in other words turn on exclusive
property of cpuset 'a')?
--
Regards,
vatsa
next prev parent reply other threads:[~2006-03-16 17:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-16 15:28 cpu_exclusive feature of cpuset broken? Srivatsa Vaddagiri
2006-03-16 16:38 ` Paul Jackson
2006-03-16 17:01 ` Srivatsa Vaddagiri [this message]
2006-03-16 17:31 ` Paul Jackson
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=20060316170135.GB6548@in.ibm.com \
--to=vatsa@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.