cpu hotplug test scenarii

Paul Larson paul.larson at linaro.org
Thu Sep 29 03:41:17 UTC 2011


On Wed, Sep 28, 2011 at 5:18 AM, Daniel Lezcano
<daniel.lezcano at linaro.org>wrote:

> Test 6: do some stress test
> ===========================
>
> for each cpu
>  * for i in 1 .. 50
>   * set cpuX offline
>   * set cpuX back online
>
Not sure how evil you want to get with this, but several years back I wrote
a simple, but nasty test that picked a cpu at random, and set the state to
the opposite of whatever it happened to be at the time.  It was completely
random, I didn't have anything builtin for record/playback, or doing it in
the same sequence for reproducibilty, but it didn't really need it.  When it
broke things, it usually broke them within just a few minutes.

Thanks,
Paul Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110928/90e73a6a/attachment.html>


More information about the linaro-dev mailing list