Berks upload seems very slow


#1

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


#2

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
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