- From: Michael Schueler <
- Subject: [chef] debugging slow knife?
- Date: Tue, 3 May 2011 09:54:09 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=UD8VlwJKZV2DYtsfn91oxGRix7O0fLnTIyb10ZVOt54Q31TFodPjypgum9XSq7YYyI qyehSbAuXaHhGYLg6E+Q2k3ErB52G+PQvXkf0uMRT2mvO6eMjNFIcPBSsFzN9AHzXh46 Jw0I9Vz6P7VkLR3GPeJhK+17vmJgBWsTLugy0=
I'm using the opscode platform. Before 0.10 the knife command was unbearably slow. It's definately at least twice as fast, but it's still kind of sluggish. Even issuing the help command to knife takes 2 seconds.
Some simple stuff:
Off my MacBook Pro..
% time knife node show e02
knife node show e02 3.17s user 0.23s system 74% cpu 4.544 total
% time knife help
knife help 2.12s user 0.17s system 99% cpu 2.296 total
% ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
My results are similar from an ec2 c1.xlarge...
# time knife ec2 --help
# ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
Is this expected? It might not seem like much but it's enough to really slow me down and annoy me..
- [chef] debugging slow knife?, Michael Schueler, 05/03/2011
Archive powered by MHonArc 2.6.16.