Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!goblin1!goblin3!goblin2!goblin.stu.neva.ru!feeder.erje.net!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: Kevin Bullock Newsgroups: comp.lang.ruby Subject: Re: Threading Loops Date: Sat, 7 May 2011 21:27:03 -0500 Organization: Service de news de lacave.net Lines: 19 Message-ID: <7991d3144aa9f1f08eadcf58ffae2a85@ruby-forum.com> References: <670f5be69524ccbfc188e9062e65f645@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: Quoted-printable X-Trace: talisker.lacave.net 1304821643 51345 65.111.164.187 (8 May 2011 02:27:23 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Sun, 8 May 2011 02:27:23 +0000 (UTC) In-Reply-To: <670f5be69524ccbfc188e9062e65f645@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 382810 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <7991d3144aa9f1f08eadcf58ffae2a85@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:4100 I can't imagine that even forking would help you here=E2=80=94your OS wil= l still = be performing only one I/O call at a time. Unless you've got an OS = that's doing some funny optimization like aggregating filesystem = metadata changes, you won't see any speedup. And that would be a strange = thing to optimize for. Multiprocessing generally only helps when your application is CPU bound, = not I/O bound. -- = Posted via http://www.ruby-forum.com/.=