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(a)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(a)gmail.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>