--0015175cd96237b218047718c72f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Thu, Oct 29, 2009 at 2:04 PM, Tony Arcieri <tony / medioh.com> wrote: > On Thu, Oct 29, 2009 at 11:48 AM, Glen Holcomb <damnbigman / gmail.com> > wrote: > > > You are going to want Ruby 1.9 for this. In 1.8 threads are "green", > > basically they only exists as threads inside the VM so you still only hit > > one core and any blocking system I/O will block all of your threads. > > > > 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. > > JRuby, on the other hand, does not have this limitation. On MRI/1.9 I > would > recommend using multiple processes. > > -- > Tony Arcieri > Medioh/Nagravision > Ah, I did not know that. -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I canÃÕ hear a word youÃÓe saying." -Greg Graffin (Bad Religion) --0015175cd96237b218047718c72f--