From: Robert Klemme Date: 2009-10-30T17:06:08+09:00 Subject: Re: Using multicore CPUs in parallel tasks 2009/10/29 Tony Arcieri : > On Thu, Oct 29, 2009 at 4:05 PM, Robert Klemme > wrote: > >> On 10/29/2009 09:04 PM, Tony Arcieri wrote: >> >>> Ruby 1.9 isn't going to help you when using threads to distribute >>> computation across CPU cores.  The Global VM Lock ensures that >>> simultaneous >>> computation is still limited to one core. >> >> Are you saying that the global VM lock even extends to several processes? >>  Because Marc did not want to use threads for distribution but rather >> processes. > > No, if you look over my post again it specifically mentions the GVL applies > to threads and suggests using processes. I figured as much. The thread discussion does not help Marc, because he explicitly wanted to use processes for core utilization. Basically Glen sent us in the wrong direction though. :-) Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/