Liran Zelkha has posted comments on this change.

Change subject: core: Decrease updates to VdsDynamic
......................................................................


Patch Set 7:

(1 comment)

Omer - I agree. I'll split this patch, to solve the equals problems. We'll need 
to decide if handle the cpu_over_commit problem in a separate patch.

http://gerrit.ovirt.org/#/c/31437/7/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDynamicDAODbFacadeImpl.java
File 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDynamicDAODbFacadeImpl.java:

Line 281:         if (!dbData.equals(vdsDynamic)) {
Line 282:             
dbData.setcpu_over_commit_time_stamp(vdsDynamic.getcpu_over_commit_time_stamp());
Line 283:             if (dbData.equals(vdsDynamic)) {
Line 284:                 // Update just the cpu_over_commit in the DB
Line 285:                 updateCpuOverCommit(vdsDynamic.getId(), 
vdsDynamic.getcpu_over_commit_time_stamp());
> will batch update improve performance here?
No, since VDS updates occur one by one by VURTI
Line 286:             } else {
Line 287:                 update(vdsDynamic);
Line 288:             }
Line 289:         } else {


-- 
To view, visit http://gerrit.ovirt.org/31437
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I30711bc02adcc6ebbcac95d609da0fbc54f49cb2
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to