Nir Soffer has posted comments on this change.

Change subject: scale: limit cpu usage using cpu-affinity
......................................................................


Patch Set 7:

(1 comment)

https://gerrit.ovirt.org/#/c/45738/7/lib/vdsm/taskset.py
File lib/vdsm/taskset.py:

Line 35:         return "Process failed with rc=%d out=%r err=%r" % (
Line 36:             self.rc, self.out, self.err)
Line 37: 
Line 38: 
Line 39: # TODO: check the output with multithreaded process
> should we care about the case on which different threads of a process have 
I don't think so. getting cpu affinity of whole process when any thread uses 
different affinity is pretty useless.
Line 40: def get(pid, all_tasks=True):
Line 41:     """
Line 42:     Get the affinity of a process, by its <pid>, using taskset command.
Line 43:     if all_tasks evaluates to True, get the affinity for all threads of


-- 
To view, visit https://gerrit.ovirt.org/45738
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I3f7f68d65eddb5a21afbc3809ea79cd1dee67984
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to