From: Aryk Grosz Date: 2008-10-26T13:59:34+09:00 Subject: Mac OS X Leopard - Ruby is 3X faster with disable-pthreads I have a fast mac pro computer. I ran simple benchmark, and my computer took 13 seconds when equal/slower macs around my office were only taking 2.5 seconds to complete the exact same task. I also noticed that my ruby was generally less zippier. So I configure ruby to run WITHOUT pthread support, and now its at the same speed as the other computers. I dont really know how this could potentially screw things up, but Im definitely liking the speed increase. The compiler told me the following: ** ** PTHREAD SUPPORT MODE ERROR: ** ** Ruby is not compiled with --enable-pthread, but your Tcl/Tk ** library seems to be compiled with pthread support. This ** combination may cause frequent hang or segmentation fault ** errors when Ruby/Tk is working. We recommend that you NEVER ** create the library with such a combination of pthread support. ** ** Please recompile Ruby with the "--enable-pthread" configure option ** or recompile Tcl/Tk with the "--disable-threads" configure option. ** What Im curious about is, why the big speed difference? Its a night and day difference in performance. Is there any kind of other performance issues that I have to watch out for now, like more frequent crashing or something? -- Posted via http://www.ruby-forum.com/.