From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] rebalance() funny
Date: Sun, 30 Nov 2014 08:28:02 -0800 [thread overview]
Message-ID: <2ce055dcac1d9755d72a3c6df95e1814@lilly.quanstro.net> (raw)
rebalance(void)
{
...
if(p->mp != MACHP(m->machno))
continue;
since p->mp != nil for forked processes, and rebalance is only called
on mach0, only processes on mach0 get rebalanced, for a 8 core system,
that should be ~1/8 of them.
this is so amazingly wrong, i can't help but wonder if i've missed
something?
(by the way, the old nix code didn't rebalance anything,
unless it was on the first scheduler.)
- erik
next reply other threads:[~2014-11-30 16:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-30 16:28 erik quanstrom [this message]
2014-12-01 4:28 Jessica Yu
2014-12-01 5:54 ` erik quanstrom
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=2ce055dcac1d9755d72a3c6df95e1814@lilly.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/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).