Change in ovirt-engine[master]: scheduler: smarter thread management in thread pool
mperina at redhat.com
mperina at redhat.com
Wed May 18 07:06:50 UTC 2016
Martin Peřina has submitted this change and it was merged.
Change subject: scheduler: smarter thread management in thread pool
......................................................................
scheduler: smarter thread management in thread pool
SimpleThreadPool create all the threads in advance and keep them
running/waiting all the time but we could be more flexible with thread
management and deallocate them once not needed.
In order to manage thread well we reimplemented quartz ThreadPool
interface and used ThreadPoolExecutor as implementation which improves
thread management significantly.
Change-Id: I6776bbfcbf3c069295fda300214bfdd02375bb3c
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
A backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerThreadPool.java
M backend/manager/modules/scheduler/src/main/resources/ovirt-db-scheduler.properties
M packaging/services/ovirt-engine/ovirt-engine.xml.in
3 files changed, 140 insertions(+), 2 deletions(-)
Approvals:
Piotr Kliczewski: Verified
Martin Peřina: Looks good to me, approved
Jenkins CI: Passed CI tests
Arik Hadas: Looks good to me, but someone else must approve
Moti Asayag: Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/48667
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6776bbfcbf3c069295fda300214bfdd02375bb3c
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list