From: Robert Klemme Date: 2010-12-16T17:08:56+09:00 Subject: Re: Ruby 1.9.2 : Io performance when application use multithread On Thu, Dec 16, 2010 at 3:56 AM, zuerrong wrote: > 2010/12/15 Regis d'Aubarede : >> Eric Hodel wrote in post #968393: >>> On Dec 14, 2010, at 11:07, Eric Hodel wrote: >> >>> For the windows slowdown, perhaps better buffer sizes will help.  It's >>> possible that in threaded mode your odd-sized buffers are causing some >>> kind of starvation. >> >> Test of your version with  ruby 1.9.1 on linux : 30% better flow, >> but 10% diff between thread/no thread keep on. > > Thanks for all the valueable info. > Does ruby's threads have great improvement than multi-processes? I am not sure what you are asking here. Are you talking about current situation or the future development? > Since the threads for ruby is green-threads. This is not true any more since the advent of JRuby and 1.9. However, there are still limitations in YARV (GIL). Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/