Nir Soffer has posted comments on this change. Change subject: lib: daemon: cpu affinity support using taskset ......................................................................
Patch Set 3: (1 comment) https://gerrit.ovirt.org/#/c/45738/3/lib/vdsm/cmdutils.py File lib/vdsm/cmdutils.py: Line 73: command = [constants.EXT_TASKSET, cpumask] Line 74: else: Line 75: command = [constants.EXT_TASKSET, '-p', cpumask, '%s' % pid] Line 76: command.extend(cmd) Line 77: return command > Too complicated, does too much stuff that we don't want to do here. We should use --cpu-list for better readability. And when implementing taskset.set(), we should use --all-tasks to ensure that al threads are modified, or add it as option. Line 78: Line 79: Line 80: CPU_MIN = 0 Line 81: CPU_MAX = 63 # TODO: lift this constraint -- 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: 3 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
