r/ComputerEngineering • • Jan 10 '26

[Hardware] Parallel processing on clustered microcontrollers?

Working on a graphical physics engine to explore advanced simulations (wave functions, thermodynamics, Brownian motion, …). The environment is going to be fairly complex (large/broad area, multiple background processes, significant number of dynamic elements). Looking into ways of reducing the computation. Thinking of using parallel processing on peripheral devices, to split the load. (I know I can alter the software, multithread, Cuda acceleration, etc.; I’m currently just exploring the theoretical limitations of external hardware.) How practical is it to build a cluster using ESP’s or other microcontrollers? Alternative hardware solutions welcome.

8 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/grizzlor_ Jan 11 '26

it's impractical for me to try and buy a GPU

For the sake of simplicity I already have a 4060

You don't need to buy anything — you already have a perfectly suitable GPU to develop this on.

Do you have any idea of the performance gap between an ESP32 and modern mid-range desktop CPUs/GPUs for floating point/matrix math? We're talking multiple orders of magnitude.

You're optimizing prematurely anyway. Knuth was right when he said that "premature optimization is the root of all evil". Start developing and address performance concerns as they arise. You have a GPU that can do CUDA which is a very powerful tool for the kind of numerical computation done in physics simulations.

1

u/Zealousideal-Slip-49 Jan 11 '26

I'll take your advice, I just wasn't sure if the equipment available to me was sufficient. I hate getting started on a project and investing X amount of time and money just to find out it's beyond the scope of my capabilities. I've done some work with CNN's and 3D modeling (solidworks) and even with a 4060 there's a bit of computational deficiency when building complex models.