- From: Joshua Timberman <
>
- To:
- Subject: [chef] Re: chef 10.12 slower?
- Date: Tue, 7 Aug 2012 11:04:26 -0600
Ohai!
On Aug 6, 2012, at 3:05 PM, John Alberts
<
>
wrote:
>
Looks like this already filed as a bug here:
>
http://tickets.opscode.com/browse/CHEF-3295. Thanks for pointing that out
>
and I guess I should have searched JIRA first. :)
It's not a particularly intuitive thing to search for - I found that ticket
because I knew the topic precisely, and I had seen that ticket before :-).
I created a pull request that updates both Ruby and RubyGems to the latest
current versions. This also relates to CHEF-2871, which was specific about
updating to Ruby 1.9.3.
https://github.com/opscode/omnibus-software/pull/3
You may see some improvement by simply updating the RubyGems version on a
system. You can do that with this:
% sudo /opt/chef/embedded/bin/gem update --system
To illustrate that this may positively affect the performance on its own, an
isolated example (my 2 core, 8G Ubuntu 12.04 system):
% /opt/chef/embedded/bin/gem --version
1.8.12
% time chef-client --help
real 0m13.034s
user 0m11.881s
sys 0m0.408s
% sudo /opt/chef/embedded/bin/gem update --system
...RubyGems 1.8.24 installed...
% /opt/chef/embedded/bin/gem --version
1.8.24
% time chef-client --help
real 0m2.286s
user 0m1.912s
sys 0m0.296s
Archive powered by MHonArc 2.6.16.