Nir Soffer has posted comments on this change.

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


Patch Set 20: Verified-1

Testing show that ioprocess child processes are using same cpu affinity as 
vdsm; probably they are not started via execCmd, so they do not get their cpu 
affinity reset.

Vdsm was configured with "cpu_affinity = 1"

# ps auxf

vdsm      4608  1.7  1.6 4858236 62056 ?       S<sl 21:04   0:16 
/usr/bin/python /usr/share/vdsm/vdsm
vdsm      5164  0.0  0.0 538256  1260 ?        S<l  21:04   0:00  \_ 
/usr/libexec/ioprocess --read-pipe-fd 113 --write-pipe-fd 112 --max-threads 10 
--max-queued-requests 10
vdsm      5171  0.0  0.0 382596  1100 ?        S<l  21:04   0:00  \_ 
/usr/libexec/ioprocess --read-pipe-fd 121 --write-pipe-fd 120 --max-threads 10 
--max-queued-requests 10
...
# taskset -p 4608
pid 4608's current affinity mask: 2
# taskset -p 5164
pid 5164's current affinity mask: 2
# taskset -p 5171
pid 5171's current affinity mask: 2

We need to find how ioprocess is started and apply the taskset manipulator if 
needed.

-- 
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: 20
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: Ido Barkan <[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: Yaniv Kaul <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to