On Wed, Mar 20, 2013 at 9:41 AM, Ben Noordhuis <[email protected]> wrote:

> You don't.  If the machine has 12 HT CPUs, you should test with (12 /
> 2) == 6 processes.
>

That doesn't explain the results I got:

I tested with two workers, using taskset -p 1 on the master, 4 on worker 1,
and 16 on worker 2. Wouldn't that pin to separate CPUs?

That was consistently slower than 1 worker with no CPU pinning.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to