From: Roger Pack Date: 2010-04-28T04:15:04+09:00 Subject: Re: Networking: select() blocks for seconds (> timeout) > I also suspect GC is your issue here. You could try to reduce the > latency cost of GC by forcing GC to happen every time thru the main > loop.... This will reduce the tme it takes for any individual GC cycle > by increasing the total amount of time spent in GC. You might also try > reducing the amount of garbage (and for that matter non-garbage) > objects which your program creates. If you're looking to reduce jitter, you could use jruby which has a tunable GC. http://wiki.github.com/rdp/ruby_tutorials_core/gc GL. -rp -- Posted via http://www.ruby-forum.com/.