From: "mperham (Mike Perham)" Date: 2013-04-27T01:08:38+09:00 Subject: [ruby-core:54603] [ruby-trunk - Bug #8335][Open] Performance regression with many threads Issue #8335 has been reported by mperham (Mike Perham). ---------------------------------------- Bug #8335: Performance regression with many threads https://bugs.ruby-lang.org/issues/8335 Author: mperham (Mike Perham) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I've created a simple case to reproduce a performance problem with Sidekiq. A customer is using 200 worker threads to process background jobs and finding it to be quite slow. To process 50,000 jobs, it takes Ruby 1.9.3 about 200 seconds. With Ruby 2.0, the time required is almost double. Please see instructions to reproduce the problem here: https://github.com/mperham/sidekiq/tree/master/myapp#ruby-20-slowness-with-big-concurrency -- http://bugs.ruby-lang.org/