2

I would like to roughly check if the code I plan to run on a RPi stresses it in a reasonable way (CPU, RAM, disk).

I was wondering if there are some "throttled down" Debian VMs which could be used (ideally with Virtual Box) for such tests?

Notes:

  • I know that there are many parameters which need to be taken into account to closely simulate a system on another one (starting with x86 vs. ARM). I am trying to roughly estimate how the RPi is going to behave before pushing the code on it (specifically in the case I am making major changes and do not want to rollback all the time)
  • I am not looking for emulation of a RPi - at least not in the sense that I want to test cross processor code. I know that my code will run, I am not just sure if the RPi will follow.
  • this is in the context of amateur coding
  • an equivalent of this in the context of network would be to use tc to simulate the bandwidth/packet-loss/latency.
WoJ
  • 543
  • 2
  • 6
  • 15

1 Answers1

3

QEMU is 50% slower than even the oldest Raspberry Pis from 2012.

Suffice to say , if your code works fluently inside QEMU , it should perform better on a real Pi.

flakeshake
  • 6,244
  • 1
  • 16
  • 35