On 9/18/07, Bill Kelly <billk / cts.com> wrote: > Indeed. I don't have a dual-core Windows system at the moment, > but as I recall, the Task Manager provided an extra menu item > for changing the "affinity" of a given process, if you wanted > to force it to run only on a specific core. > > Anyway, despite what the graph looks like, one can expect a > non-io-bound loop in Ruby to use 100% of whatever core it's > running on *at the moment*. If you have two cores and your > graph shows more than 50% usage, the portion that's greater > than 50% would be other processes being scheduled in addition > to ruby. (Including the process drawing the graphs.) Exactly. I have used Process Explorer for setting affinity, but now I see it's in the Task Manager too.