RE: Re: Re: Berks upload seems very slow

For comparison, on my system, uploading only the yum cookbook takes about 45 seconds.

time berks upload yum --force

Uploaded yum (3.4.1) to: ‘https://’

real 0m45.474s

user 0m1.845s

sys 0m0.235s

All of that is with a Chef 11 server.

Kevin Keane

The NetTech

760-721-8339

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html

-----Original message-----
From: Jeff MacDonald mr.jeffmacdonald@gmail.com
Sent: Friday 12th December 2014 5:05
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Berks upload seems very slow

Good call but my .kitchen folder is 1 meg, so I don’t think that is it. All of terida-base is 1.5 megs.

On Thu Dec 11 2014 at 2:45:32 PM Peter Burkholder <pburkholder@getchef.com mailto:pburkholder@getchef.com > wrote:
Make sure you don’t have any ‘huge’ files that are being uploaded. You may need a ‘chefignore’ file to ignore .kitchen/ if you’re doing KitchenCI. E.g. set ‘terrida-base/chefignore’ to include a line with ‘.kitchen’.

–Peter

On Thu, Dec 11, 2014 at 1:07 PM, Jeff MacDonald <mr.jeffmacdonald@gmail.com mailto:mr.jeffmacdonald@gmail.com > wrote:
Hi,

I’m uploading from a MacBook with 16 gigs of ram, to a VM running chef server with 4 gigs of ram. 30mbit/s upload speed.

To do a berks upload of about 6 cookbooks takes over 3 minutes. Seems kind of slow to me, but I don’t understand all of its inner workings.

Just looking for some feedback to understand this or make it better…

time berks upload --force
Uploaded apt (2.6.0) to: 'https://chef:443/organizations/terida
Uploaded build-essential (2.1.3) to: 'https://chef:443/organizations/terida
Uploaded mongodb (0.16.2) to: 'https://chef:443/organizations/terida
Uploaded python (1.4.6) to: 'https://chef:443/organizations/terida
Uploaded runit (1.5.10) to: 'https://chef:443/organizations/terida
Uploaded terida-base (0.1.0) to: 'https://chef:443/organizations/terida
Uploaded yum (3.5.1) to: 'https://chef:443/organizations/terida
Uploaded yum-epel (0.5.3) to: 'https://chef:443/organizations/terida
real 2m58.414s
user 0m7.241s
sys 0m1.433s