jobclient: initial number of jobs configurable

The new CLIENT_JOB_INITIAL configuration option allows to configure
the client to request more than one job in the first request round.
If a reasonable initial value is chosen, this removes the job ramp-up
after each fail-client restart, and slightly improves overall
throughput.

Change-Id: Idac2721264ec264c520d341fac64a8311a974708
This commit is contained in:
Horst Schirmeier
2014-01-20 21:09:39 +01:00
parent 2c31bf79b0
commit 5ffcb82138
3 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ JobClient::JobClient(const std::string& server, int port)
m_server_runid = 0; // server accepts this for virgin clients
m_job_total = 0;
m_job_runtime_total = 0;
m_job_throughput = 1; // client gets only one job at the first request
m_job_throughput = CLIENT_JOB_INITIAL; // will be corrected after measurement
m_connect_failed = false;
}