On 28 September 2011 11:18, Daniel Lezcano daniel.lezcano@linaro.org wrote:
Hi all,
here are some tests to test the cpu hotplug.
Any feedback would be appreciate
Thanks a lot
-- Daniel
Test 3: check the affinity does not work on an online cpu
for each cpu * set cpuX offline * check 'taskset -c X /bin/true' fails * set cpuX back online
An interesting test might be what happens to tasks that had affinity only on the CPU that just went offline?
Interaction with irqbalancing?
What about interaction with various forms of power save or suspend/resume?
(Hmm side note - how do I detect that I have ARMv7MP as opposed to plain v7 - i.e. that I can do a PLDW - if anything is doing it by detecting multiple CPUs it might get confused by hotplug sometimes only showing one - I suspect that's the wrong way).
Dave