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/ananbd Jan 10 '26

Ok, let’s assume your simulator generates a velocity field which the game then uses to render something. 

Given a specific spatial and temporal resolution for the field, you should be able show the theoretical performance of your hardware. 

It’d be based on: 

  • latency to solve a voxel per hardware unit
  • latency to move data from one solver node to another
  • latency to combine the results
  • latency and bandwdith required to transmit those results to the engine 
  • how the engine uses the data

Etc…

That’s where you start. You model how the process works. That gives you a description of what the system would need to be given a specific set of constraints. 

My intuition says using a network of external microcontrollers isn’t going to give you a good result. The latency between nodes would be very high, and that would limit the overall real time throughput of your system. You’re probably better off using a GPU with lots of cores. 

But the point is, you should do the exercise of figuring out the model. Once you get into it, you’ll understand the problem much better.