On Fri, Apr 26, 2013 at 9:41 AM, Aswini Rajasekaran
<aswini.rajaseka...@gmail.com> wrote:
> Hi Les,
> I don't run my master as slave right now and use 3 executors on master. But
> at times, it is heavily loaded and the CPU usage of the master goes to 250%
> or so.
> If I run the master as slave, will this overloading reduce on master?

First, the CPU use is probably not from jenkins itself but from
whatever programs the build jobs invoke, so it won't make much
difference whether they are run by a master or slave instance.
Second, a value of 250% for CPU doesn't make sense unless it is scaled
to 100% per CPU - in which case it may or may not be a problem
depending on how many CPUs you have.   If you are concerned about
wall-clock time to complete a job, you need to look at the competition
for CPU/RAM/disk across the concurrent jobs to choose the optimal
number of executors - and disk contention would be a more common
bottleneck than CPU.  If you are running CPU or network intensive
tests and want to emulate a production environment, then you would
want to match the concurrency you expect there, or run a single
instance for consistent timing values.

--
   Les Mikesell
       lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to