Re: [9fans] rebalance() funny

2014-11-30 Thread erik quanstrom
On Sun Nov 30 20:27:15 PST 2014, j...@cowsay.org wrote: > That definitely seems incorrect to me. Since rebalance is only called > on mach0, as it loops through the global run queue, it will skip > processes that are not on mach0, so I think you are correct. (This was > fixed on the mqs version of t

Re: [9fans] rebalance() funny

2014-11-30 Thread Jessica Yu
That definitely seems incorrect to me. Since rebalance is only called on mach0, as it loops through the global run queue, it will skip processes that are not on mach0, so I think you are correct. (This was fixed on the mqs version of the nix scheduler; every mach calls rebalance to take care of the

[9fans] rebalance() funny

2014-11-30 Thread erik quanstrom
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 wron