|
From: | Tamás Fülöp |
Subject: | RE: GNU make CPU utilization in cloud environments |
Date: | Wed, 17 Feb 2016 16:50:20 +0100 |
It is just a virtual machine in the cloud, so I do not plan to create a distributed jobs, only parrallel ones on the same host. I would like to use only 1 job / 1 host architecture. You are right about the CPU capacity, but the strage thing is the following. The CPU utilization is below 1% with the running make command, but file operations (like zipping files) occupies the whole CPU, so it could not be a cloud issue. Thank you for the answer! Best regards, Tamas > Subject: Re: GNU make CPU utilization in cloud environments > From: address@hidden > To: address@hidden; address@hidden > Date: Wed, 17 Feb 2016 10:12:10 -0500 > > On Wed, 2016-02-17 at 14:51 +0100, Tamás Fülöp wrote: > > This command utilizes at least 80% of the CPU on a local machine, but > > not in the cloud environment. > > Wait, I think we were not clear what you meant by "cloud environment". > > GNU make supports _parallel_ jobs: that is, running multiple recipes at > the same time on the same host. > > GNU make does not support, at all, _distributed_ jobs: that is, running > recipes on multiple different hosts. > > If by "cloud environment" you mean a set of separate servers running in > the cloud, there is no facility for distributing build jobs across > those in GNU make, and there has never been. If you want to improve > build times you'll need to provision a single host with more CPU > capacity. > > There are add-on tools you can use if you would like distributed > builds, such as distcc: https://github.com/distcc/distcc However, as > far as I'm aware they only work on Linux not Windows. > > Maybe someone else has pointers to distributed build capabilities that > will work for you. |
[Prev in Thread] | Current Thread | [Next in Thread] |