From: Zoltan Menyhart <Zoltan.Menyhart@bull.net>
To: linux-ia64@vger.kernel.org
Subject: Re: Using Cpusets with HyperThreads
Date: Tue, 27 Sep 2005 13:46:40 +0000 [thread overview]
Message-ID: <43394D40.5070602@bull.net> (raw)
In-Reply-To: <20050923000016.2cc416ac.pj@sgi.com>
> do we need to accommodate a more generic specification? e.g how about
> a system with K sockets per node, L cores per socket and M threads per
> core? And if that's not complicated enough, how about a really large
> system where K, L and/or M are not necessarily constant?
I think it is a good idea to be able to handle the general case.
The appropriate shift and mask values could be dynamically established
at the boot time.
This could allow us to maintain a single kernel for machines with
different (generations of) processors.
Obviously, having more choice than just between the A and B sides,
we need some more rich set of options for the CPUsets, like:
- I need N out of M cores of the sockets x...y
+ I want to prevent the other applications from using the rest of
the cores
- I need the max. number of CPUs which are not farer from each
other than X
+ Use as many cores, as the HW can provide with Y memory bandwidth
for each
I think we should add the "locality information" into
/sys/devices/system/node/node<x>
like:
/sys/devices/system/node/node<x>/socket<y>/core<z>/cpu<n>
For compatibility reason we can keep the entries like:
/sys/devices/system/node/node<x>/cpu<n>
Thanks,
Zoltan Menyhart
next prev parent reply other threads:[~2005-09-27 13:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 7:00 Using Cpusets with HyperThreads Paul Jackson
2005-09-23 7:10 ` Keith Owens
2005-09-23 11:10 ` Mark Goodwin
2005-09-23 11:18 ` Paul Jackson
2005-09-23 17:26 ` Luck, Tony
2005-09-23 17:38 ` Paul Jackson
2005-09-27 13:46 ` Zoltan Menyhart [this message]
2005-09-27 16:37 ` 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=43394D40.5070602@bull.net \
--to=zoltan.menyhart@bull.net \
--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 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.