All machines running on 64-bit CentOS release 5.5 (Final) VMs
5 active build agents - one agent running on the server
All machines running 64-bit JDK 184.108.40.206
Builds are either maven or shell script-based.
Problem: There is a huge difference in build time between running a build on the agent that runs on server vs the one that runs on separate VMs. Builds that run on an external agent take at least twice as long and in some cases 3-4 times as long to run builds that run on the agent that is on the server.
On the server:
TEAMCITY_SERVER_MEM_OPTS="-Xms1536m -Xmx1536m -XX:MaxPermSize=512m"
On each of the external agents:
We recently added 2 vCPUs to each build machine in the hope that this will shorten build times but it only shortened the build time of the builds running on the server's agent.
Do you have any suggestions of how to reduce build time on the external build agents?