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:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user